- 工信部备案号 滇ICP备05000110号-1
- 滇公网安备53011102001527号
- 增值电信业务经营许可证 B1.B2-20181647、滇B1.B2-20190004
- 云南互联网协会理事单位
- 安全联盟认证网站身份V标记
- 域名注册服务机构许可:滇D3-20230001
- 代理域名注册服务机构:新网数码
- CN域名投诉举报处理平台:电话:010-58813000、邮箱:service@cnnic.cn
在centos6.5 64bit上用pip安装matplotlib时候报错:
* The following required packages can not be built:
* freetype, pngerror: Setup script exited with 1
这是因为pip不能安装操作系统的依赖库导致的,需要用yum手动安装:
$ yum -y install freetype-devel libpng-devel
如果不知道这些库需要安装的包名,可以查一下:
$ yum search freetype | grep devel
freetype-devel.i686 : FreeType development libraries and header files
freetype-devel.x86_64 : FreeType development libraries and header files
$ yum search png | grep devel
libpng-devel.i686 : Development tools for programs to manipulate PNG image
libpng-devel.x86_64 : Development tools for programs to manipulate PNG image
售前咨询
售后咨询
备案咨询
二维码

TOP