Install python-gtk2 by entering the following commands in the terminal:
sudo apt update sudo apt install python-gtk2
Description:
Python bindings for the GTK+ widget set
This archive contains modules that allow you to use GTK+ in Python programs. . This package is deprecated, you should migrate to using gobject-introspection (GIR) based python bindings instead (PyGObject). https://wiki.gnome.org/Projects/PyGObject/IntrospectionPorting
Homepage: http://www.pygtk.org/
Version: 2.24.0-5.1ubuntu2
Section: universe/python