Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 482e56c

Browse filesBrowse files
committed
Add Mac OS X PIL installation instructions
1 parent bbb1c2e commit 482e56c
Copy full SHA for 482e56c

File tree

Expand file treeCollapse file tree

1 file changed

+16
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+16
-2
lines changed

‎docs/scenarios/imaging.rst

Copy file name to clipboardExpand all lines: docs/scenarios/imaging.rst
+16-2Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,22 @@ Ubuntu 11.04
3535
Installing on Mac OS X
3636
~~~~~~~~~~~~~~~~~~~~~~
3737

38-
.. todo::
39-
Notes on installing on Mac OS X
38+
PIP doesn't know about the Mac OS X Freetype paths. To rectify that:
39+
40+
.. code-block:: bash
41+
42+
$ ln -s /usr/X11/include/freetype2 /usr/local/include/
43+
$ ln -s /usr/X11/include/ft2build.h /usr/local/include/
44+
$ ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/
45+
$ ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.dylib
46+
47+
then:
48+
49+
.. code-block:: bash
50+
51+
$ brew install libjpeg
52+
$ pip install PIL
53+
4054
4155
Installing on Windows
4256
~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.