Setting default version among multiple python installations

Karthik karthikk at adventnet.com
Wed Apr 9 01:45:28 EDT 2008


Gabriel Genellina wrote:
> En Tue, 08 Apr 2008 06:48:54 -0300, Karthik <karthikk at adventnet.com>  
> escribió:
>
>   
>> I am an absolute linux and python newbie. The linux machine(red hat
>> version 7.2) that i managed to get my hands on had python 1.5(vintage
>> stuff, i guess) in it. I have installed python 2.5 using the source tar.
>> However, when i try to access python, i am taken to the older version  
>> only.
>>     
>
> Have you actually compiled and installed it?
> See http://docs.python.org/dev/using/index.html
>
>   
Yes, i got the source from 
http://python.org/ftp/python/2.5.2/Python-2.5.2.tgz

if i type python2.5 i am able to use the latest python, but if i simply 
type python it taken me to the older version. (it is a minor annoyance, 
but I want to know how to fix it)

-Karthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080409/4365ed1a/attachment-0001.html>


More information about the Python-list mailing list