-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Chris McGreavy edited this page Nov 15, 2022
·
1 revision
The error message:
ModuleNotFoundError: No module named 'tkinter'
may be raised, especially in later versions of python (=>3.10). Tkinter was included in the base python install in previous versions, but in more recent versions is installed with pythonx.x-full
.
To fix, either install python3-level via apt:
sudo apt install python3-tk
OR
Install version specific tkinter via apt, where x
is the required python version (e.g. sudo apt install python3.10-tk
for python3.10):
sudo apt install python3.x-tk
OR
Install the wider python distribution for your version via apt, where x
is the version number:
sudo apt install python3.x-full