简体   繁体   English

在Windows上使用pip安装Scipy python软件包时出现错误

[英]error when using pip to install Scipy python package on windows

While trying to install scipy on windows using the following command in the Command Prompt: 尝试在命令提示符中使用以下命令在Windows上安装scipy时:

pip install scipy

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

raise NotFoundError<'no lapack/blas resources found'> 引发NotFoundError <'未找到lapack / blas资源'>

numpy.distutils.system_info.NotFoundError: no lapack/blas resources found numpy.distutils.system_info.NotFoundError:找不到lapack / blas资源

After searching the web I've noticed it's a common problem and tried all suggested solutions with no success. 在网上搜索后,我注意到这是一个常见问题,并尝试了所有建议的解决方案,但均未成功。 One of the solutions I've tried is installing MinGW for windows... 我尝试过的解决方案之一是为Windows安装MinGW ...

This is becoming very frustrating... any ideas? 这变得非常令人沮丧...有什么想法吗?

According to the scipy installation guide, you should not use pip for installation on Windows. 根据scipy安装指南,您不应在Windows上使用pip进行安装。 Rather stick to a binary package provided here: 而是坚持使用此处提供的二进制包:

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

(link provided as suggested here: https://scipy.org/install.html ) (如此处建议的那样提供链接: https : //scipy.org/install.html

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

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