idle on linux

Miki Tebeka tebeka at
Sun Mar 16 09:41:22 CET 2003

Hello Luke,

> 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 
> message:
> Traceback (most recent call last):
>   File "/usr/lib/python2.2/site-packages/idle/", line 3, in ?
>     import PyShell
>   File "/usr/lib/python2.2/site-packages/idle/", 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 mailing list