[Pythonmac-SIG] Symlinks? Newbie / macpython alongside leopard python
Kevin Walzer
kw at codebykevin.com
Sun Oct 19 19:48:08 CEST 2008
Idan Gazit wrote:
> 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
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>
The installer will modify your path settings so that MacPython comes up
before the version shipped by Apple. However, the current Mac build of
Python 2.5 is broken if you need to run Tkinter apps such as IDLE:
http://bugs.python.org/issue4017
I don't recommend installing it--build it yourself from source. (See the
bug report for some instructions on how to work around the difficulties
the current build runs into.)
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
More information about the Pythonmac-SIG
mailing list