I recently installed Python 3.5.0 from python.org. I also installed the latest Setuptools.
I than ran
easy_install pyobjc (which took forever due to the
The install completed without error, but fails to import:
Python 3.5.0 (v3.5.0:374f501f4567, Sep 12 2015, 11:00:19) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] 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 "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyobjc_core-3.0.4-py3.5-macosx-10.6-intel.egg/objc/__init__.py", line 18, in <module> _update() File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyobjc_core-3.0.4-py3.5-macosx-10.6-intel.egg/objc/__init__.py", line 15, in _update import objc._objc as _objc ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyobjc_core-3.0.4-py3.5-macosx-10.6-intel.egg/objc/_objc.cpython-35m-darwin.so, 2): Symbol not found: _PyObject_REPR Referenced from: /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyobjc_core-3.0.4-py3.5-macosx-10.6-intel.egg/objc/_objc.cpython-35m-darwin.so Expected in: flat namespace in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyobjc_core-3.0.4-py3.5-macosx-10.6-intel.egg/objc/_objc.cpython-35m-darwin.so
I'm using OS X Yosemite 10.10.5 and Xcode 7.0 (upgraded from 6.x).
I do not recall if I had installed the Command Line Developer Tools on XCode 6.x. I did not install them for 7.x.
I had previously installed some version of pyobjc on this system for Python 3.4 and XCode 6 with success, though I've since removed both applications.
What's the next step to troubleshoot?