It seem like pip install tkinter
has been renamed to pip install tk
. But when I try to run it, this happens:
AttributeError: module 'tk' has no attribute 'Tk'
This is my Code:
import tk
from tk import *
base = Tk()
## base = tk.Tk() does not work as well
Also, there is no file in my directory named tkinter
or tk
and on Tkinter page has no mention about the change. Is anyone facing the same issue?
Any help appreciated. Thanks in advance.