[users] python 2.4

Bogdan Costescu Bogdan.Costescu at iwr.uni-heidelberg.de
Tue Nov 7 19:21:06 CET 2006


On Tue, 7 Nov 2006, Ross Marshall wrote:

> Is there anyway to gracefully upgrade python?

First, I don't think that this is the best place to ask this 
question...

Python is quite well behaved in having several parallel installations 
on a system. Most of the files are located in different directories 
and you only need to name the executable differently (for example 
"python24" for the 2.4 version) to make them different from the system 
installed ones (called "python", "python2" and "python2.2").

> Or is there an easy way to have the CentOS scripts use the 2.3 
> version, and the other software use the 2.4?

Please note that CentOS 3.8 which you mention in the beginning of the 
message has python-2.2, not 2.3.

If you want to keep the system as clean as possible, it might be a 
better idea to just make sure that the (maybe few) applications that 
you run which require python-2.4 are configured to find it (f.e. 
change the first line of the .py script to point to the 2.4 
executable, make them start in an environment with PATH modified such 
that the "python" executable is resolved to the 2.4 version).

-- 
Bogdan Costescu

IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu at IWR.Uni-Heidelberg.De


More information about the users mailing list