Can't install PIL after Mac OS X 10.9 - TechRepublic
Question
December 30, 2022 at 09:10 AM
auteur.intents.0z

Can’t install PIL after Mac OS X 10.9

by auteur.intents.0z . Updated 3 years ago

I’ve just updated my Mac OS to 10.9 and I discovered that some (all?) of my Python modules are not here anymore, especially the Image one.

So I try to execute sudo pip install pil, but I get this error:

/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
My Xcode is up-to-date and I don’t have any idea. Is it possible that PIL is not yet 10.9 compatible ?

This discussion is locked

All Comments