I'm a beginner on unix so I'm sorry if I post something easy. Also I have to admit that I do not master all the process.
I need to install zeromq on my ubuntu.
I have python 2.6.6 installed
I followed the instructions on the website for UNIX systems : http://www.zeromq.org/intro:get-the-software and after http://www.zeromq.org/bindings:python.
Precisely I did :
(At this point I don't get any error)
But when I type : sudo easy_install pyzmq I get the error :
zmq/core/constants.c:4: fatal error: Python.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1
I get the same error if I try to install manually.
I don't know what to do at this point and I can't find somebody having the same problem.
I thank you in advance for your help.
All the error you gave us is saying that gcc failed. Most likely gcc also gave you a long error message telling you why it failed. That is more helpful.
If I'm going to guess, some sort of development headers is missing. Probably the Python development headers, which you can install with
sudo apt-get install python-dev
But exactly what it wrong can only be answered when you give the relevant error message (which in C/C++ annoyingly comes in the beggining or the error message).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With