pip install Scipy安装失败,上网查看教程,发现主要因为缺少Visual C++d的支持库。
有一个人的解决方案是安装所有相关库: pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose (失败)一个人是直接下载的whl文件安装:http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy。
安装whl报错: scipy-0.18.1-cp27-none-win_amd64.whl is not a supported wheel on this platform.
报错原因:(1)cp27需要对应python27.(2)amd64需要对应64bit的python。如果机器是64位,python是32位,那就安装32位的whl。
成功安装scipy
import报错: ImportError: cannot import name NUMPY_MKL
报错原因:numpy_MKL没安装
解决:http://stackoverflow.com/questions/37267399/importerror-cannot-import-name-numpy-mkl
新闻热点
疑难解答