pip _tkinter code example Example: how to install tkinter for python # for pip and windows, in cmd, write: pip install tk