command reference only, plz install from port
$ tar zxvf Python-2.6.2.tgz
$ sudo apt-get install build-essential libncursesw5-dev libreadline5-dev libssl-dev libgdbm-dev libbz2-dev libc6-dev libsqlite3-dev tk-dev
$ cd python-2.6.2
$ ./configure
$ make
$ make install
$ sudo apt-get install python-setuptools
$ svn co http://svn.scipy.org/svn/numpy/trunk numpy
$ cd numpy
$ sudo python setup.py install
$ tar zxvf scipy-0.7.0.tar.gz
$ sudo python setup.py install
$ sudo apt-get build-dep matplotlib
$ svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib matplotlib
$ cd matplotlib
$ sudo python setup.py install