Django/PIL Error - Caught an exception while rendering: The _imagingft C module is not installed
django, macos, python, python-imaging-library
Solution
I've had this problem as well. Couldn't resolve it with PIL 1.1.6 nor with PIL 1.1.7. I installed py26-pil from ports and presto, it works.
sudo port install py26-pil
If you don't have ports, go to http://www.macports.org/
Problem
I'm trying to run a webapp/site on my machine, it's running on OSX 10.6.2 and I'm having some problems: ``` Caught an exeption while rending: The _imagingft C module is not installed ``` Doing import _imagingft in python gives me this: ``` >>> import _imagingft Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(/Library/Python/2.6/site-packages/PIL/_imagingft.so, 2): Symbol not found: _FT_Done_Face Referenced from: /Library/Python/2.6/site-packages/PIL/_imagingft.so Expected in: flat namespace in /Library/Python/2.6/site-packages/PIL/_imagingft.so ``` It's seems that the Freetype library is the one having problems. No errors so far when installing PIL or when I compiled(?) the jpeg and freetype libraries so far. I'm on django 1.1.1, python 2.6.2.