May 2018
Beginner to intermediate
452 pages
11h 26m
English
Most Linux distributions include both Python 2 and Python 3, however, Tkinter is not always bundled with it or installed by default.
To find out if Tkinter is installed, open a Terminal and try the following command:
python3 -m tkinter
This should open a simple window showing some information about Tkinter. If you get ModuleNotFoundError instead, you will need to use your package manager to install your distribution's Tkinter package for Python 3. In most major distributions, including Debian, Ubuntu, Fedora, and openSUSE, this package is called python3-tk.