You might need to add tkinter from your repository. Last time I did this on an Ubuntu distributions, I think the command line was something like:
sudo apt-get install python3-tk
Change python3 to python for the python 2 version.
Hopefully, Xubuntu is close enough to Ubuntu for this to work.
After the install, enter either python or python3 in a terminal session. If this works, then enter import tkinter. If that looks happy with no error message, you should be good to go.
Watch the case carefully since there are differences in python 2 and python 3. I seem to remember python 2 used Tkinter while python 3 uses tkinter (at least under Suse Tumbleweed).
|