[Pythonmac-SIG] Installing Python 2.6.4 alongside stock python 2.6.1 on SnowLeopard

Ned Deily nad at acm.org
Mon Dec 7 19:55:54 CET 2009


In article <9A61427D-09ED-4DD1-9474-6E1A14F9EF03 at letterror.com>,
 Erik van Blokland <erik at letterror.com> wrote:

> Hi,
> 
> sorry to bother, but I've run into a spot of trouble in an area I'm not 
> familiar with.
> (Ronald, this is a follow up of the post I sent yesterday, I'm sorry for the 
> moving target. I'm stuck.)
> 
> I installed python 2.6.4 on Snow Leopard 10.6.2. I used the prepackaged .dmg 
> installer from python.org.
> 
> The new 2.6.4:
> [eBook:pyobjc/trunk/launch] erik% python
> Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) 
> 
> The stock python 2.6.1 is also still there:
> [eBook:pyobjc/trunk/launch] erik% /usr/bin/python
> Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
> 
> With casual testing the new 2.6.4 seems to work well. But when installing 
> other libraries I get very peculiar crashes. Installing Twisted and Pyobjc 
> (both from source, not easy_install)  end in a similar way with lipo 
> complaining and references to a 10.4 sdk: /Developer/SDKs/MacOSX10.4u.sdk.
> The /Developer/SDKs dir contains a 10.6 sdk. But I am not familiar with what 
> happens or should happen in this place.
> I posted a question about this on the twistd list earlier, but now I see the 
> same thing happen with trying to install pyobjc, I suspect something in my 
> installation has gone wrong. My next step seems to be to reinstall Snow 
> Leopard. Any pointers are welcome. 

You need to install the optional 10.4u SDK.  It is included in the Xcode 
installer (on the Snow Leopard DVD) but, by default, is not selected for 
installation.

-- 
 Ned Deily,
 nad at acm.org



More information about the Pythonmac-SIG mailing list