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\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\SIRAJM~1\AppData\Local\Temp\pip-build-7mua6674\scipy\
尝试从此处安装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。它重得多,但你不需要知道任何东西。在
相关问题 更多 >
编程相关推荐