import objc fails with Symbol not found: _PyMac_Error
I hope this is the correct place to post this - I would normally send to a users mailing list/forum, but I can't seem to find one.
I have installed PyObjC using pip, but when I try and import objc I get the following error:
import objc Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/PyObjC/objc/init.py", line 24, in <module> _update() File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/PyObjC/objc/init.py", line 21, in _update import objc._objc as _objc ImportError: dlopen(/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/PyObjC/objc/_objc.so, 2): Symbol not found: _PyMac_Error Referenced from: /Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/PyObjC/objc/_objc.so Expected in: dynamic lookup
The output from the pip install command doesn't seem to have any obvious errors in it (the output is available at https://gist.github.com/9e18a45a686203ec6d81).
I've got no idea what's going wrong here - does anyone have any idea where I can look?