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