资讯专栏INFORMATION COLUMN

CentOS安装pillow错误

Richard_Gao / 829人阅读

摘要:安装出现以下问题解决

安装pillow出现以下问题:

ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting

----------------------------------------
Cleaning up...
Command /usr/local/bin/python -c "import setuptools, tokenize;__file__="/tmp/pip_build_root/pillow/setup.py";exec(compile(getattr(tokenize, "open", open)(__file__).read().replace("
", "
"), __file__, "exec"))" install --record /tmp/pip-SviNMc-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/pillow
Storing debug log for failure in /root/.pip/pip.log

StackOverflow:
http://stackoverflow.com/questions/34631806/fail-during-installation-of-pillow-python-module-in-linux

解决:

sudo yum install python-devel
sudo yum install zlib-devel
sudo yum install libjpeg-turbo-devel

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/45618.html

相关文章

  • CentOS安装pillow错误

    摘要:安装出现以下问题解决 安装pillow出现以下问题: ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting ---------------------------------------- Cleaning up... Command /usr/local/bin...

    AlphaWatch 评论0 收藏0
  • Linux下安装python-2.7

    摘要:优化编写一键安装的脚本由于的系统默认都是,如果服务器需要用环境的话每台都得手动操作升级,工作量比较大,编写脚本提升效率。 安装依赖的库 yum -y install python-devel openssl openssl-devel gcc sqlite sqlite-devel mysql-devel libxml2-devel libxslt-devel Python =====...

    darryrzhong 评论0 收藏0
  • 集体智慧编程遇到的问题

    第三章 P38 问题描述:安装PIL 错误1:_imagingft.c:73:10: fatal error: freetype/fterrors.h file not found解决方法:ln -s /usr/local/include/freetype2 /usr/local/include/freetype 错误2:X11/Xlib.h file not found解决方法:ln -s ...

    bergwhite 评论0 收藏0
  • ❤️【Python从入门到精通】(二十六)用Python的PIL库(Pillow)处理图像真的得心应

    您好,我是码农飞哥,感谢您阅读本文,欢迎一键三连哦。 本篇重点介绍Python处理图像的标准库PIL库,处理图像真的的很方便。 干货满满,建议收藏,需要用到时常看看。 小伙伴们如有问题及需要,欢迎踊跃留言哦~ ~ ~。 文章目录 前言安装Pillow 以及版本兼容常用模块介绍ImageImageColorImageFontImageDraw 再来点干货吧!合并美女照片 总结参考源码地址...

    1treeS 评论0 收藏0
  • Programming Computer Vision with Python (学习笔记一)

    摘要:接下来的学习笔记本人都将使用来代替。库中提供的很多图像操作都是分别作用于某个通道的数据。是最流行的开源色彩管理库之一。目前只支持在增加和。模块支持从图像对象创建或的对象,方便被使用和显示。模块对图像或指定区域的每个通道进行统计,包括等。 介绍 《Programming Computer Vision with Python》是一本介绍计算机视觉底层基本理论和算法的入门书,通过这本收可以...

    huashiou 评论0 收藏0

发表评论

0条评论

最新活动
阅读需要支付1元查看
<