我是Python新手,我正拼命地尝试通过spyder安装PyObjC。命令
pip install PyObjC返回一个错误:
/private/var/folders/0v/cg_rdz_x4d32jm6hz7n5txgh3djxb1/T/pip-build-UBlDtP/pyobjc-core/中错误代码1的命令"python setup.py egg_info“失败
在其他职位上找不到解决办法。我还尝试手动安装整个程序&通过conda。似乎已经安装了Xcode。这是我唯一有问题的模块。
有什么建议吗?)
注意:我正在使用Python2.7,在一个macOS塞拉利昂10.12上工作。
发布于 2016-10-06 11:33:43
实际的错误消息可以帮助更多的是在追溯的开始。在我的例子中
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Traceback (most recent call last):
File "<string>", line 1, in <module>
...如果您得到了相同的结果,下面是关于如何调试以下内容的答案:xcode-select active developer directory error
https://stackoverflow.com/questions/39894476
复制相似问题