[Pythonmac-SIG] Lost among multiple Python version on my mac
Piet van Oostrum
piet at cs.uu.nl
Sun Nov 19 16:09:36 CET 2006
>>>>> Scott Harris <scottrharris at gmail.com> (SH) wrote:
>SH> I've unintentionally set my /usr/bin/python to a new version instead
>SH> of the original version on OS X 10.4. Is it normally a link to the
>SH> python in /System/Library/Frameworks/Python.framework/?
/usr/bin:
wildcard python*
lrwxr-xr-x 1 root wheel 9 Oct 20 2005 python -> python2.3
lrwxr-xr-x 1 root wheel 72 Oct 20 2005 python2.3 -> ../../System/Library/Frameworks/Python.framework/Versions/2.3/bin/python
lrwxr-xr-x 1 root wheel 10 Oct 20 2005 pythonw -> pythonw2.3
-rwxr-xr-x 1 root wheel 13728 Mar 21 2005 pythonw2.3
>SH> Also, what's the "best" way to deal with multiple versions on Python
>SH> on one mac? The binary downloads of 2.4 and 2.4 go in /Library/
>SH> Frameworks, but the versions I build from source go into /usr/local/.
/Library/Frameworks is the way to go, and you can make symlinks from
/usr/local/bin.
To make from source:
MACOSX_DEPLOYMENT_TARGET=10.4 ./configure --enable-framework
make
sudo make frameworkinstall
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
More information about the Pythonmac-SIG
mailing list