To build python extensions, you need the Python headers with 'apt-get install 
python-dev'.

-MinRK

On Jul 25, 2011, at 13:36, Antonio Teixeira <[email protected]> wrote:

> Hello Guys/Gals.
> 
> I have tried to install pyzmq in ubuntu 11.04
> 
> Linux ubuntu 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 
> i686 i686 i386 GNU/Linux
> 
> It fails With 
> 
> running build_ext
> building 'zmq.core.constants' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
> -Wstrict-prototypes -fPIC -Izmq/utils -Izmq/core -Izmq/devices 
> -I/usr/include/python2.7 -c zmq/core/constants.c -o 
> build/temp.linux-i686-2.7/zmq/core/constants.o -Wno-unused-function 
> -Wno-strict-aliasing
> zmq/core/constants.c:4:20: fatal error: Python.h: Unknow File / Dir
> compilation terminated.
> error: command 'gcc' failed with exit status 1
> 
> 
> Installing Cython gave the same error that i was able to solve by using 
> apt-get instead of easy_install.
> 
> 
> Best Regards
> A/T
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to