How do I get bsddb on windows/python3.5?

Posted by jvanwall1239 on 2017-01-31 18:21

The ActivePython 3.5 User Guide states: "ActivePython includes the Python core and the many core extensions: zlib and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) database libraries." I have been looking for information on how to use it. Please point to any doc that can help.

grahams
ActiveState Staff
Wed, 2017-02-01 16:36

https://www.jcea.es/programacion/pybsddb.htm
Note that all testing and development of bsddb3 is for Unix and BSD.
Pip install bsddb3 will fail on windows because it can't build the necessary Berkeley DB libraries. That would have to be done manually.

See the docs from Python.org:
https://docs.python.org/2/library/bsddb.html

bsddb was deprecated back at 2.6 and has been removed from Python3

jvanwall1239 | Thu, 2017-02-02 08:37

I keep running into the fact that Python doc does not make it clear that BSDDB, GDBM and NDBM have been depreciated in Python3. It would help a lot if it were made clear in ActivePython 3.5 User Guide that it's comments only applied to ver 2.6.

Please close this thread.