ImportError: cannot import name 'NUMPY_MKL'

>>> import scipy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\martin\python352\lib\site-packages\scipy\__init__.py", line 61, in <module>
    from numpy._distributor_init import NUMPY_MKL  # requires numpy+mkl
ImportError: cannot import name 'NUMPY_MKL'

 

http://stackoverflow.com/questions/37267399/importerror-cannot-import-name-numpy-mkl

因为我的python35的scipy是用下面链接中的whl安装的而numpy是用pip安装的,少了numpy+mkl,

可以从下面链接下载nump的whl下载

或者直接在__init__.py注释掉

http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

posted on 2016-12-21 20:25  大大的橙子  阅读(5069)  评论(0编辑  收藏  举报

导航