Newbie question: Install Tkinter with Python2.5

TK tokauf at web.de
Thu Feb 22 15:57:09 EST 2007


Hi there,

how can I install Tkinter with Python2.5? I can install Python2.5 
(tarball) in the usual way but there is no Tkinter? What's wrong?

Traceback (most recent call last):
File "mbox.py", line 12, in <module>
from Tkinter import *
File "/usr/local/lib/python2.5/lib-tk/Tkinter.py", line 38, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

o-o

Thomas



More information about the Python-list mailing list