[Image-SIG] Python2.2 and PIL1.1.3

Fredrik Lundh fredrik@pythonware.com
Wed, 14 Aug 2002 22:13:19 +0200


Dong H. Ahn wrote:

> /usr/apps/python/opt/lib/python2.2/site-packages/PIL/Image.py:53: 
> RuntimeWarning: Python C API version mismatch for module _imaging: This 
> Python has API version 1011, module _imaging has version 1010.
>    import _imaging
> /usr/apps/python/opt/lib/python2.2/site-packages/PIL/ImageTk.py:123: 
> RuntimeWarning: Python C API version mismatch for module _imagingtk: This 
> Python has API version 1011, module _imagingtk has version 1010.

this means that you've built the library using include files for
Python 2.1, but are running them with a 2.2 interpreter.

one common reason is that you had a 2.1 interpreter installed
as "python" when you ran the build file.

</F>