通过 pyCharm windows 8 安装 scipy 时遇到问题 - 找不到 lapack/blas 资源 [英] Trouble installing scipy via pyCharm windows 8 - no lapack / blas resources found

查看:37
本文介绍了通过 pyCharm windows 8 安装 scipy 时遇到问题 - 找不到 lapack/blas 资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前无法通过 PyCharm 的包管理器安装 scipy.我已经成功安装了 numpy,并且在系统变量中确实有 Microsoft Visual Studio C/C++ 编译器.

I'm currently having trouble installing scipy via PyCharm's package manager. I have installed numpy successfully and do have the Microsoft Visual Studio C/C++ compiler in the System Variables.

但是,当需要在 PyCharm 中安装 scipy 时,会出现以下错误:

However, when it's time to install scipy in PyCharm, the following error occurs:

执行命令:pip install scipy

发生错误:numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

我已经看到了有关在 Windows 上安装 blas/lapack 的其他资源,但我不确定它是否适用于 PyCharm 的安装.

I have seen other resources on installing blas / lapack on windows, but I'm unsure if it will work with PyCharm's installations.

如果有人有将我重定向到的解决方案/资源,请告诉我.

If anybody has the solution / resources to redirect me to, please let me know.

推荐答案

只要你使用的是 python.org 版本的 Python,安装包最简单的方法是首先检查它们是否在 ChristophGohlke 的 适用于 Windows 的 Python 扩展包 存储库.numpyscipy,还有很多其他的.您需要从那里安装 numpy,因为它静态链接到 Intel 的 MKL,并且是那里许多其他软件包的必要依赖项,包括 scipy.

As long as you're using the python.org version(s) of Python, the easiest way to install packages is to first check if they are in Christoph Gohlke's Python Extension Packages for Windows repository. There are pre-compiled packages for both numpy and scipy, along with many many others. You'll need to install numpy from there, as it is statically-linked to Intel's MKL, and is a necessary dependency for many of the other packages there, including scipy.

这篇关于通过 pyCharm windows 8 安装 scipy 时遇到问题 - 找不到 lapack/blas 资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆