I am running Windows 7 and have Python 3.3 64 bit installed. I seem to have a problem importing the tkinter module, I can import it fine through the python IDLE and it will work, but when I save the .py file and double click it, a cmd window will open and say:
Traceback (most recent call last):
File "C:Users\username\Desktop\g.py", line 3, in <module>
from tkinter import *
ImportError: No module named tkinter
I have tried the following:
- I have tried - import tkinter,- from tkinter import *, and- import tkinter as tkand they don't seem to work when the- .pyfile is opened directly (double clicked).
- I also double checked the path variable and it was set correctly. 
- I uninstalled python and reinstalled it. 
- I checked to see if tkinter is in the folder C:\Python33\Lib\, and it is. 
- I do have a - mainloop()in my program.
- In my program, tkinter is all lowercase. 
- I tried a lot of solutions online from other posts, and they didn't work for me. 
The top of my code is:
import sys
from tkinter import *
I don't know what I am missing, any suggestions?
 
     
     
    