python needs a tutorial for install and setup on a Mac
philip at semanchuk.com
Mon Jun 22 09:59:02 EDT 2009
On Jun 22, 2009, at 8:56 AM, aberry wrote:
> 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
> 2.4.x or 2.5.x).
Something like this would work:
> 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
>>> python path will point to 2.4.x. To switch to python 2.5.x, use
>>> cd /usr/bin
>>> sudo rm pythonw
>>> sudo ln -s
>>> 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
>> Bad idea. It might break tools that need the /usr/bin/python to be
>> system's python.
>> a simple
>> export PATH=/Library/.../bin:$PATH
>> inside .bashrc should be all you need.
> View this message in context: http://www.nabble.com/python-needs-a-tutorial-for-install-and-setup-on-a-Mac-tp24135580p24146713.html
> Sent from the Python - python-list mailing list archive at Nabble.com.
More information about the Python-list