我的百度云盘:可以下载文章所需软件包
http://pan.baidu.com/s/1jG3Vrts
1.解压matplotlib ,进入目录执行以下命令
sudo python setup.py install
返回信息:
* The following required packages can not be built:
* freetype, png
2.安装freetype
解压freetype,进入freetype目录,顺序执行如下命令
./configure
make
sudo make install
freetype安装成功
3.
python setup.py install
* The following required packages can not be built:
* png
4.安装libpng,
./configure
make
sudo make install
5.依赖zlib
./configure
make
sudo make install
安装zlib
搞定
时间: 2024-10-13 07:37:48