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

时间:2015-06-18 11:28:28   收藏:0   阅读:3483

技术分享

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

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

搞定



原文:http://blog.csdn.net/caiyunfreedom/article/details/46545685

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!