Why is there no tkinter distribution found?

Syed Hissaan picture Syed Hissaan · Oct 8, 2016 · Viewed 61.9k times · Source

I am having a problem during the installation of tkinter. I have version 2.7.11. I entered the pip install tkinter on dos but it shows the following message:

collecting tkinter

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

I have successfully installed flask with the same procedure, but for tkinter it is showing problem. How can I get rid of this problem?

Answer

You should install

apt-get install python-tk

This should solve your issue