python needs a tutorial for install and setup on a Mac

aberry aberry at aol.in
Mon Jun 22 08:56:12 EDT 2009


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

regards,
aberry




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
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 
> 

-- 
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 mailing list