簡體   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

我的系統環境是: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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM