[ZODB-Dev] trying to use zodb for standalone with python2.5 and windows

bussiere maillist bussieremaillist at gmail.com
Tue Dec 5 19:18:41 EST 2006


i've installed zodb, i'am under windows with python2.5
i've dl the source and done python setup.py install

the main goal is to use only zodb instead of gadfly (no LIKE in gadfy)
for a personnal application.

but when it put this code :
from ZODB import FileStorage, DB

storage = FileStorage.FileStorage('test-filestorage.fs')
db = DB(storage)
conn = db.open()

i've got a :
Traceback (most recent call last):
  File "D:\Programmation\ZODB\test.py", line 1, in <module>
    from ZODB import FileStorage, DB
  File "C:\Python25\Lib\ZODB\__init__.py", line 20, in <module>
    from persistent import TimeStamp
  File "C:\Python25\Lib\persistent\__init__.py", line 19, in <module>
    from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: No module named cPersistence

i've tried to look on the web but i didn't find any good response to this.
if anyone can help it will be very nice
Regards and thanks
Bussiere


More information about the ZODB-Dev mailing list