安装matplotlib

直接使用pip install matplotlib 报错

几个依赖关系不好找,分别是numpy tornado pyparsing freetye png

pip install numpy报错

需要安装 apt-get install python-dev


sudo easy_install tornado

sudo easy_install pyparsing
sudo apt-get install libfreetype6
sudo apt-get install libpng12-dev

sudo easy_install matplotlib


你可能感兴趣的:(安装matplotlib)