Configuring IDLE on Linux

Ten runlevelten at gmail.com
Sat Jul 15 06:58:53 EDT 2006


On Friday 14 July 2006 04:26, Satya Kiran wrote:
> Hello,
> I have upgraded to Python2.4 on my Red Hat 9.0 Linux box.
> I want to work with IDLE and ran a search to check it's presence.
>  Here is what I get.
>
> [root at localhost bin]# find / -iname idlelib
> /usr/local/lib/python2.4/idlelib
>
> [root at localhost bin]# cd /usr/local/lib/python2.4/idlelib
> [root at localhost idlelib]# python PyShell.py
> ** IDLE can't import Tkinter.  Your Python may not be configured for Tk. **
>
> How do I resolve this and get IDLE working?
>
> thanks in advance,
> Kiran Satya

You need to install python's tkinter functionality separately in some 
RPM-based distros (suse and redhat off the top of my head).

Search your package repository for the package called python-tkinter (it may 
be named slightly differently on redhat - ie: python_tkinter, but whichever, 
that's the one)

HTH

Ten
-- 
There are 10 types of people in this world,
those who understand binary, and those who don't.



More information about the Python-list mailing list