为 Windows 安装 Scipy [英] Installing Scipy for Windows
问题描述
我正在尝试在我的计算机上安装 Scipy.我是通过使用命令 pip install Scipy 做到的.(pip & numpy 是最新的,我使用的是 Python 3.6)我也用 Pycharm 尝试过,但也没有用.
I am trying to install Scipy on my computer. I did it by using the command pip install Scipy. (pip & numpy are up-to-date and I am using Python 3.6) I also tried it with Pycharm, but it didn't worked either.
我总是遇到这个错误:
命令"c:\users***\appdata\local\programs\python\python36\python.exe -u -c导入设置工具,tokenize;file='C:\Users\***\AppData\Local\Temp\pip-build-x3s21920\scipy\setup.py';f=getattr(tokenize,'open', open)(file);code=f.read().replace('\r\n','\n');f.close();exec(compile(code, file, 'exec'))" install--record C:\Users***\AppData\Local\Temp\pip-gr9ppj_q-record\install-record.txt--single-version-externally-managed --compile" 失败,错误代码 1 在 C:\Users***\AppData\Local\Temp\pip-build-x3s21920\scipy\
Command "c:\users***\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;file='C:\Users\***\AppData\Local\Temp\pip-build-x3s21920\scipy\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users***\AppData\Local\Temp\pip-gr9ppj_q-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users***\AppData\Local\Temp\pip-build-x3s21920\scipy\
有人知道我能做什么吗?
Does anyone has an idea of what I can do?
推荐答案
尝试从以下二进制文件安装http://www.lfd.uci.edu/~gohlke/pythonlibs/
Try to install it from the following binaries http://www.lfd.uci.edu/~gohlke/pythonlibs/
这些是非官方的预编译二进制文件
These are unofficial precompiled binaries
这篇关于为 Windows 安装 Scipy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!