Ubuntu – No module named ‘gdbm’

python3

I just finished installing python 3.5.1 on my Ubuntu, but am faced with this error message, regardless if I'm installing with Anaconda or with apt-get:

No module named 'gdbm'

that normally displays on my terminal. I have also tried installing gdbm using:

sudo apt-get install gdbm

but doesn't solve the problem. Can I get a help on how to fix this problem from anyone here?

Best Answer

sudo apt-get install python3.5-gdbm

helped me