How to determine what version of python3 tkinter is installed on my linux machine?

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.

Leave a Comment