在10.9.5中安装PyObjC失败

时间:2015-07-23 17:53:07

标签: python pyobjc

我很难在小牛队中安装PyObjC。我也在这里阅读其他讨论并使用了许多不同的资源,但在尝试导入时仍然遇到同样的错误。例如:

from AppKit import NSObject

在控制台中给我这个:

/usr/local/Cellar/python/2.7.9/bin/python /Library/Python/2.7/site-packages/pyobjc_framework_Cocoa-3.1b1-py2.7-macosx-10.9-intel.egg/AppKit/__init__.py
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pyobjc_framework_Cocoa-3.1b1-py2.7-macosx-10.9-intel.egg/AppKit/__init__.py", line 9, in <module>
    import Foundation
  File "Foundation/__init__.pyc", line 9, in <module>
  File "CoreFoundation/__init__.pyc", line 11, in <module>
  File "CoreFoundation/_inlines.pyc", line 14, in <module>
  File "CoreFoundation/_inlines.pyc", line 13, in __load
ImportError: 'CoreFoundation/_inlines.so' not found

你有什么建议?我应该删除所有模块并重新安装它们。有没有人在10.9中成功使用该库? ps:我正在使用Xcode 6.2

由于

0 个答案:

没有答案