IDLE : python 2.2 on RH 7.2

Joonas Paalasmaa joonas at olen.to
Fri Jan 4 18:09:58 EST 2002


"A.M." wrote:
> 
> Hi,
> I just set up a linux box with RH 7.2 and then upgraded python from
> 2.1 to 2.2
> After I was done I tried to start up IDLE and the version number it
> showed me was 1.5.2. On doing an rpmfind I realized that RH 7.2 come
> with both python 1.5.2 and 2.1 but uses 1.5.2 for most of the stuff...
> 
> Now when I try to start up the IDLE in the /usr/lib/python2.2/Tools
> dir it deosnt start up. How do i get IDLE with both python version to
> run or at least switch between the two python versions or at least get
> 2.2 running.
> 
> Is there a conf file I can look up or something..
> 
> I installed using RPMs and did a :
> rpm -Uv py*;
> It installed all right and I can start the interpreter by typing in
> python2. How do I get IDLE working for 2.2???
> 
> The error I get when I try to run the IDLE in 2.2 :
> 
> [aseem at michelangelo]# ./idle
> Traceback (innermost last):
>     File "./idle", line 5, in ?
>         from idlelib import IdleConf
> ImportError: No module named idlelib
> 
> Where is this idlelib, how come it doesnt give me an error when I do
> the same in python 1.5.2.
> 
> Almost the same thing happens when I do a python idle.py

Try "python2 idle.py" at /usr/lib/python2.2/Tools 

> But this time with a module called warnings.
> 
> Any help would be greatly appreciated...
> Thanks,
> Aseem



More information about the Python-list mailing list