I've been struggling with this all day. I am trying to get Python 2.5
running with the BerkeleyDB bindings provided by bsddb.
First, I downloaded the BerkeleyDB system (version 4.5) from
http://www.oracle.com/technology/products/berkeley-db/index.html.
Then, I downloaded bsddb from http://pybsddb
I fixed it! I had omitted the cascade of exceptions, but the previous
one to the one shown is:
File "/usr/local/lib/python2.5/dbhash.py", line 5, in
import bsddb
So I just went into dbhash.py and changed line 5 to import bsddb3 as
bsddb. Then everything started working as planned. Excellent!