安装 Python Imaging Library
http://www.pythonware.com/products/pil/
The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities.
从源码安装,出错:
……copying PIL\TiffImagePlugin.py -> build\lib.win-amd64-2.7copying PIL\TiffTags.py -> build\lib.win-amd64-2.7copying PIL\WalImageFile.py -> build\lib.win-amd64-2.7copying PIL\WmfImagePlugin.py -> build\lib.win-amd64-2.7copying PIL\XbmImagePlugin.py -> build\lib.win-amd64-2.7copying PIL\XpmImagePlugin.py -> build\lib.win-amd64-2.7copying PIL\XVThumbImagePlugin.py -> build\lib.win-amd64-2.7copying PIL\__init__.py -> build\lib.win-amd64-2.7running build_ext--- using Tcl/Tk libraries at C:\python27\Tcl--- using Tcl/Tk version 8.5building '_imaging' extensionerror: Unable to find vcvarsall.bat