[英]when running easy_install PIL, I got the error: Setup script exited with error: command 'cc' failed with exit status 1
My system environment is : MAC: OS X YOSEMITE 10.10.1 XCODE: Version 6.1.1 (6A2008a) Python: 2.7.6我的系统环境是:MAC:OS X YOSEMITE 10.10.1 XCODE:版本 6.1.1 (6A2008a) Python:2.7.6
when I run "sudo easy_install PIL",I got a error:当我运行“sudo easy_install PIL”时,出现错误:
error: Setup script exited with error: command 'cc' failed with exit status 1
have any solution for this?对此有任何解决方案吗? Thanks!谢谢!
You are missing the command line tools for xcode.您缺少 xcode 的命令行工具。 Type xcode-select --install
from a terminal prompt.从终端提示输入xcode-select --install
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.