X11 Error when trying to pip install things

Issues when trying to pip install Pillow in OSX 10.12. I was getting:


fatal error: fatal error'X11/Xlib.h' file not found:

Steps to fix:

sudo ln -s /opt/X11/include/X11 /usr/local/include/X11

I hope this helps someone else! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *