Install python3-gdbm by entering the following commands in the terminal:
sudo apt update sudo apt install python3-gdbm
Description:
GNU dbm database support for Python 3.x
GNU dbm database module for Python 3.x. Install this if you want to create or read GNU dbm database files with Python.
Version: 3.6.5-3
Section: python