我已经安装了 winpython,我想将 scipy 更新到版本 0.14。
我怎样才能做到这一点?我应该完全重新安装 winpython 吗?
EDIT:
如果我跑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
C:\Users\donbeo\WinPython-64bit-3.3.5.0\python-3.3.5.amd64>pip install --upgrade
scipy
克里斯托夫·戈尔克现在提供轮子,因此从 2015 年 1 月的 Winpython 开始,您也可以这样做:
它应该为您提供如下输出,例如对于 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>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)