简体   繁体   English

在Windows上使用PyPy安装SciPy

[英]installing SciPy with PyPy on Windows

I am trying to install SciPy with PyPy on Windows. 我正在尝试在Windows上使用PyPy安装SciPy。 I installed PyPy with the windows 32-bit zip on the website. 我在网站上使用Windows 32位zip安装了PyPy。 I installed numpy using python setup.py install . 我使用python setup.py install安装了numpy。 I tried to install scipy with pip install scipy or related commands, I always get a "NotFoundError: no lapack/blas resources found" error. 我尝试使用pip install scipy或相关命令pip install scipy ,但始终收到“ NotFoundError:未找到lapack / blas资源”错误。 Note I cannot install with wheels because they are meant for CPython 2.7 not PyPy 2.7 注意我不能安装轮子,因为它们是为CPython 2.7而非PyPy 2.7设计的

How can I solve this problem, especially since most of SciPy is compatible with PyPy? 我该如何解决此问题,尤其是由于大多数SciPy与PyPy兼容?

As the error message says, you'll need to install a BLAS+LAPACK library. 如错误消息所述,您将需要安装BLAS + LAPACK库。

The build instructions for Scipy on CPython https://scipy.github.io/devdocs/building/windows.html probably are applicable here, but precisely what you need to do depends on what compiler you used for Pypy. CPython上Scipy的构建说明https://scipy.github.io/devdocs/building/windows.html可能适用于此,但是确切地,您需要执行的操作取决于用于Pypy的编译器。

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

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