setting path for python interpretor
Philip Semanchuk
philip at semanchuk.com
Fri Nov 28 11:41:25 EST 2008
On Nov 28, 2008, at 6:41 AM, Beema Shafreen wrote:
> Hi all,
> Can any body suggest me how to the set path for making python2.4 as
> the main
> interpretor instead of python 2.5.
Hi Beema,
This question is about your operating system, not about Python. On my
system (OS X), having installed Python to /usr/local, it was
sufficient to add this to my ~/.profile
export PATH=~/bin:/usr/local/bin:$PATH
In general, check out the documentation for the PATH statement for
your operating system and make sure your preferred Python appears
first in the path.
More information about the Python-list
mailing list