I made a liveUSB of the cooking slitaz iso. I have installed python and TCL and when I try to run a python script (which perfectly runs on ubuntu), I get an error:
Traceback (most recent call last):
File "SeqyGUI.py", line 9, in <module>
from Tkinter import *
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
I found that it may append when python is installed before TCL/Tk (tkinter). I tried to resinstall python and python dev after TCL and TCL dev but I still have the problem.
Tkinter and TCL/TK are not the same thing. Tkinter is a python module that gives a python programmer access to the TK library and it gets installed with python, not TCL/TK.
Anyway, I checked and Tkinter does come with your cooking's python install. This means the problem is probably the script and how it's trying to use Tkinter. The reason it works with Ubuntu is because Ubuntu still ships with the 2.6.* series of Python because there were changes in 2.7 with syntax so that it's closer to Python 3000, which would make converting and upgrading easier. This has the nasty side effect of breaking scripts that was written for an older version of Python. Like you can see now.