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 - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to