Re: [Pyobjc-dev] Problem with PyObjC-HEAD on Jaguar?
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-12-24 14:44:31
|
Could you try removing PyObjC from site-packages and reinstalling it, I'm pretty sure some of the extension modules were moved after the 1.0 release and you seem to be getting an old version of one of those modules. Ronald On 24 dec 2003, at 15:39, Zachery Bir wrote: > I built PyObjC on Jaguar from CVS last night, and get the following > when trying to use it: > > [catfish:~] zbir% uname -a > Darwin catfish.local. 6.8 Darwin Kernel Version 6.8: Wed Sep 10 > 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power > Macintosh powerpc > [catfish:~] zbir% which python > /usr/bin/python > [catfish:~] zbir% python > Python 2.2 (#1, 07/14/02, 23:25:09) > [GCC Apple cpp-precomp 6.14] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import objc > >>> import Foundation > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File > "/usr/lib/python2.2/site-packages/PyObjC/Foundation/__init__.py", line > 3, in ? > from _Foundation import * > ImportError: Failure linking new module > >>> import AppKit > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/lib/python2.2/site-packages/PyObjC/AppKit/__init__.py", > line 25, in ? > NSMakePoint = Foundation.NSMakePoint > AttributeError: 'module' object has no attribute 'NSMakePoint' > > I made sure to include the libffi-src from the Sourceforge files area, > and got no errors or warnings building PyObjC. > > Any thoughts? > > Zac |