Pillow库简介
Pillow是PIL(Python Imaging Library)的一个分支,提供了通用的图像处理功能,以及大量有用的基本图像操作。笔者最近在学习《Python计算机视觉编程》这本书,需要安装Pillow库,在此分享(可能是最简单的)安装方法。
Pillow5.0.0的安装
笔者使用的是Win10平台、Python3.6.2
Pillow的开发者提供了支持32位和64位Python的三种安装方式:wheel, egg, and executable installers,可以说是非常友好了
笔者选用的是最简单的使用可执行文件安装Pillow库的方式:
- 在下载Pillow(https://pypi.python.org/pypi/Pillow/5.0.0#downloads)的网站中找到可执行文件类型的installer

- 选择合适自己Python版本的installer并下载
- 直接打开installer安装Pillow
- 检查是否已经安装
(安装成功)
参考资料:
https://pillow.readthedocs.io/en/latest/installation.html#external-libraries