Install libpython-dbg by entering the following commands in the terminal:
sudo apt update sudo apt install libpython-dbg
Description:
debug build of the Python Interpreter (version 2.7)
Python interpreter configured with --pydebug. Dynamically loaded modules are searched in /usr/lib/python2.7/lib-dynload/debug first.
Homepage: http://www.python.org/
Version: 2.7.15~rc1-1
Section: debug