我正在尝试将 python 和一系列软件包安装到 64 位 Windows 7 桌面上。我已经安装了 Python 3.4,安装了 Microsoft Visual Studio C++,并成功安装了 numpy、pandas 和其他一些。尝试安装 scipy 时出现以下错误;
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
我是离线使用pip install,我使用的安装命令是;
pip install --no-index --find-links="S:\python\scipy 0.15.0" scipy
我已阅读此处关于需要编译器的帖子,如果我理解正确的话,它就是 VS C++ 编译器。我正在使用 2010 版本,因为我正在使用 Python 3.4。这适用于其他软件包。
我必须使用 windows 二进制文件还是有办法让 pip install 工作?
非常感谢您的帮助
最佳答案
以下链接应该可以解决 Windows 和 SciPy 的所有问题;只需选择适当的下载。我能够毫无问题地安装软件包。我尝试过的所有其他解决方案都让我很头疼。
来源:http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
命令:
pip install [Local File Location]\[Your specific file such as scipy-0.16.0-cp27-none-win_amd64.whl]
假设您已经安装了以下内容:
使用 Python 工具安装 Visual Studio 2015/2013
(已集成到 2015 年安装的设置选项中)
为 Python 安装 Visual Studio C++ 编译器
来源:http://www.microsoft.com/en-us/download/details.aspx?id=44266
文件名:VCForPython27.msi
安装 Python 版本选择
来源:python.org
文件名(例如):python-2.7.10.amd64.msi
关于python - Windows Scipy 安装 : No Lapack/Blas Resources Found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28190534/