手机
当前位置:查字典教程网 >脚本专栏 >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实现全局变量的两个解决方法

pydev使用wxpython找不到路径的解决方法

下载给定网页上图片的方法

netbeans7安装python插件的方法图解

python中文乱码的解决方法

python连接sql server乱码的解决方法

Python生成随机数的方法

Python转码问题的解决方法

精品推荐
分类导航