Python 在OS 10.9.5 Marvericks上安装和使用PIL 1.1.7

Python 在OS 10.9.5 Marvericks上安装和使用PIL 1.1.7,python,macos,python-2.7,pip,python-imaging-library,Python,Macos,Python 2.7,Pip,Python Imaging Library,我刚刚开始学习Python编程,并尝试使用pip(1.5.6)在MacOS 10.9.5 Marvericks上安装PIL 当然,我提到了关于安装PIL的其他相同问题,但我无法解决我的问题 _imagingft.c:73:10:致命错误:“找不到freetype/fterrors.h”文件 **#包括freetype/fterrors.h ^ 生成1个错误 错误:命令“clang”失败,退出状态为1 错误发生如上所述 我补充说 ln-s/usr/local/include/freet

我刚刚开始学习Python编程,并尝试使用pip(1.5.6)在MacOS 10.9.5 Marvericks上安装PIL

当然,我提到了关于安装PIL的其他相同问题,但我无法解决我的问题

_imagingft.c:73:10:致命错误:“找不到freetype/fterrors.h”文件

**#包括freetype/fterrors.h

     ^
生成1个错误

错误:命令“clang”失败,退出状态为1

错误发生如上所述

我补充说

ln-s/usr/local/include/freetype2/usr/local/include/freetype

终端显示

ln:/usr/local/include/freetype:文件存在

接下来我加上

pip安装PIL——允许外部PIL——允许未验证的PIL

但同样的错误依然存在

我已经安装了Xcode(6.1)、X11(2.7.7)。 freetype是Ver。2.5.3_1. Python是一个版本。2.7.6

如果你能教我该做什么,我将不胜感激