[ZODB-Dev] repozo import question

Dieter Maurer dieter at handshake.de
Tue Jul 27 15:12:48 EDT 2004


Raphael Badin wrote at 2004-7-27 17:19 +0200:
>        I'm trying to use repozo for backup and I came across an import error:
>after setting PYTHONPATH to /zope/Zope-2.7.0-src/lib/python/, I get the
>following import error :
>  File "/zope/Zope-2.7.0-src/lib/python/ZODB/__init__.py", line 18, in ?
>    import cPersistence, Persistence
>ImportError: No module named cPersistence

Apparently, either the ZODB was not installed correctly or
your PYTHONPATH is still lacking an essential directory.

Check your file system for an "cPersistence.so".
If there is no such shared object, your ZODB is not installed/generated
correctly -- reread the installation instructions...

If it is there, add the corresponding directory to "PYTHONPATH".

-- 
Dieter


More information about the ZODB-Dev mailing list