Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Python by (47.6k points)

Does it work like the other libraries where we use the pip to install a library?

1 Answer

0 votes
by (106k points)
edited by

You can install the Tkinter on windows by following the below-mentioned steps:-

Install Tkinter for Python (for Windows):

Firstly download the Community Edition of ActivePython for Windows and make sure you're downloading a 3.1 or newer version, not a 2.x version.

After downloading run the installer, and follow along. This will end up with a fresh install of ActivePython, located in, e.g. C:\python32. Go to the Windows command prompt, or the Start Menu's "Run..." command, you should then be able to run a Python shell via:

% C:\python32\python

The above step will give you the Python command prompt. From the prompt, enter these two commands:

>>> import tkinter

>>> tkinter._test()

The above step will pop up a small window; the first line at the top of the window should say "This is Tcl/Tk version 8.5"; make sure it is not 8.4!

To Learn what is python and python applications then visit this Data Science with Python Course.

Related questions

0 votes
1 answer
asked Jul 15, 2019 in AWS by yuvraj (19.1k points)
0 votes
1 answer
asked Oct 3, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer
+9 votes
1 answer

Browse Categories

...