![](/img/trans.png)
[英]when running easy_install PIL, I got the error: Setup script exited with error: command 'cc' failed with exit status 1
[英]when i easy_install greenlet i got “error: Setup script exited with error: command 'gcc' failed with exit status 1 ”
當我輕松安裝greenlet(也是eventlet)時,文件在ubuntu 10.04中說我得到了上面的錯誤。 有誰知道為什么? 期待你的幫助!
我已經安裝了build-essential
因為我在這里采取格式,所以我粘貼打印出來的消息http://sugelawa.appspot.com/?p=35001
十分感謝!
( 警告:Ubuntu具體答案。有點適用於Debian,但我現在還沒有詳細說明 )要使用easy_install
來安裝包含C擴展的模塊(如greenlet
),你需要安裝一個完整的開發堆棧你的系統。 對於基本安裝,對於Python部分( Python.h
所在的部分),C部分和python-all-dev
build-essential
的。
為了清楚起見,在問題中添加'ubuntu'標簽(目前我自己沒有足夠的聲譽)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.