windows 10 python 3.9 manually install tkinter code example Example: how to install tkinter sudo apt-get install python3-tk