[Python] Install PIL on Mac OSX
If you try to use truetype font or jpeg library on MacOSX wih Python + PIL, it complains. Somehow those libraries are missing in mac now (it was working in windows). Here is how to install:
- Download those component see http://wiki.python.org/moin/MacPython/UniversalLibrariesAndExtensions
also check:<br />http://freetype.sourceforge.net<br />http://www.ijg.org/files/jpegsrc.v6b.tar.gz
-
build them
-
./configure
-
make
-
sudo make install
-
Get PIL from http://www.pythonware.com/products/pil/
-
sudo python setup.py install
Make sure you get those messages
--- TKINTER support ok
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
--- FREETYPE2 support ok
By: kiichi on: