错误信息:
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