Tkinter on IRIX and Linux

Junjun Mao jmao at zikai.org
Tue Aug 21 00:39:27 EDT 2001


I compiled Python 2.0 on IRIX and Linux. Neither of them supports
tkinter. When I import Tkinter:

File "/usr/lib/python2.0/lib-tk/Tkinter.py", line 35, in ?
import _tkinter # If this fails your Python may not be configured for Tk

ImportError: No module named _tkinter

Should I configure the PYTHONPATH or compile tkinter separately?

If this has been answered, please point out the link.

Thanks

Junjun




More information about the Python-list mailing list