一、准备工作
1.sudo apt-get install python-numpy
2.sudo apt-get install
python2.6-dev
3.sudo apt-get install libpng12-dev
4.sudo apt-get install
libfreetype6-dev
5.sudo apt-get install python-mysqldb
二、开始安装Matplotlib
1. 下载安装文件:
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz/download
2.安装
tar zxvf matplotlib-1.0.0.tar.gz
cd matplotlib-1.0.0
python
setup.py build
sudo python setup.py install
Ubuntu10.04 python2.6下安装matplotlib环境,布布扣,bubuko.com
Ubuntu10.04 python2.6下安装matplotlib环境
原文地址:http://www.cnblogs.com/smallcoderhujin/p/3738449.html