我正在尝试在我分发的包中创建所需的库。它需要SciPy和NumPy库。在开发时,我安装了两者
apt-get install scipy
它安装了 SciPy 0.9.0 和 NumPy 1.5.1,并且运行良好。
我想使用pip install
- 来做同样的事情,以便能够在我自己的包的 setup.py 中指定依赖项。
问题是,当我尝试时:
pip install 'numpy==1.5.1'
它工作正常。
但是之后
pip install 'scipy==0.9.0'
惨败,与
raise self.notfounderror(self.notfounderror.__doc__)
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.
我如何让它工作?