In this article you will learn how to install Tkinter on windows platform. If you are using python 3 and above version than there is no need to explicitly install Tkinter. It has been already installed with your python setup.
How to check if Tkinter is installed on your python
Execute below command on terminal
py -m tkinter
or
python -m tkinter
You will see below window, its mean that you have already installed tkinter.
If you don't see the above window or getting some error than reinstall your python or modify the existing setup. Just double click on python setup file and click on "Modify".
Uncheck all the options except tck/tk and IDLE and click on "Next" button and follow the Python installation steps.
After this hopefully you have Tkinter on your windows.
0 Comments