Wenn Sie mehr den Fehler deutlich zu lesen, es in einem Kommentar erwähnt mit, dass, wenn das Importieren _tkinter fehlgeschlagen ist, wird Ihr Computer verwenden nicht konfiguriert tkinter. Sie sollten tk und ttk herunterladen, damit es funktioniert.
Und Nach http://wiki.python.org/moin/TkInter:
If it fails with "No module named _tkinter" or "Tkinter", your Python configuration needs to be modified to include this module (which is an extension module implemented in C). Do not edit Modules/Setup (it is out of date). You may have to install Tcl and Tk (when using RPM, install the -devel RPMs as well) and/or edit the setup.py script to point to the right locations where Tcl/Tk is installed. If you install Tcl/Tk in the default locations, simply rerunning "make" should build the _tkinter extension.
versuchte ich. es war in der Datei ImageTk.py und funktionierte nicht, als ich es änderte – Caleb
Dann denke ich tkinter Modul ist nicht installiert.Bitte überprüfen und versuchen Sie es zu installieren, wenn es nicht mit diesem Code installiert in cmd 'python -m pip install tkinter' –