Not able to complete installation on MAC

Issue #167 resolved
prashant bharambe
created an issue

I am getting below error,

pv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.macosx-10.10-x86_64-2.7/pyobjc-include -I/usr/local/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/_Foundation.m -o build/temp.macosx-10.10-x86_64-2.7/Modules/_Foundation.o -DPyObjC_BUILD_RELEASE=1010 -Wno-deprecated-declarations -isysroot / In file included from Modules/_Foundation.m:15: Modules/_Foundation_protocols.m:14:28: error: cannot find protocol declaration for 'NSProgressReporting' p = PyObjC_IdToPython(@Haiyang SI(NSProgressReporting)); Py_XDECREF(p); ^ Modules/_Foundation_protocols.m:15:28: error: cannot find protocol declaration for 'NSURLSessionStreamDelegate' p = PyObjC_IdToPython(@Haiyang SI(NSURLSessionStreamDelegate)); Py_XDECREF(p); ^ 2 errors generated. error: command 'clang' failed with exit status 1

----------------------------------------

Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-qAm64R/pyobjc-framework-Cocoa/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-DWW0MC-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-qAm64R/pyobjc-framework-Cocoa/

Comments (3)

  1. Log in to comment