github Pillow上clone代码。
安装Pillow必要的库
Mac OS X (via Homebrew)
On Mac OS X with [Homebrew](http://brew.sh/) this can be fixed using:
brew install libjpeg zlib
You may also need to force-link zlib using the following:
brew link zlib --force
- 安装Pillow
编译安装:python setup.py build_ext -i
sudo python3 setup.py install