Chinaunix

标题: linux下python安装libpng.freetype.matplotlib问题 [打印本页]

作者: 54red    时间: 2015-07-09 16:39
标题: linux下python安装libpng.freetype.matplotlib问题
我是python新手,现在需要安装一个matplotlib模块,首先使用的easy_install matplotlib安装
提示错误:
缺少 libpng  freetype
easy_install libpng不行
打算手动安装
命令是这样的!!
tar -xzf *.tar.gz
cd libpng-1.6.17
sudo ./configure

报错:

config.status: creating libpng.pc
config.status: creating libpng-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

换了一个低版本的1.5.22依然是上面的错误
我看见有人说要先安装zlib,我也安装上了 ,还是老错误,不知道该如何解决,在线等!多谢多谢!
作者: richyhuang    时间: 2015-07-12 12:16
libpng 不是python的模块
作者: cu_shell    时间: 2015-07-12 13:05
估计有些依赖包没装完全。。
作者: 54red    时间: 2015-07-16 11:46
结贴:最后终于装上了,容忍一些包的错误,强行安装,不过貌似能用!!!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2