pythontkintermodule

Why is there no tkinter distribution found?


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?


Solution

  • The Tkinter library comes in default with every Python installation

    Try this:

    import Tkinter as tk