手机
当前位置:查字典教程网 >脚本专栏 >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获取当前时间的方法

netbeans7安装python插件的方法图解

c++生成dll使用python调用dll的方法

python3访问sina首页中文的处理方法

SublimeText 2编译python出错的解决方法(The system cannot find the file specified)

python二叉树遍历的实现方法

python读取注册表中值的方法

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

精品推荐
分类导航