错误信息如下:
ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting
Cleaning up...
Command /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 -c "import setuptools, tokenize;file='/private/var/folders/64/wdntqp2s3wd973lxbrj8b_9c0000gn/T/pip_build_dawei/pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/64/wdntqp2s3wd973lxbrj8b_9c0000gn/T/pip-06wxmax0-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/64/wdntqp2s3wd973lxbrj8b_9c0000gn/T/pip_build_dawei/pillow
###### 错误截图如下:
![pip install Pillow](http://upload-images.jianshu.io/upload_images/4033608-ff153ba46628da54.png)
###### 解决办法:
###### 这是因为缺少openjpeg这个库的问题,可以使用[Homebrew](http://www.jianshu.com/p/0a231d693b7b)安装:
> brew install openjpeg
###### 然后再安装Pillow就可以啦:
> pip install Pillow