简体   繁体   English

运行easy_install PIL时,出现错误:安装脚本退出错误:命令'cc'失败,退出状态为1

[英]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.

相关问题 当我easy_install greenlet我得到“错误:安装脚本退出时出现错误:命令'gcc'失败,退出状态为1” - when i easy_install greenlet i got “error: Setup script exited with error: command 'gcc' failed with exit status 1 ” easy_install pyzmq,cygwin。 错误:安装脚本退出并显示错误:命令“ gcc”失败,退出状态为1 - easy_install pyzmq, cygwin. error: Setup script exited with error: command 'gcc' failed with exit status 1 错误:安装脚本退出并显示错误:命令“ gcc”失败,退出状态为1 - error: Setup script exited with error: command 'gcc' failed with exit status 1 python install zbar 错误:安装脚本退出并出现错误:命令“gcc”失败,退出状态为 1 - python install zbar error: Setup script exited with error: command 'gcc' failed with exit status 1 错误:安装脚本退出,并显示错误:命令'i586-linux-gnu-gcc'失败,退出状态为1 - error: Setup script exited with error: command 'i586-linux-gnu-gcc' failed with exit status 1 Kerberos 安装错误,错误:安装脚本退出并出现错误:命令“i686-linux-gnu-gcc”失败,退出状态为 1 - Kerberos installation error, error: Setup script exited with error: command 'i686-linux-gnu-gcc' failed with exit status 1 在 Mac 上安装 pyfastext 时出错:命令“cc”失败,退出状态为 1 - Got error on installing pyfastext on Mac: command 'cc' failed with exit status 1 安装matplotlib,错误:安装脚本退出并显示错误:命令'gcc'失败,退出状态为1 - installing matplotlib, error: Setup script exited with error: command 'gcc' failed with exit status 1 安装脚本退出并出现错误:命令“x86_64-linux-gnu-gcc”失败,退出状态为 1 - setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 安装python库时,“'cc'以退出状态1失败”错误 - “'cc' failed with exit status 1” error when install python library
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM