简体   繁体   English

scipy安装过程中的问题

[英]Issue during scipy installation

During the following command 在以下命令期间

pip install scipy

I get the following error 我收到以下错误

Command "c:\\users\\yosief\\appdata\\local\\programs\\python\\python36-32\\python.exe -u -c "import setuptools, tokenize; 命令“ c:\\ users \\ yosief \\ appdata \\ local \\ programs \\ python \\ python36-32 \\ python.exe -u -c”导入设置工具,标记化; file_ _='C:\\Users\\yosief\\AppData\\Local\\Temp\\pip-build-eh0en8qk\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__fil e );code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, file , 'exec'))" install --record C:\\Users\\yosi ef\\AppData\\Local\\Temp\\pip-v1ufkvhy-record\\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\\Users\\yosief\\AppData\\Local\\Temp\\pip-build-eh0en8qk\\scipy\\ file_ _ ='C:\\ Users \\ yosief \\ AppData \\ Local \\ Temp \\ pip-build-eh0en8qk \\ scipy \\ setup.py'; f = getattr(tokenize,'open',open)(__ fil e ); code = f .read()。replace('\\ r \\ n','\\ n'); f.close(); exec(compile(code, file ,'exec'))“ install --record C:\\ Users \\ yosi ef \\ AppData \\ Local \\ Temp \\ pip-v1ufkvhy-record \\ install-record.txt --single-version-externally-managed --compile“在C:\\ Users \\ yosief \\ AppData \\ Local \\ Temp中失败,错误代码为1 \\ pip-build-eh0en8qk \\ scipy \\

Is anybody getting this error in piping scipy? 有人在管道科学中得到这个错误吗?

My suggestion is to use Anaconda which will handle your configuration issues. 我的建议是使用Anaconda,它将处理您的配置问题。
It does install scipy and many useful packages on default while installation. 它会在安装时默认安装scipy和许多有用的软件包。
If does not do so.. 如果不这样做。
-Just to go to the environment tab from Anaconda Navigator. -只需从Anaconda Navigator转到环境选项卡即可。
-Search your required package. -搜索所需的软件包。
-It will fetch all dependent packages and then apply your changes. -它将获取所有依赖包,然后应用您的更改。

Hope this helps.. 希望这可以帮助..

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM