Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   70% [* SPAM *] shelve trying to import bsddb (http://www.velocityreviews.com/forums/t743638-70-spam-shelve-trying-to-import-bsddb.html)

DPalao 02-16-2011 01:18 PM

70% [* SPAM *] shelve trying to import bsddb
 
Dear all,
I'm trying to use shelve to store some data, but sheve itself tries to import
bsddb, which results in:

> File "/usr/lib64/python2.6/shelve.py", line 239, in open
> return DbfilenameShelf(filename, flag, protocol, writeback)
> File "/usr/lib64/python2.6/shelve.py", line 223, in __init__
> Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
> File "/usr/lib64/python2.6/anydbm.py", line 82, in open
> mod = __import__(result)
> File "/usr/lib64/python2.6/dbhash.py", line 8, in <module>
> import bsddb
> ImportError: No module named bsddb


I know that the new bsddb3 should be used, so what can I do?
TIA,

D


All times are GMT. The time now is 04:27 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.