problems importing "bsddb"

John D. lists at webcrunchers.com
Tue Aug 12 16:59:59 EDT 2003


We are using OpenBSD latest release of Python (2.3),  and want to use the "bsddb" module.   Our python release has a directory called "bsddb",  but when we try and import it,   it says 

>>> import bsddb
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ?
    import _bsddb
ImportError: No module named _bsddb

Where can I find this module,  and how do I get it to work with my version of Python?

Has anyone else had this problem?

John







More information about the Python-list mailing list