[英]when i easy_install greenlet i got “error: Setup script exited with error: command 'gcc' failed with exit status 1 ”
[英]when running easy_install PIL, I got the error: Setup script exited with error: command 'cc' failed with exit status 1
我的系統環境是: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
對此有任何解決方案嗎? 謝謝!
您缺少 xcode 的命令行工具。 從終端提示輸入xcode-select --install
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.