[Pythonmac-SIG] Symlinks? Newbie / macpython alongside leopard python
Kevin Walzer
kw at codebykevin.com
Sun Oct 19 20:12:20 CEST 2008
Idan Gazit wrote:
> On Oct 19, 2008, at 7:48 PM, Kevin Walzer wrote:
>
>> 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:
>
> Hm,
>
> Dunno why, but it certainly isn't the case, even after quitting out of /
> relaunching terminal. I don't see anything in /etc/paths or /etc/paths.d
> different, nor is there any change to ~/.MacOSX/environment.plist, nor
> is there any change to ~/.profile -- so if something is happening, I'm
> not seeing it. Perhaps a reboot? Will try and report success/failure.
>
> Thanks for the help,
>
> -Idan
>
>
What does "echo $PATH" show in Terminal? In my case it shows something
like this:
/Library/Frameworks/Python.framework/Versions/Current/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/bin:/
The installer script for 2.4 added these bits to my ~/.profile:
# Setting PATH for MacPython 2.4
# The orginal version is saved in .profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH
Not sure if 2.6 does the same, but I thought it did. It certainly
doesn't touch /etc/paths.d, nor should it. ~/.MacOSX/environment.plist
isn't affected either as far as I know.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
More information about the Pythonmac-SIG
mailing list