Setting default version among multiple python installations
karthikk at adventnet.com
Wed Apr 9 10:17:49 CEST 2008
Gabriel Genellina wrote:
> En Wed, 09 Apr 2008 02:45:28 -0300, Karthik <karthikk at adventnet.com>
>> 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)
> From the README file:
> There's an executable /usr/bin/python which is Python
> 1.5.2 on most older Red Hat installations; several key Red Hat
> require this version. Python 2.1.x may be installed as
> /usr/bin/python2. The Makefile installs Python as
> /usr/local/bin/python, which may or may not take precedence
> over /usr/bin/python, depending on how you have set up $PATH.
yes, that seems to be the case. i changed the order of entries in $PATH,
and now things are working now. thanks for your help.
(Lesson learnt: if it says README, better read it completely, dont stop
at "Congratulations on getting this far. :-)" )
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list