這是我最近踩過的坑:
seaborn 安裝成功
卻依然有:
`>>> import seaborn
ImportError: DLL load failed: 找不到指定的模塊
解決方式一:
The problem is because you are using windows. Scipy has problems with windows, if you check the sklearn site they say if you were unsuccessful for installing their packages bypip
orconda
you can install them with unofficial windows binary packages問題是因爲你正在使用Windows
Scipy
在Windows平臺存在一些問題,如果你查看sklearn
的網站,他們會告訴你如果你沒有成功安裝,可以使用pip
或者conda
安裝非官方的Windows二進制
自然而然地從最常用的第三方庫網站下載:https://www.lfd.uci.edu/~gohl...
下載了numpy
, scipy
和seaborn
庫
卸掉了原來的numpy
, scipy
和seaborn
再次安裝依然失敗
報了一樣的錯:
然後痛定思痛, 再次卸掉他們仨
然後:
pip install 他們仨
就OK了, 可以導入。。。。。。
網上給的原因是:我們下到了一些非正式版本
。。。。。。
參考自:
https://blog.csdn.net/monoton...
https://github.com/mwaskom/se...