[pybsddb] How to install BSDDB on Windows 7 with Python 3.x?

Sasha sonyachiko at yahoo.co.jp
Fri Jun 7 14:32:15 CEST 2013


I have never used Berkeley DB before, but I would like to try.

I am having problems installing it to use with Python 3.x.

When I run "setup.py" I get the following error:

C:\Users\3X\Desktop\bsddb3-5.3.0>python setup.py
Traceback (most recent call last):
File "setup.py", line 7, in <module>
import setup3
File "C:\Users\3X\Desktop\bsddb3-5.3.0\setup3.py", line 322, in <module>
db_h_lines = open(os.path.join(incdir, 'db.h'), 'r').readlines()
FileNotFoundError: [Errno 2] No such file or directory: 'db/include

I am using Windows 7 x64, Python 3.3.2.

Any ideas?

Thank you

More information about the pybsddb mailing list