Mac OS下安装pil问题解决

首先是 IOError: decoder jpeg not available 问题,按照网上说的方法安装,但安装libjpeg后还是不行,之后将JPEG_ROOT改为libinclude("/usr/local/lib)后问题解决

然后是freetype2的安装问题,提示<freetype/fterrors.h>找不到,打开Imaging-1.1.7里的_imagingft.c将所有的<freetype/*>改为<freetype2/*>问题解决

标签: mac os, python, pil