Idan Gazit wrote:
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?

change $PATH - DO NOT mess with /usr/bin at all.

If the installer isn't doing it for you (I think it did for me), then do it by hand.

Note that I think my PATH may have been set to:

/Library/Frameworks/Python.framework/Versions/current/bin/python

and the installer changed the "current" link. I actually changed that link back to 2.5, as there are too many modules that don't yet work with 2.6, so I consider it experimental.

I'm at home an Mac-less right now, so I may have a detail wrong....

-Chris

--
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to