pip安装matplotlib报错:equired packages can not be built
来源:互联网 发布:淘宝买家信用怎么提高 编辑:程序博客网 时间:2024/04/29 11:06
pip安装matplotlib
在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
参考:
http://stackoverflow.com/questions/20533426/ubuntu-running-pip-install-gives-error-the-following-required-packages-can-no
0 0
- pip安装matplotlib报错:equired packages can not be built
- pip 安装matplotlib报错 png can not be built
- Linux matplotlib 库安装 * The following required packages can not be built: * freetype, png
- nginx报错The program 'nginx' can be found in the following packages
- Oracle安装报错:SGA size can not be greater than maximum shared memeory segment size
- 【python】pip安装报错UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 7: ordinal not i
- Linux安装apache源码包报错:mod_deflate has been requested but can not be built due to prerequisite failures
- Xcode 更新报错 "The File can not be opened"
- 安装R packages报错
- pip安装mysql-python报mysql_config: not found错
- 安装pip报错
- pip matplotlib 安装出错
- Oracle 安装报SGA size can not be greater than maximum shared memory segment size(0)
- can not be found in source packages. Check the inheritance chain from your module
- mod_ssl has been requested but can not be built due to prerequisite failures
- pip 安装pandas报UnicodeDecodeError: 'ascii' codec can't decode byte 0xd5错
- pip安装pyquery报错
- centos 安装pip 报错
- 安卓LOG封装类
- jsp页面中实现时间相减,并且在最近添加的新闻后右上角添加标记(涉及struts2标签和jquey)
- Dialog
- H.264几大开源编码器简介
- C++笔记
- pip安装matplotlib报错:equired packages can not be built
- 【Android基础知识】Application类
- Spark中窄依赖和宽依赖
- 解决Linux下root用户不能删除文件的问题
- tftp server搭建及客户端配置及烧录boot
- 关于分布式事务、两阶段提交、一阶段提交、Best Efforts 1PC模式和事务补偿机制的研究
- Bitmap createBitmap参数(一)
- Hyper-v下Redhat 5.6 鼠标不可用解决方案
- [TensorFLow] tensorFlow安装