[Pythonmac-SIG] Module Import Problem

Chris Barker Chris.Barker at noaa.gov
Tue Apr 27 02:41:05 CEST 2010


Mike wrote:
> I figured I'd try installing PyObjC from source. However, the Mac 
> doesn't seem to have GCC. I can't figure out how to get this, 

you need to download XCode Tools from the Apple Developer site

>without 
> paying for some develeopers account. 

You do need to register, but it is free.

> Even if I did I think I'd need to 
> bee running Snow Leopard and I'm running 10.5.5. Any ideas?

You need the latest version that runs on 10.5 -- it's there if you dig a 
bit.

-Chris


> 
> 
> ----- Original Message ----- From: "Chris Barker" <Chris.Barker at noaa.gov>
> To: "Mike" <smartmike1 at gmail.com>
> Sent: Sunday, April 25, 2010 1:11 PM
> Subject: Re: [Pythonmac-SIG] Module Import Problem
> 
> 
>> Mike wrote:
>>> Using easy_install. I installed easy_install by using this script:
>>> http://peak.telecommunity.com/dist/ez_setup.py
>>> I ran that as python ez_setup.py seetuptools
>>> Then:
>>> easy_install pyttsx
>>
>> I'm sorry, that may have been a total red herring -- I think that path 
>> is given because easy-install put in the pyc files that were built 
>> from that location -- so the traceback has that path.
>>
>> Though I've never noticed that before.
>>
>>>>>>> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyobjc_core-2.2-py2.6-macosx-10 
>>>>>>> .3-fat.egg/objc/_objc.so
>>>>>>>  Reason: Incompatible library version: _objc.so requires version 
>>>>>>> 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0
>>
>> I don't have snow leopard, but this looks like a classic library 
>> problem, the ObjC libs on snow leopard are looking for a newer 
>> libxml2.2 than you have -- where does libxml2.2.dylib live -- anyone 
>> know where it is supposed to come from?
>>
>> -CHB
>>
>>
>> -- 
>> Christopher Barker, Ph.D.
>> Oceanographer
>>
>> Emergency Response Division
>> NOAA/NOS/OR&R            (206) 526-6959   voice
>> 7600 Sand Point Way NE   (206) 526-6329   fax
>> Seattle, WA  98115       (206) 526-6317   main reception
>>
>> Chris.Barker at noaa.gov 
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list