FAQ

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

Simon Clay
May 13, 2005 at 5:33 pm
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.
reply

Search Discussions

1 response

  • Fredrik Lundh at May 13, 2005 at 7:06 pm

    Simon Clay wrote:

    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...
    judging from

    http://lists.debian.org/debian-glibc/2003/06/msg00062.html

    your gcc install seems to be somewhat botched.

    </F>

Related Discussions

Discussion Navigation
viewthread | post

2 users in discussion

Simon Clay: 1 post Fredrik Lundh: 1 post