Mavericks and PIL installation is missing

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

Mavericks and PIL installation is missing
PIL installation with pip
jupyter and pandas installation
Metaclass and is instance
Update to OS X 10.9 Mavericks and revive PIL for GAE
Python installation and basic grammar
[Python] Python and security-① What is Python?
Django installation and operation check
Scrapy installation troubles and solutions
Tomcat installation and autostart settings
Identity and equivalence Python is and ==
Source installation and installation of Python
Python (Python 3.7.7) installation and basic grammar