Trouble installing scipy via pyCharm windows 8 - no lapack / blas resources found(通过 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 扩展包 存储库.numpy 和 scipy,还有很多其他的.您需要从那里安装 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 资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:通过 pyCharm windows 8 安装 scipy 时遇到问题 - 找不到
基础教程推荐
- 尝试制作WhatsApp机器人 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
