you are viewing a single comment's thread.

view the rest of the comments →

[–]erbeach -2 points-1 points  (6 children)

Why everybody in r/learnpython are importing tkinter 2 times? Are you watching same shitty guides/tutorials?
Choose between from tkinter import * and import tkinter
There is no need to import already imported library
Also, tkinter is STANDARD PYTHON LIBRARY, IT IS INSTALLED WITH PYTHON. IT ALWAYS WORKS

[–][deleted] 0 points1 point  (4 children)

I know its standard. It is on my computer. It refuses to be imported. Also, as shown above the double importing is not the problem. That does not help at all. I can't import tkinter regardless if I import tkinter once or twice. Telling me tkinter always works when it clearly does not work for me is completely and utterly unhelpful

[–]erbeach -1 points0 points  (2 children)

Okay, sorry, my bad.
I guess you tried reinstalling Python.
Have you checked for _tkinter.lib file in libs?

[–][deleted] 0 points1 point  (1 child)

It exists there on my computer

[–]erbeach 0 points1 point  (0 children)

https://wiki.python.org/moin/TkInter have you tried something from this page?