ImportError: No module named scipy PS E:\p> python -m pip install scipy出红字错

问题:

Running setup.py install for scipy ... error
    Complete output from command D:\python2.7\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\0011\\appdata\\local\\temp\\pip
-build-8qouxf\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __f
ile__, 'exec'))" install --record c:\users\0011\appdata\local\temp\pip-hki5pg-record\install-record.txt --single-version-externally-managed --co
mpile:




解决:

方法1:

安装参考

Anaconda url:https://www.continuum.io/downloads 
安装成功后,运行Anacona prompt
输入conda list 就可以查询,你现在安装了哪些库,常用的numpy, scipy名列其中。


方法2:

Download the scipy wheel file from the following link

https://pypi.python.org/pypi/scipy

Then do pip install with the Downloaded file

  • 安装命令

pip install scipy-1.0.0rc2-cp27-none-win_amd64.whl


  • 检验一下:


  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值