Don*_*beo 4 python windows scipy
我安装了winpython,我想将scipy更新到0.14版本.我怎样才能做到这一点?我应该完全重新安装winpython吗?
编辑:
如果我pip install --upgrade scipy从运行中WinPython Command Prompt收到此错误:
----------------------------------------
Rolling back uninstall of scipy
Cleaning up...
Command C:\Users\donbeo\WinPython-64bit-3.3.5.0\python-3.3.5.amd64\python.exe -c
"import setuptools, tokenize;__file__='c:\\users\\donbeo\\appdata\\local\\temp\
\pip_build_donbeo\\scipy\\setup.py';exec(compile(getattr(tokenize, 'open', open)
(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:
\users\donbeo\appdata\local\temp\pip-puzp_i-record\install-record.txt --single-v
ersion-externally-managed --compile failed with error code 1 in c:\users\donbeo\
appdata\local\temp\pip_build_donbeo\scipy
Storing debug log for failure in C:\Users\donbeo\WinPython-64bit-3.3.5.0\setting
s\pip\pip.log
Run Code Online (Sandbox Code Playgroud)
C:\ Users\donbeo\WinPython-64bit-3.3.5.0\python-3.3.5.amd64> pip install --upgrade scipy
Christoph Gohlke 现在提供轮子,所以从2015年1月的Winpython开始,你也可以这样做:
.whl将Python版本的正确文件(例如cp33Python 3.3和win3232位)下载到某个位置,例如D:\scipy\类型
pip install --no-index --upgrade D:\scipy\scipy?0.15.0?cp33?none?win32.whl
Run Code Online (Sandbox Code Playgroud)它应该给你一个像这样的输出,例如Python 3.3 32位:
D:\result_tests\WinPython-32bit-3.3.5.5_build5\python-3.3.5>pip install --no-index --upgrade D:\here_is_scip\scipy-0.15.0-cp33-none-win32.whl
Ignoring indexes: https://pypi.python.org/simple
Processing d:\here_is_scip\scipy-0.15.0-cp33-none-win32.whl
Installing collected packages: scipy
Found existing installation: scipy 0.14.1
Uninstalling scipy-0.14.1:
Successfully uninstalled scipy-0.14.1
Successfully installed scipy-0.15.0
D:\result_tests\WinPython-32bit-3.3.5.5_build5\python-3.3.5>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
9845 次 |
| 最近记录: |