无法在windows中安装Scipy?

2024-09-27 22:26:00 发布

您现在位置:Python中文网/ 问答频道 /正文

1当我使用安装Scipy时 pip install scipy我得到了这个错误,如图所示。 我试过很多次,也试过scikit-learn,但它也需要这个技巧。请帮帮我,我明天要提交项目。:(

错误

Command ""c:\users\siraj munir\appdata\local\programs\python\python36\python.exe" -u -c "import setuptools, tokenize;file='C:\Users\SIRAJM~1\AppData\Local\Temp‌​\pip-build-7mua6674‌​\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\SIRAJM~1\AppData\Local\Temp\pip-0x99qqd0-record\ins‌​tall-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\SIRAJM~1\AppData\Local\Temp\pip-build-7mua6674\scip‌​y\


Tags: installpipbuildlocal错误codescipyopen
1条回答
网友
1楼 · 发布于 2024-09-27 22:26:00

尝试从此处安装scipy:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

您需要知道python的版本才能正确选择(我看到您有3.6)。你还需要知道它是32位还是64位。您可以通过反复试验;)或检查python.exe的输出:

Python 3.5.1(v3.5.1:37a07cee5969,2015年12月6日,01:38:48)[MSC v.190032位(Intel)]在win32上

粗体部分表示它是哪个版本(不要被win32部分误导)。在

另一个选择是安装Python。它重得多,但你不需要知道任何东西。在

相关问题 更多 >

    热门问题