[Pythonmac-SIG] PyObjC vs "old school" embedding

David Reed dreedmac at columbus.rr.com
Wed Jun 1 01:13:48 CEST 2005


On May 31, 2005, at 6:54 PM, Bob Ippolito wrote:

>
> On May 31, 2005, at 2:27 PM, David Reed wrote:
>
>
>>
>> On May 31, 2005, at 4:51 PM, Bob Ippolito wrote:
>>
>>
>>
>>>
>>> On May 31, 2005, at 1:17 PM, gandreas at gandreas.com wrote:
>>>
>>>
>>>
>>>> (* - I've downloaded and installed PyObjC 1.3.6 twice but for some
>>>> reason it doesn't want to use it:
>>>>
>>>> gandreas% /Library/Frameworks/Python.framework/Versions/Current/ 
>>>> bin/
>>>> python2.4
>>>> Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
>>>> [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
>>>> Type "help", "copyright", "credits" or "license" for more
>>>> information.
>>>>
>>>>
>>>>
>>>>>>> import objc
>>>>>>> objc.__version__
>>>>>>>
>>>>>>>
>>>>>>>
>>>> '1.3.5'
>>>>
>>>>
>>>>
>>>>>>> objc.__file__
>>>>>>>
>>>>>>>
>>>>>>>
>>>> '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/
>>>> site-packages/PyObjC/objc/__init__.pyc'
>>>> )
>>>>
>>>>
>>>>
>>>
>>> Anyone else have this problem?
>>>
>>
>>
>> I just downloaded and installed 1.3.6 and also have that problem.
>>
>> $ python2.4
>> Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
>> [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
>> Type "help", "copyright", "credits" or "license" for more  
>> information.
>>
>>
>>>>> import objc
>>>>> objc.__version__
>>>>>
>>>>>
>> '1.3.5'
>>
>>
>>>>> objc.__file__
>>>>>
>>>>>
>> '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
>> site-
>> packages/PyObjC/objc/__init__.pyc'
>>
>
> Did you have a previous installation of PyObjC 1.3.5?  Which  
> package did you install?  The one from pythonmac.org, or  
> sourceforge?  What is the name of the package that you installed?
>
> -bob


I did have an earlier version of pyobjc but I don't think it was  
1.3.5. I recently got a desktop and had OS X transfer all the files  
from my laptop so it should be what is there. The laptop reports  
version 1.3 so that should be the earlier version that was installed  
on my desktop.

Are you certain the version number just isn't wrong in the file?

I installed pyobjc-1.3.6-py2.4-macosx10.4.mpkg

I'm not certain where I started, but it did come from sf.net.

http://prdownloads.sourceforge.net/pyobjc/pyobjc-1.3.6-py2.4- 
macosx10.4.zip?download

Dave



More information about the Pythonmac-SIG mailing list