windows下安装python的Scipy模块

(亲测已过)

官网发现安装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 

[html]  view plain  copy
  1. C:\Users\Administrator>pip install wheel  


3.安装numpy+mkl

[html]  view plain  copy
  1. C:\Users\Administrator>pip install C:\python-tools\numpy-1.9.2+mkl-cp27-none-win  
  2. _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类似。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值