直接使用sudo easy_install matplotlib 报错
几个依赖关系不好找,分别是numpy tornado pyparsing freetye png
sudo apt-get build-dep python-matplotlib
sudo easy_install numpy
sudo easy_install tornado
sudo easy_install pyparsingsudo apt-get install libfreetype6
sudo apt-get install libpng12-dev
sudo easy_install matplotlib