centos6.5下安装Scipy工具包
- # 先安装 numpy
- sudo pip install numpy -U
- # yum 包
- sudo yum install gcc gcc-c++ gcc-gfortran
- sudo yum install blas blas-devel lapack lapack-devel atlas atlas-devel
- # 环境变量
- export BLAS=/usr/lib64/libblas.so
- export LAPACK=/usr/lib64/liblapack.so
- export ATLAS=/usr/lib64/atlas/libatlas.so
- # 下载源码包
- git clone git://github.com/scipy/scipy.git scipy
- # 编译和安装
- python setup.py build
- sudo python setup.py install