centos安装Pillow报错

报错:

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-l_j9rpqb/pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" --disable-jpeg install --record /tmp/pip-t_3uy4n2-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-l_j9rpqb/pillow/

 

缺少:依赖包

yum -y install libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel  tk-devel

 

posted @ 2016-06-29 10:11  songge1209  阅读(820)  评论(0编辑  收藏  举报