安装pillow错误的解决方案

----------------------------------------
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

 

参与评论

游客评论不支持回复他人评论内容,如需回复他人评论内容请