为 windows python 安装 scipy 2.7
Installing scipy for windows python 2.7
所以我需要安装一堆包,包括scipy。我已经使用 pip 安装了几个,但是当我说 "pip install scipy" 时,它失败了。为什么是这样?我该如何正确安装它?谢谢。
编辑:我说 "pip install scipy"。不起作用。
构建失败 scipy 并抛出以下错误:
正在清理...
命令 /Users/administrator/dev/KaggleAux/env/bin/python2.7 -c "import setuptools, tokenize;file='/Users/administrator/dev/KaggleAux/env/build/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/zl/7698ng4d4nxd49q1845jd9340000gn/T/pip-eO8gua-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/administrator/dev/KaggleAux/env/bin/。 ./include/site/python2.7 在 /Users/administrator/dev/KaggleAux/env/build/scipy 中失败,错误代码为 1
在 /Users/administrator/.pip/pip.log
中存储故障调试日志
从此link下载相关的scipy包:http://www.lfd.uci.edu/~gohlke/pythonlibs/
cp 表示您拥有的 python 版本
做 pip 安装 wheel
然后转到您下载包的文件夹并执行
点安装 filename.whl
希望这能奏效。
所以我需要安装一堆包,包括scipy。我已经使用 pip 安装了几个,但是当我说 "pip install scipy" 时,它失败了。为什么是这样?我该如何正确安装它?谢谢。
编辑:我说 "pip install scipy"。不起作用。
构建失败 scipy 并抛出以下错误:
正在清理... 命令 /Users/administrator/dev/KaggleAux/env/bin/python2.7 -c "import setuptools, tokenize;file='/Users/administrator/dev/KaggleAux/env/build/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/zl/7698ng4d4nxd49q1845jd9340000gn/T/pip-eO8gua-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/administrator/dev/KaggleAux/env/bin/。 ./include/site/python2.7 在 /Users/administrator/dev/KaggleAux/env/build/scipy 中失败,错误代码为 1 在 /Users/administrator/.pip/pip.log
中存储故障调试日志从此link下载相关的scipy包:http://www.lfd.uci.edu/~gohlke/pythonlibs/
cp 表示您拥有的 python 版本
做 pip 安装 wheel
然后转到您下载包的文件夹并执行 点安装 filename.whl
希望这能奏效。