我的系统环境是: MAC:OS X YOSEMITE 10.10.1 XCODE:版本6.1.1(6A2008a) Python:2.7.6
当我运行“sudo easy_install PIL”时,我收到了一个错误:
error: Setup script exited with error: command 'cc' failed with exit status 1
有什么解决方案吗? 谢谢!
答案 0 :(得分:3)
您缺少xcode的命令行工具。从终端提示符中键入xcode-select --install
。