[Pythonmac-SIG] python version confusion (continued)

Gary Church gary.church1 at comcast.net
Sun Jan 4 01:47:09 CET 2009


Thanks DavidW for the very informative link!

I think my python installations may be a bit "wonky." Here's what I  
get when I enter:

Macintosh-4:~ gary$ ls -l /Library/Frameworks/Python.framework/Versions/
total 8
drwxr-xr-x   7 root  wheel  238 Mar 11  2008 2.3
drwxr-xr-x  11 root  wheel  374 Mar 11  2008 2.5
drwxrwxr-x  10 root  wheel  340 Oct  1 16:52 2.6
lrwxr-xr-x   1 root  wheel    3 Dec 28 17:19 Current -> 2.6

and what I get when I enter:

Macintosh-4:~ gary$ ls -l /System/Library/Frameworks/Python.framework/ 
Versions/
total 8
drwxr-xr-x   7 root  wheel  238 Mar 11  2008 2.3
drwxr-xr-x  11 root  wheel  374 Mar 11  2008 2.5
drwxrwxr-x  10 root  wheel  340 Oct  1 16:52 2.6
lrwxr-xr-x   1 root  wheel    3 Dec 28 17:19 Current -> 2.6

It appears to me that these are identical, though the /System/Library/  
directory is supposed to be where Apple installs it's apps. Some how I  
must have done something kinda screwy.

Also, it's puzzling to me that "Current" in both cases is linked to  
2.6, yet when I enter "python" from my home directory, I'm getting  
Python 2.5.1.

Last puzzlement, When I enter "python" from my home directory, how  
does it know which python to reference? There must be some way it  
chooses one python over another.

What's the best way to sort my seemingly confused system out?

Thanks much again,
Gary

On Jan 2, 2009, at 8:18 PM, pythonmac-sig-request at python.org wrote:
> From: DavidW <vip at avatar.com.au>
> Date: January 2, 2009 5:12:27 PM PST
> To: Gary Church <gary.church1 at comcast.net>
> Cc: pythonmac-sig at python.org
> Subject: Re: [Pythonmac-SIG] python version confusion; can someone  
> provide some clarity, please?
>
>
> Hi Gary - welcome to the list.
> This is a frequent question so a search of the archive might help,  
> but here's my explanation:
> http://www.avatar.com.au/sonipy/pythonInstall.html
>
> HNY,
> David

Gary Church
gary.church1 at comcast.net





More information about the Pythonmac-SIG mailing list