I don't know much about it, so it's just an overview.
$ sudo pip install PIL
The following error log.
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/clude/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
When I updated my Mac to Marvericks, the Python library was missing, so when I reinserted it, PIL did not enter in this situation.
I found a lot of googles stack overflow around here
$ xcode-select --install
It's okay if you do it after that.
I see. The command line tool of Xcode may disappear when the OS is updated. So if you put it back in, it will be okay.
Recommended Posts