Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Add PIL installation instructions for Mac OS X #185

merged 1 commit into from

2 participants


Just had to get PIL on Mac OS X, and this worked for me to get libjpeg & freetype2 support.
Let me know if my formatting is wrong; I didn't get a chance to see the output.



@kennethreitz kennethreitz merged commit 28f993a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 16, 2012
  1. @akavlie
This page is out of date. Refresh to see the latest.
Showing with 16 additions and 2 deletions.
  1. +16 −2 docs/scenarios/imaging.rst
18 docs/scenarios/imaging.rst
@@ -35,8 +35,22 @@ Ubuntu 11.04
Installing on Mac OS X
-.. todo::
- Notes on installing on Mac OS X
+PIP doesn't know about the Mac OS X Freetype paths. To rectify that:
+.. code-block:: bash
+ $ ln -s /usr/X11/include/freetype2 /usr/local/include/
+ $ ln -s /usr/X11/include/ft2build.h /usr/local/include/
+ $ ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/
+ $ ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.dylib
+.. code-block:: bash
+ $ brew install libjpeg
+ $ pip install PIL
Installing on Windows
Something went wrong with that request. Please try again.