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

问题描述 投票:2回答:1

我的系统环境是:MAC:OS X YOSEMITE 10.10.1XCODE:版本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

对此有什么解决方案吗?谢谢!

python easy-install
1个回答
3
投票

0
投票
© www.soinside.com 2019 - 2024. All rights reserved.