I am installing tkinter on python3 by running:
$ sudo apt-get install python3-tk
This returns (translated): $ python3-tk is already in its latest version (3.6.9-1~18.04)
However, when I run:
from tkinter import ttk
I get the following error message:
ImportError: cannot import name 'ttk'
import tkinter? Either you will get an error (but not the exact same error) or it will succeed. If it succeeds, what do you get when you next doprint(tkinter.__file__)?