[Pythonmac-SIG] Symlinks? Newbie / macpython alongside leopard python

Idan Gazit idan at pixane.net
Sun Oct 19 19:40:14 CEST 2008


Hi Folks,

Now that 2.6 is released, I wanted to install it on my local machine.  
What I'm having trouble wrapping my head around is how to make sure  
that macpython 2.6 doesn't break anything involving leopard python.

If I want macpython / 2.6 to be the default python interpreter -- what  
is the best route? I can think of the two following ways:

1. Change $PATH so that /usr/local/bin precedes /usr/bin

2. Symlink /usr/bin/python to /usr/local/bin/python or to /Library/ 
Frameworks/Python.framework/Versions/2.6/bin/python

What's the "best practice" here? Should I just get used to invoking  
python as python2.6? Is there another way?

-Idan


More information about the Pythonmac-SIG mailing list