[Zope] Linux, Zope, Python versions not playing well together?

Dieter Maurer dieter@handshake.de
Sat, 10 Feb 2001 14:39:36 +0100 (CET)


Gary Perez writes:
 > .... Linux 2.4.1
 > kernel, Python 2.0, Zope 2.2.2. (Call it "ProdBox").
 > ...
 > WARNING: Python C API version mismatch for module cStringIO:
 >   This Python has API version 1009, module cStringIO has version 1007.
Quite a good error message!

  Python's C API has changed from 1.5.2 to 2.0.

  You will see this for all shared objects.


What you could try to do:

  Fetch a Zope source distribution.
  Compile it with Python 2.0.

This will not work out of the box.

Have a look at the 2.3 Zope distribution. It has
special generation scripts for Python 2.0.
Try to patch your Zope 2.2.2 accordingly.

Or speak with your Powers to switch to 2.3.


Dieter