[Image-SIG] mismatch version

Fredrik Lundh fredrik at pythonware.com
Wed Dec 21 20:22:31 CET 2005


Matthew Lange wrote:

> Received this warning about mismatch version when trying to install PIL.,
> wondering how to fix:
>
> -bash-2.05b$ /usr/local/python2.3/bin/python selftest.py
>
> PIL/Image.py:52: RuntimeWarning: Python C API version mismatch for module
> _imaging: This Python has API version 1012, module _imaging has version
> 1011.

PIL's picking up a version of _imaging built for an older version of Python.
try:

    $ python
    >>> import _imaging
    >>> _imaging.__file__

to see what file it uses.

</F>





More information about the Image-SIG mailing list