
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
Related posts:
- Installing Python 2.4.4 on Cent OS 4.4 (Final) We at ObjectGraph are moving to a dedicated hosting solution....
- Recompilining Apache with mod python After a long struggle with getting Django working with Apache,...
- [Python] Quick Watermark Example with PIL Quick example to show how you can use Python Imaging...
- Python Tutorial Everyone at OG is learning Python and related web frameworks...
- Installing mod_python on Apache Still struggling with Apache and mod_python, today I was able...
Related posts brought to you by Yet Another Related Posts Plugin.























One Response
Hi there.
Great installation help…thanks, fixed my problem.
Anyone reading this guys stuff should bookmark it.