windows下解決numpy, scipy等庫安裝失敗的方法

LTQblog發表於2017-05-22

如果pip安裝scipy庫失敗,可以參考以下方法:

scipy官方上提供了這樣的方法:

Windows packages

Windows does not have any package manager analogous to that in Linux, so installing one of the scientific Python distributions mentioned above is preferred. However, if that is not an option, Christoph Gohlke provides pre-built Windows installers for many Python packages, including all of the core SciPy stack, which work extremely well.


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


如果無法pip安裝scipy等第三方庫,可以去上面這個網址下載.whl檔案,下載到本地之後

python -m pip install ***.whl

記得一定要下載和自己使用的python版本和作業系統對應的whl檔案。

相關文章