[Zope] import problem

Michel Pelletier michel@digicool.com
Wed, 7 Jul 1999 09:29:35 -0400


> -----Original Message-----
> From: jiri stepan [mailto:zope@etnetera.cz]
> Sent: Wednesday, July 07, 1999 3:51 AM
> To: zope conference
> Subject: [Zope] import problem
> 
> 
> hello
> I have some problems with importing packages. I have python 1.4 
> and Zope-1.10.2.
> While trying import package (for example BoboPOS) I get folowing
> 
> ----------
> Python 1.4 (Nov  4 1997)  [GCC 2.7.2.3]
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import ni
> >>> import BoboPOS
> WARNING: Python C API version mismatch for module cPersistence:
>   This Python has API version 1006, module cPersistence has version
> 1007.
> WARNING: Python C API version mismatch for module ExtensionClass:
>   This Python has API version 1006, module ExtensionClass has version
> 1007.
> WARNING: Python C API version mismatch for module cPickle:
>   This Python has API version 1006, module cPickle has version 1007.
> "can't initialize module cPickle":
>         'ImportError', 'No module named copy_reg'
> Fatal Python error: "can't initialize module cPickle"
> Aborted
> ---------
> 
> Is it caused by old version of C API ?
> 

This is caused by your older version of Python. Zope 1.10.x requires
Python 1.5.1 (NOT 1.5.2)

-Michel

> jiri Stepan
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>