[ZODB-Dev] Re: repozo import question
Raphael Badin
raphael.badin at sopinspace.com
Wed Jul 28 03:32:27 EDT 2004
Sorry guys, I was wrong with my import :
I set PYTHONPATH to /zope/Zope-2.7.0-src/lib/python/ (source) and the
installation path (where everything is compiled)
is /zope/Zope-2.7.0/lib/python/ ... all worked fine after that.
Your remark about a wrong installation gave me the hint ...
Thanks a lot,
Raphaël
> 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".
>
More information about the ZODB-Dev
mailing list