python needs a tutorial for install and setup on a Mac

aberry aberry at
Mon Jun 22 08:56:12 EDT 2009

thanks for suggestion...
what should I put in 'bashrc ' so that I can switch between different
as python command will always point to one Python framework (lets either
2.4.x or 2.5.x).


Diez B. Roggisch-2 wrote:
> aberry wrote:
>> Switching between python version
>> Lets assume you have python 2.4.x and now you installed 2.5.x.By default
>> python path will point to 2.4.x. To switch to python 2.5.x, use following
>> commands...
>> cd /usr/bin
>> sudo rm pythonw
>> sudo ln -s
>> "/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw"
>> pythonw
>> sudo rm python
>> sudo ln -s pythonw python2.5
>> sudo  ln -s python2.5 python
>> this worked for me... do let me know if any1 has other way of doing...
> Bad idea. It might break tools that need the /usr/bin/python to be the
> system's python.
> a simple
> export PATH=/Library/.../bin:$PATH
> inside .bashrc should be all you need.
> Diez
> -- 

View this message in context:
Sent from the Python - python-list mailing list archive at

More information about the Python-list mailing list