To the point of defeat.....IDLE

Steve Holden sholden at holdenweb.com
Thu Mar 1 09:41:14 EST 2001


"Deon Garrett" <garrett at cs.colostate.edu> wrote in message
news:slrn99s6tu.8rl.garrett at falcon.cs.colostate.edu...
> The best way to go is to completely wipe any traces
> of python rpms from your system before installing
> Python 2.0 from source.
>
> rpm -e python
>
> will fail because a bunch of stuff needs python.  But
> it will list all the packages that need it.  You should
> be able to look through the dependencies and find all
> the stuff you want to remove.
>
> rpm -e --nodeps python python-tools tkinter.......
>
> I assume that the python executable is installed in
> /usr/bin on RedHat 7.  If so, then run configure in
> the python 2.0 root directory with the --prefix=/usr
> option and all your scripts should still work.
>
> cd your/python2.0/root/dir
> ./configure --prefix=/usr (and any other options you want)
> make
> make install
>
> Then build any add-ons you want (Tkinter, NumPy, PIL, etc).
>
Has anyone actually verified that the myriad pieces of RedHat Python aren't
incompatible with 2.x? RedHat makes heavy use of Python for various system
configuration tasks, and I've always been cautious about replacing the
RPM-installed Python (so I installed newer versions
with --prefix=/usr/local).

regards
 Steve






More information about the Python-list mailing list