当我尝试使用easy-install
安装pyobjc时,我得到了这个 sudo easy_install -U pyobjc
正在搜索pyobjc 最佳匹配:pyobjc 2.5.1 处理pyobjc-2.5.1-py2.6.egg pyobjc 2.5.1已经是easy-install.pth中的活动版本
使用/Library/Python/2.6/site-packages/pyobjc-2.5.1-py2.6.egg 处理pyobjc的依赖关系 正在搜索pyobjc-framework-ServiceManagement == 2.5.1 阅读http://pypi.python.org/simple/pyobjc-framework-ServiceManagement/ 阅读http://pyobjc.sourceforge.net 最佳匹配:pyobjc-framework-ServiceManagement 2.5.1 正在下载http://pypi.python.org/packages/source/p/pyobjc-framework-ServiceManagement/pyobjc-framework-ServiceManagement-2.5.1.tar.gz#md5=0ec67fb8fae22104643d423a2b66ca17 处理pyobjc-framework-ServiceManagement-2.5.1.tar.gz 运行pyobjc-framework-ServiceManagement-2.5.1 / setup.py -q bdist_egg --dist-dir /tmp/easy_install-E_uAby/pyobjc-framework-ServiceManagement-2.5.1/egg-dist-tmp-eOOIVp
error: Installed distribution pyobjc-core 2.2b3 conflicts with requirement pyobjc-core>=2.5.1
请你帮我解决这个错误吗?
答案 0 :(得分:3)
对于Mac Os X版本10.7和10.8,您需要这个。
$ sudo env CC=clang easy_install -U pyobjc-core
$ sudo env CC=clang easy_install -U pyobjc