centos中virtualenv安装scipy

由于项目须要scipy,在virtualenv中安装scipy,参考官方安装说明http://www.scipy.org/scipylib/building/linux.html,须要numpy,pip install numpy很简单安装好了,可是pip install scipy时一直报错: html

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.
大stackoverflow.com救了我。

yum install lapack lapack-devel blas blas-devel pip install numpy pip install scipy
不得不说这个包好大,compile了好长时间。
相关文章
相关标签/搜索