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

Christian Theune ct at gocept.com
Tue Dec 5 20:17:13 EST 2006


Hi,

bussiere maillist wrote:
> 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

Your 'python setup.py install' didn't work. You need to have Visual
Studio (2003/.NET) installed to compile ZODB/Python Extensions.

Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20061206/17dc9cf9/signature.bin


More information about the ZODB-Dev mailing list