views:

90

answers:

1

when i easy_install greenlet(also eventlet) as the documents says in ubuntu 10.04 i got the error above. is there anyone know why? Expect your help!

And I have install build-essential

As I canot take the format right here, so I paste the message printed out there http://sugelawa.appspot.com/?p=35001

Thank u very much!

+2  A: 

(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. 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).

Add an 'ubuntu' tag to the question for clarity (don't have sufficient reputation myself as of now)

Jacob Oscarson
Thank you very much~
zkz