_Ritchie

安装pillow错误的解决方案

错误信息:

ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting
    
    ----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-46IKo9/pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-LQwgnq-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-46IKo9/pillow


解决方案:

yum install python-devel

yum install zlib-devel

yum install libjpeg-turbo-devel

posted on 2016-02-18 08:38  _Ritchie  阅读(887)  评论(0编辑  收藏  举报

导航