Mac OS下pip安装 pillow
时间:2014-08-26 17:16:56
收藏:0
阅读:326
sudo pip install pil
报错如下:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/tk.h:78:11: fatal error: ‘X11/Xlib.h‘ file not found
# include <X11/Xlib.h>
^
1 error generated.
error: command ‘cc‘ failed with exit status 1
解决:
sudo pip install pillow
原文:http://www.cnblogs.com/abeen/p/3937568.html
评论(0)