I want to make a GTK+2 or GTK+3 application in Python 3.
For GTK+2, I tried installing
PyGTK, but I cannot find any version of
PyGTK for Python 3 within Debian's repositories.
For GTK+2, I followed the tutorials in the Python Gtk+3 Tutorial. I installed
python3-gi, but when I type
python3 in the terminal, then type
from gi.repository import Gtk, it reports this:
ImportError: cannot import name Gtk
How can I install GTK+2 or GTK+3 for use with Python 3 on Debian?