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
For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to