rahulcs754
rahulcs754

Reputation: 39

how to install tkinter using pip in windows 10

When i try to install tkinter with the command pip install tkinter in windows 10 I get this error:

Could not find a version that satisfies the requirement tkinter(from versions: ) No matching distributions found for tkinter

Upvotes: 3

Views: 33686

Answers (2)

Suresh Sam
Suresh Sam

Reputation: 47

use pip install tkintertable it also imports Tkinter

Upvotes: 3

Anshuman Tiwari
Anshuman Tiwari

Reputation: 454

Tkinter comes bundled with Python. You can use python -m Tkinter to check the windows demonstration of Tk interface, which lets you know if Tkinter is installed properly on your system or not.

In case Tkinter is not present on your system, I would recommend reinstalling Python distribution(in case you are using a stale version).

In case your version is also updated and still the problem exists, please install using the binaries. The process is mentioned on the official site here.

Upvotes: 5

Related Questions