xxxxxxxxxx
# for pip and windows, in cmd, write:
pip install tk
How to install Tkinter on windows
xxxxxxxxxx
> pip install tk
OR
> pip3 install tk
OR
> python3 -m pip install tk
xxxxxxxxxx
no need to install it. It is usually preinstalled by default. Make sure you
write tkinter correctly (with capital letter T on versions less than python 3)
while importing