Couldn't load plugin ScipyPointClustering

2 posts Page 1 of 1
Tyler
Posts: 1
Joined: Thu Oct 29, 2020 7:34 pm


Hello,

I'm getting the following error when I try to enable the Scipy Point Clustering Pugin.
Clearly I'm missing something, any help tips?

Thanks,

-Tyler
Code: Select all
Couldn't load plugin ScipyPointClustering due to an error when calling its classFactory() method 

ImportError: cannot import name NUMPY_MKL 
Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python\qgis\utils.py", line 333, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/tyler/.qgis2/python/plugins\ScipyPointClustering\__init__.py", line 17, in classFactory
    from .scipy_point_clustering import ScipyPointClusteringPlugin
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/tyler/.qgis2/python/plugins\ScipyPointClustering\scipy_point_clustering.py", line 37, in 
    from scipy_point_clustering_provider import ScipyPointClusteringProvider
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/tyler/.qgis2/python/plugins\ScipyPointClustering\scipy_point_clustering_provider.py", line 34, in 
    from scipy_point_clustering_algorithm import (
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/tyler/.qgis2/python/plugins\ScipyPointClustering\scipy_point_clustering_algorithm.py", line 46, in 
    import scipy.cluster.vq
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\scipy\__init__.py", line 61, in 
    from numpy._distributor_init import NUMPY_MKL  # requires numpy+mkl
ImportError: cannot import name NUMPY_MKL


Python version: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] 
QGIS version: 2.18.28 Las Palmas, aa30730ac6 

Python Path:
C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing
C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python
C:/Users/tyler/.qgis2/python
C:/Users/tyler/.qgis2/python/plugins
C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins
C:\Users\tyler\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\Scripts
C:\PROGRA~1\QGIS2~1.18\bin\python27.zip
C:\PROGRA~1\QGIS2~1.18\apps\Python27\DLLs
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\plat-win
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\lib-tk
C:\PROGRA~1\QGIS2~1.18\bin
C:\PROGRA~1\QGIS2~1.18\apps\Python27
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Pythonwin
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
C:/Users/tyler/.qgis2//python
gni_support
Posts: 72
Joined: Wed Sep 20, 2017 1:05 pm


I'am not quite sure, but it seems like you haven't install numpy on your system.
Could you do so, and tell me if it worked?
If you don't know what is it, it is a library for the python named...well...numpy
2 posts Page 1 of 1
ekskluzywne stoły stoły włoskie nowoczesne