[python] How to pip or easy_install tkinter
The Tkinter library is built in with every Python installation. And since you are on windows, I believe you installed python through the binaries on their website?
if so, Then most probably you are typing the command wrong. It should be:
import Tkinter as tk
Note the capital T at the beginning of Tkinter.
For Python 3,
import tkinter as tk
My Idle is throwing errors that and says
tkinter can't be imported.
Is there a simple way to install
There seem to be a lot of package names flying around for this...
This and other assorted variations with
tkinter-pypy aren't working.
pip install python-tk
I'm on Windows with Python 2.7 and can't
if your using python 3.4.1 just write this line
from tkinter import * this will put everything in the module into the default namespace of your program. in fact instead of referring to say a button like
tkinter.Button you just type
When you install python for Windows, use the standard option or install everything it asks. I got the error because I deselected tcl.