Linux matplotlib 库安装 * The following required packages can not be built: * freetype, png

时间:2015-06-18 11:29:13   收藏:0   阅读:1097

技术分享

我的百度云盘:可以下载文章所需软件包

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

搞定



评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!