[英]when i easy_install greenlet i got “error: Setup script exited with error: command 'gcc' failed with exit status 1 ”
when i easy_install greenlet(also eventlet) as the documents says in ubuntu 10.04 i got the error above. 当我轻松安装greenlet(也是eventlet)时,文件在ubuntu 10.04中说我得到了上面的错误。 is there anyone know why?
有谁知道为什么? Expect your help!
期待你的帮助!
And I have install build-essential 我已经安装了build-essential
As I canot take the format right here, so I paste the message printed out there http://sugelawa.appspot.com/?p=35001 因为我在这里采取格式,所以我粘贴打印出来的消息http://sugelawa.appspot.com/?p=35001
Thank u very much! 十分感谢!
( Warning: Ubuntu specific answer. Somewhat applicable to Debian, to but I don't have the details in my head right now ) To use easy_install
to install modules that contain C extensions (like greenlet
), you need a complete development stack installed on your system. ( 警告:Ubuntu具体答案。有点适用于Debian,但我现在还没有详细说明 )要使用
easy_install
来安装包含C扩展的模块(如greenlet
),你需要安装一个完整的开发堆栈你的系统。 For a basic install, the means build-essential
for the C part and python-all-dev
for the Python part (that's where Python.h
lives). 对于基本安装,对于Python部分(
Python.h
所在的部分),C部分和python-all-dev
build-essential
的。
Add an 'ubuntu' tag to the question for clarity (don't have sufficient reputation myself as of now) 为了清楚起见,在问题中添加'ubuntu'标签(目前我自己没有足够的声誉)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.