I use Python 3.6 in an anaconda environment. I installed GDBM with
conda install gdbm
The installation went well, however I can\'t use
Although the question is for Python3, I got here while trying to install gdbm
on Python2 so I post my answer as it may be useful for others. The correct command was conda install python-gdbm
. Although conda install gdbm
went through, the module couldn't be imported. As per here, however, this may not work for Python3.