I need to have Python, Tcl/tk, and Tkinter to try some coding exercises. I noticed Mint 7 comes with python 2.6.2. In python interactive mode I ran,
Code: Select all
>>> import Tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 42, in <module>
raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the python-tk package
I was wondering how to make sure I have Tcl/tk and Tkinter. If I don't how to get and install them.