idle on linux
tebeka at cs.bgu.ac.il
Sun Mar 16 09:41:22 CET 2003
> I've tried to install idle in RedHat 8.0
> Installed python tools, tcl, tk
> But when I start idle at the prompt ('/usr/bin/idle') I get the following
> Traceback (most recent call last):
> File "/usr/lib/python2.2/site-packages/idle/idle.py", line 3, in ?
> import PyShell
> File "/usr/lib/python2.2/site-packages/idle/PyShell.py", line 13, in ?
> from Tkinter import *
> ImportError: No module named Tkinter
> can anyone tell me what's wrong, and how to fix it.
idle uses Tkinter module (a wrapper for tcl/tk). Look like your Python
wasn't built with tkinter. If you built Python manually then edit
Modules/Setup in the source directory. Look for _tkinter.
More information about the Python-list