[Pyobjc-dev] Cannot import objc (pyobjc2.2)
Brought to you by:
ronaldoussoren
From: Orestis M. <or...@or...> - 2009-11-26 22:41:20
|
Hello, I'm trying to get pyobjc2.2 working on python2.5 in SL (in a virtualenv). I'm getting this strange failure: Python 2.5.4 (r254:67916, Jul 7 2009, 23:51:24) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import objc Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/__init__.py", line 22, in <module> _update() File "/Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/__init__.py", line 19, in _update import _objc ImportError: dlopen(/Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/_objc.so, 2): Symbol not found: _PyType_Modified Referenced from: /Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/_objc.so Expected in: flat namespace in /Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/_objc.so >>> Installed in a virtualenv through easy_install==2.2 Any pointers? Thanks, Orestis |