When I try to import tkinter
, this is the message I get:
Traceback (most recent call last):
File "Num_inc_dec.py", line 1, in <module>
from Tkinter import *
ImportError: No module named Tkinter
I've searched for my error and have found nothing. I've tried just typing import Tkinter
. I'm using python 2.7, but just in case I have also tried using a lower case t
.
Additional:
I'm using cygwin to launch my .py
files as I'm new to programming, and that was in the tutorial to setting up an environment to work in that I used. I suspect this is part if not the error as I can find nothing online fixing my problem.
Edit: I fixed it. When installing cygwin I had to enable something to get it to work. I searched tkinter and enabled it from the thing that came up.