This content has been marked as final. Show 7 replies
The Python bindings for BDB are done by folks that are responsible for Python. They are in the process of completing the bindings for are most recent release but I do not know if they are doing those for Python 2.x or 3.x. I will pass along to them, that there is interest in BDB bindings for Python 3.x.
bsddb3/pybsddb project woks on Python 2.4, 2.5, 2.6, 2.7, 3.2 and 3.3, and Berkeley DB 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 5.0, 5.1, 5.2 and 5.3. Support for 6.0 will be available when Oracle releases it.
Python 3.1 is supported too.
Thank you, I have check this site.
The problem is, they explain how to use Berkeley DB, but not how to install it.
I think it is because it was preinstalled in 2.x.
And for more information they say to visit this site.
"Berkeley DB is very powerful and versatile, but it is complex to use correctly. _Oracle documentation_ is very complete. Please, review it."
I want to find a guide how to install on 3.x.
Please, subscribe to pybsddb mailing list and post your question there.
I am the documentation writer, and I am glad to rewrite the install section until it is "obvious" :), with your help.
It should be simply a) download the package and b) "python3 setup.py install".
It should be but it is not.
setup.py gives errors:
Traceback (most recent call last):
File "setup.py", line 7, in <module>
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\\db.h'
I am using Windows 7 x64, Python 3.3.2.
Edited by: 1009721 on Jun 6, 2013 11:23 PM
Please, subscribe to pybsddb mailing list. Lets keep talking there. https://mailman.jcea.es/listinfo/pybsddb