[Image-SIG] Installing: "The _imaging C module is not installed"

Simon Clay simon.clay at imperial.ac.uk
Fri May 13 19:33:45 CEST 2005


Hi.

  I'm trying to install PIL with python 2.3.3 on a Debian Linux box.
There are no errors from setup.py, and the summary looks like this:

--------------------------------------------------------------------
PIL 1.1.5 BUILD SUMMARY
--------------------------------------------------------------------
version       1.1.5
platform      linux2 2.3.3 (#1, May  6 2004, 13:40:17)
              [GCC 2.95.4 20011002 (Debian prerelease)]
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
--- FREETYPE2 support ok
--------------------------------------------------------------------

Then I run selftest.py, and get:

*** The _imaging C module is not installed

Some quick googling turned up this list, and:
http://effbot.org/zone/pil-imaging-not-installed.htm
which talks about this very problem.  Following the instructions there,
all is well until:

>>> import _imaging
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: /home/simon/python/tmp/Imaging-1.1.5/PIL/_imaging.so:
undefined symbol: __ctype_b_loc

I'm not quite sure where to go from here.  Any suggestions are
welcome...

	Simon.



More information about the Image-SIG mailing list