4
當我嘗試安裝pyobjc框架,可可我看到這個錯誤:的Python PyObjC_IdToPython(@protocol(NSURLSessionStreamDelegate))錯誤
In file included from Modules/_Foundation.m:15:
Modules/_Foundation_protocols.m:14:28: error: cannot find protocol declaration for 'NSProgressReporting'
p = PyObjC_IdToPython(@protocol(NSProgressReporting)); Py_XDECREF(p);
^
Modules/_Foundation_protocols.m:15:28: error: cannot find protocol declaration for 'NSURLSessionStreamDelegate'
p = PyObjC_IdToPython(@protocol(NSURLSessionStreamDelegate)); Py_XDECREF(p);
^
2 errors generated.
error: command '/usr/bin/clang' failed with exit status 1
確保「pyobjc == 3.0.4」中沒有空格, – watsonic