【发布时间】:2017-05-09 01:43:43
【问题描述】:
我已经安装了 winpython,我想将 scipy 更新到 0.14 版本。 我怎样才能做到这一点?我应该完全重新安装winpython吗?
编辑:
如果我从WinPython Command Prompt 运行pip install --upgrade scipy,我会收到此错误:
----------------------------------------
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
【问题讨论】:
-
不能只用pip吗?
-
@PadraicCunningham 我已经更新了这个问题。相同的命令适用于 ubuntu。我不知道我在 Windows 上是否做错了什么。
-
Windows 安装任何东西都可能会很痛苦,我添加了一个带有预构建二进制文件链接的答案。