[Image-SIG] PIL on Mac OS X: _imaging C module not installed
Wed, 14 May 2003 22:12:29 +0100
I'm having a little trouble getting PIL to work on my Mac OS X (10.2.6)
system. I have python2.3a2 installed as a framework (along with Tcl and Tk),
and PIL 1.1.4. Both python and PIL are built from source.
My PIL is installed in:
kages/PIL $ ls
ImageDraw.py PSDraw.py _imaging.so*
ImageDraw.pyc PSDraw.pyc _imagingft.so*
ImageEnhance.py PaletteFile.py _imagingtk.so*
In python, import Image works, but then I get runtime errors of:
ImportError: The _imaging C module is not installed
Here's the output of a python -v (Note that _imaging.so does indeed exist in
path and that Image.pyc is being loaded from the same directory):
Python 2.3a2 (#1, Apr 24 2003, 16:37:26)
[GCC 3.1 20020420 (prerelease)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
import Image # precompiled from
import FixTk # precompiled from
import ImagePalette # precompiled from
import array # dynamically loaded from
import operator # dynamically loaded from
>>> import _imaging
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named _imaging
Any assistance that anyone can provide would be great. Thanks in advance!