Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. import pysptools.classification as cl
  2.  
  3. 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.
  4. Traceback (most recent call last):
  5. File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 333, in startPlugin
  6. plugins[packageName] = package.classFactory(iface)
  7. File "C:/Users/My Pc/.qgis2/python/pluginsHyperspectralClassifier__init__.py", line 34, in classFactory
  8. from .hyperspectral_classifier import HyperspectralClassifier
  9. File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
  10. mod = _builtin_import(name, globals, locals, fromlist, level)
  11. File "C:/Users/My Pc/.qgis2/python/pluginsHyperspectralClassifierhyperspectral_classifier.py", line 34, in
  12. import pysptools.classification as cl
  13. File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
  14. mod = _builtin_import(name, globals, locals, fromlist, level)
  15. File "C:UsersMy PcAnaconda2Libsite-packagespysptoolsclassification__init__.py", line 5, in
  16. from .km import KMeans
  17. File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
  18. mod = _builtin_import(name, globals, locals, fromlist, level)
  19. File "C:UsersMy PcAnaconda2Libsite-packagespysptoolsclassificationkm.py", line 26, in
  20. import sklearn.cluster as cluster
  21. File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
  22. mod = _builtin_import(name, globals, locals, fromlist, level)
  23. File "C:UsersMy PcAnaconda2Libsite-packagessklearn__init__.py", line 56, in
  24. from . import __check_build
  25. File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./pythonqgisutils.py", line 607, in _import
  26. mod = _builtin_import(name, globals, locals, fromlist, level)
  27. File "C:UsersMy PcAnaconda2Libsite-packagessklearn__check_build__init__.py", line 46, in
  28. raise_build_error(e)
  29. File "C:UsersMy PcAnaconda2Libsite-packagessklearn__check_build__init__.py", line 41, in raise_build_error
  30. %s""" % (e, local_dir, ''.join(dir_content).strip(), msg))
  31. ImportError: DLL load failed: %1 is not a valid Win32 application.
  32. ___________________________________________________________________________
  33. Contents of C:UsersMy PcAnaconda2Libsite-packagessklearn__check_build:
  34. setup.py setup.pyc _check_build.pyd
  35. __init__.py __init__.pyc
  36. ___________________________________________________________________________
  37. It seems that scikit-learn has not been built correctly.
  38.  
  39. If you have installed scikit-learn from source, please do not forget
  40. to build the package before using it: run `python setup.py install` or
  41. `make` in the source directory.
  42.  
  43. If you have used an installer, please check that it is suited for your
  44. Python version, your operating system and your platform.
  45.  
  46.  
  47. Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
  48. QGIS version: 2.18.4 Las Palmas, 59c1d21
  49.  
  50. Python Path:
  51. C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python/pluginsprocessing
  52. C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python
  53. C:/Users/My Pc/.qgis2/python
  54. C:/Users/My Pc/.qgis2/python/plugins
  55. C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python/plugins
  56. C:PROGRA~2QGIS2~1.18appsPython27libsite-packagesmatplotlib-1.3.1-py2.7-win32.egg
  57. C:PROGRA~2QGIS2~1.18binpython27.zip
  58. C:PROGRA~2QGIS2~1.18appsPython27DLLs
  59. C:PROGRA~2QGIS2~1.18appsPython27lib
  60. C:PROGRA~2QGIS2~1.18appsPython27libplat-win
  61. C:PROGRA~2QGIS2~1.18appsPython27liblib-tk
  62. C:PROGRA~2QGIS2~1.18bin
  63. C:PROGRA~2QGIS2~1.18appsPython27
  64. c:progra~2qgis2~1.18appspython27libsite-packagesjinja2-2.7.2-py2.7.egg
  65. c:progra~2qgis2~1.18appspython27libsite-packagesmarkupsafe-0.23-py2.7-win32.egg
  66. c:progra~2qgis2~1.18appspython27libsite-packagespython_dateutil-2.2-py2.7.egg
  67. c:progra~2qgis2~1.18appspython27libsite-packagespytz-2014.2-py2.7.egg
  68. c:progra~2qgis2~1.18appspython27libsite-packagesshapely-1.2.18-py2.7-win32.egg
  69. C:PROGRA~2QGIS2~1.18appsPython27libsite-packages
  70. C:PROGRA~2QGIS2~1.18appsPython27libsite-packagesPIL
  71. C:PROGRA~2QGIS2~1.18appsPython27libsite-packageswin32
  72. C:PROGRA~2QGIS2~1.18appsPython27libsite-packageswin32lib
  73. C:PROGRA~2QGIS2~1.18appsPython27libsite-packagesPythonwin
  74. C:PROGRA~2QGIS2~1.18appsPython27libsite-packageswx-2.8-msw-unicode
  75. C:/Users/My Pc/.qgis2//python
  76. C:UsersMy PcAnaconda2Libsite-packages
  77. C:UsersMy PcAnaconda2Libsite-packages
  78. C:UsersMy PcAnaconda2Libsite-packages
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement