http://pillow.readthedocs.io/en/4.3.x/installation.htmlhtml
今天在新的电脑上安装Pilow,发现报错(主要错误):python
The headers or library files could not be found for zlib,bash
a required dependency when compiling Pillow from source.ui
其实就是缺乏一些相关的依赖,上网查了下,发现安装如下依赖就OK了:htm
sudo yum install python-devel sudo yum install zlib-devel sudo yum install libjpeg-turbo-devel