在OS 10.9.5 Mavericks上安装和使用PIL 1.1.7

时间:2014-11-03 01:20:07

标签: 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'找不到文件

     

** #include freetype / fterrors.h

     ^
     

生成了1个错误。

     

错误:命令' clang'退出状态1失败

错误发生在上面。

我添加

  

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

,终端显示

  

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

然后我添加

  

pip install PIL - 允许外部PIL - 允许未经验证的PIL

但仍然存在同样的错误。

我已经安装了Xcode(6.1),X11(2.7.7)。 freetype是Ver。 2.5.3_1。 Python是Ver。 2.7.6。

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

0 个答案:

没有答案
相关问题