In Python 3, it’s tkinter with a small t, and you need to import it. Thus:
>>> import tkinter
>>> tkinter.TkVersion
8.6
If you didn’t import it, you’d get the error you mentioned.
In Python 3, it’s tkinter with a small t, and you need to import it. Thus:
>>> import tkinter
>>> tkinter.TkVersion
8.6
If you didn’t import it, you’d get the error you mentioned.