手机
当前位置:查字典教程网 >脚本专栏 >python >CentOS安装pillow报错的解决方法
CentOS安装pillow报错的解决方法
摘要:安装pillow出现以下问题:ValueError:jpegisrequiredunlessexplicitlydisabledusing-...

安装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('rn', 'n'), __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

【CentOS安装pillow报错的解决方法】相关文章:

python中文乱码的解决方法

Python列表推导式的使用方法

Python操作列表的常用方法分享

Python转码问题的解决方法

Python BeautifulSoup中文乱码问题的2种解决方法

pymssql ntext字段调用问题解决方法

windows下安装python paramiko模块的代码

win7安装python生成随机数代码分享

Python和php通信乱码问题解决方法

windows下wxPython开发环境安装与配置方法

精品推荐
分类导航