So last night I tried to start working with tkinter, and I sifted through several articles and youtube videos on how to install it. I (thought) installed it through brew, as well as a package download of activeTCL. I am just trying to make a simple program. this is all it is:
from tkinter import *
root = tk()
label1 = Label(root, text = "tkiner test")
label1.pack()
root.mainloop()
But, when I run it in terminal, I get this error:
Traceback (most recent call last): File "copmeter.py", line 1, in from tkinter import * ImportError: No module named tkinter
Can someone explain what I am doing wrong? or what I have to do exactly to install tkinter? thanks in advance.