Ubuntu 12.04 STL安装numpy、scipy和matplotlib安装
一.获取、安装numpy和scipy:
1.安装git:
sudo apt-get install git
2.安装Python-dev 和easy_install
sudo apt-get install python-dev python-setuptools
sudo easy_install http://cheeseshop.python.org/packages/source/p/pyparsing/pyparsing-2.0.1.tar.gz
sudo apt-get install g++
4.安装libatlas-base-dev(科学计算库):
sudo apt-get install libatlas-base-dev
5.安装gfortran(fortran编译器):
sudo apt-get install gfortran
6.获取NumPy:
git clone git://github.com/numpy/numpy.git numpy
7.获取SciPy:
git clone git://github.com/scipy/scipy.git scipy
8.获取:matplotlib
sudo apt-get ins