numpy.distutils.system_info.BlasNotFoundError:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
我需要从本网站下载哪个 tar?
我已经尝试过fortrans,但我一直收到这个错误(显然设置了环境变量之后)。
最佳答案
如果您需要使用最新版本的 SciPy 而不是打包版本,而无需经历构建 BLAS 和 LAPACK 的麻烦,您可以按照以下步骤操作。
从存储库安装线性代数库(适用于 Ubuntu),
sudo apt-get install gfortran libopenblas-dev liblapack-dev
然后安装SciPy,(下载SciPy源码后):python setup.py install
或
pip install scipy
视情况而定。
https://stackoverflow.com/questions/7496547/