Pillow installation on OS X

ValueError: zlib required for Pillow on OS X

$ brew tap homebrew/dupes 
$ brew install zlib 
$ brew link --force zlib 

Then install Pillow:

$ pip install Pillow 

参考链接:
http://pillow.readthedocs.org/en/3.1.x/installation.html
http://stackoverflow.com/questions/19532125/cant-install-pil-after-mac-os-x-10-9
http://stackoverflow.com/questions/18246211/no-zlib-support-with-pillow-w-python3-3

添加新评论