您的位置:首页 > 编程语言 > Python开发

Windows环境Python2.7安装Scipy

2016-09-14 09:53 405 查看
官网发现安装scipy前需要numpy+mkl

SciPy is
software for mathematics, science, and engineering.

Requires numpy+mkl.

Install numpy+mkl before
installing scipy

1.下载Numpy

http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy 中下载对应版本win_amd64(win64)、cp27(python2.7)安装

2.安装wheel

因为后缀名是.whl,所以要先安装wheel

C:\Users\Administrator>pip install wheel


3.安装numpy+mkl

C:\Users\Administrator>pip install C:\python-tools\numpy-1.9.2+mkl-cp27-none-win
_amd64.whl


根据安装包所在位置改变命令中的目录

如果事先用pip install numpy安装了numpy 建议先卸载 pip uninstall numpy

4.验证上一步安装是否成功

pip list 出现numpy(1.11.1+mkl) 则成功安装

5.安装scipy

在http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy下载对应版本,安装过程与3类似。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: