Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pysptools.classification as cl
- ImportError: DLL load failed: %1 is not a valid Win32 application. ___________________________________________________________________________ Contents of C:UsersMy PcAnaconda2Libsite-packagessklearn__check_build: setup.py setup.pyc _check_build.pyd __init__.py __init__.pyc ___________________________________________________________________________ It seems that scikit-learn has not been built correctly. If you have installed scikit-learn from source, please do not forget to build the package before using it: run `python setup.py install` or `make` in the source directory. If you have used an installer, please check that it is suited for your Python version, your operating system and your platform.
- Traceback (most recent call last):
- File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 333, in startPlugin
- plugins[packageName] = package.classFactory(iface)
- File "C:/Users/My Pc/.qgis2/python/pluginsHyperspectralClassifier__init__.py", line 34, in classFactory
- from .hyperspectral_classifier import HyperspectralClassifier
- File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
- mod = _builtin_import(name, globals, locals, fromlist, level)
- File "C:/Users/My Pc/.qgis2/python/pluginsHyperspectralClassifierhyperspectral_classifier.py", line 34, in
- import pysptools.classification as cl
- File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
- mod = _builtin_import(name, globals, locals, fromlist, level)
- File "C:UsersMy PcAnaconda2Libsite-packagespysptoolsclassification__init__.py", line 5, in
- from .km import KMeans
- File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
- mod = _builtin_import(name, globals, locals, fromlist, level)
- File "C:UsersMy PcAnaconda2Libsite-packagespysptoolsclassificationkm.py", line 26, in
- import sklearn.cluster as cluster
- File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
- mod = _builtin_import(name, globals, locals, fromlist, level)
- File "C:UsersMy PcAnaconda2Libsite-packagessklearn__init__.py", line 56, in
- from . import __check_build
- File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
- mod = _builtin_import(name, globals, locals, fromlist, level)
- File "C:UsersMy PcAnaconda2Libsite-packagessklearn__check_build__init__.py", line 46, in
- raise_build_error(e)
- File "C:UsersMy PcAnaconda2Libsite-packagessklearn__check_build__init__.py", line 41, in raise_build_error
- %s""" % (e, local_dir, ''.join(dir_content).strip(), msg))
- ImportError: DLL load failed: %1 is not a valid Win32 application.
- ___________________________________________________________________________
- Contents of C:UsersMy PcAnaconda2Libsite-packagessklearn__check_build:
- setup.py setup.pyc _check_build.pyd
- __init__.py __init__.pyc
- ___________________________________________________________________________
- It seems that scikit-learn has not been built correctly.
- If you have installed scikit-learn from source, please do not forget
- to build the package before using it: run `python setup.py install` or
- `make` in the source directory.
- If you have used an installer, please check that it is suited for your
- Python version, your operating system and your platform.
- Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
- QGIS version: 2.18.4 Las Palmas, 59c1d21
- Python Path:
- C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python/pluginsprocessing
- C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python
- C:/Users/My Pc/.qgis2/python
- C:/Users/My Pc/.qgis2/python/plugins
- C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python/plugins
- C:PROGRA~2QGIS2~1.18appsPython27libsite-packagesmatplotlib-1.3.1-py2.7-win32.egg
- C:PROGRA~2QGIS2~1.18binpython27.zip
- C:PROGRA~2QGIS2~1.18appsPython27DLLs
- C:PROGRA~2QGIS2~1.18appsPython27lib
- C:PROGRA~2QGIS2~1.18appsPython27libplat-win
- C:PROGRA~2QGIS2~1.18appsPython27liblib-tk
- C:PROGRA~2QGIS2~1.18bin
- C:PROGRA~2QGIS2~1.18appsPython27
- c:progra~2qgis2~1.18appspython27libsite-packagesjinja2-2.7.2-py2.7.egg
- c:progra~2qgis2~1.18appspython27libsite-packagesmarkupsafe-0.23-py2.7-win32.egg
- c:progra~2qgis2~1.18appspython27libsite-packagespython_dateutil-2.2-py2.7.egg
- c:progra~2qgis2~1.18appspython27libsite-packagespytz-2014.2-py2.7.egg
- c:progra~2qgis2~1.18appspython27libsite-packagesshapely-1.2.18-py2.7-win32.egg
- C:PROGRA~2QGIS2~1.18appsPython27libsite-packages
- C:PROGRA~2QGIS2~1.18appsPython27libsite-packagesPIL
- C:PROGRA~2QGIS2~1.18appsPython27libsite-packageswin32
- C:PROGRA~2QGIS2~1.18appsPython27libsite-packageswin32lib
- C:PROGRA~2QGIS2~1.18appsPython27libsite-packagesPythonwin
- C:PROGRA~2QGIS2~1.18appsPython27libsite-packageswx-2.8-msw-unicode
- C:/Users/My Pc/.qgis2//python
- C:UsersMy PcAnaconda2Libsite-packages
- C:UsersMy PcAnaconda2Libsite-packages
- C:UsersMy PcAnaconda2Libsite-packages
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement