pip install Scipy安裝失敗,上網(wǎng)查看教程,發(fā)現(xiàn)主要因?yàn)槿鄙賄isual C++d的支持庫(kù)。
有一個(gè)人的解決方案是安裝所有相關(guān)庫(kù): pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose (失?。?p>一個(gè)人是直接下載的whl文件安裝:http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy。
安裝whl報(bào)錯(cuò): scipy-0.18.1-cp27-none-win_amd64.whl is not a supported wheel on this platform.
報(bào)錯(cuò)原因:(1)cp27需要對(duì)應(yīng)python27.(2)amd64需要對(duì)應(yīng)64bit的python。如果機(jī)器是64位,python是32位,那就安裝32位的whl。
成功安裝scipy
import報(bào)錯(cuò): ImportError: cannot import name NUMPY_MKL
報(bào)錯(cuò)原因:numpy_MKL沒(méi)安裝
解決:
http://stackoverflow.com/questions/37267399/importerror-cannot-import-name-numpy-mkl
新聞熱點(diǎn)
疑難解答
網(wǎng)友關(guān)注