gpt4 book ai didi

python - 运行 easy_install PIL 时,出现错误 : Setup script exited with error: command 'cc' failed with exit status 1

转载 作者:太空宇宙 更新时间:2023-11-04 01:10:30 25 4
gpt4 key购买 nike

我的系统环境是: MAC:OS X 优胜美地 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

有什么解决办法吗?谢谢!

最佳答案

您缺少 xcode 的命令行工具。在终端提示符下键入 xcode-select --install

关于python - 运行 easy_install PIL 时,出现错误 : Setup script exited with error: command 'cc' failed with exit status 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28037614/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com