Tkinter Not Found
You may have both Python 2.x and Python 3.x. And py
extension is linked to Python 2.x interpreter. And your python script is designed to run with Python 2.x.
In Python 3, Tkinter
module was renamed to tkinter
(lowercase).
Make a script as follow, then run it by clicking it, and run it in command. You may get different results:
import sysprint(sys.version)input()
ImportError: No module named 'Tkinter'
In Python 3 Tkinter
is changed to tkinter
Try import tkinter as tk
Hope it helps!