手机
当前位置:查字典教程网 >脚本专栏 >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通过解析网页实现看报程序的方法

tornado捕获和处理404错误的方法

python二叉树遍历的实现方法

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

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

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

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

python逐行读取文件内容的三种方法

linux下安装easy_install的方法

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

精品推荐
分类导航