[BangPypers] Installation of SIP ( Python binding generator )

Gora Mohanty gora at mimirtech.com
Thu Aug 25 18:31:49 CEST 2011


On Thu, Aug 25, 2011 at 9:58 PM, Ashutosh Narayan <ashulinux at yahoo.com> wrote:
[...]
> I have downloaded SIP tar file :sip-4.12.4.tar.gz
> While building it using "make" I encountered the following error :
[...]
> make[1]: Entering directory `/misc/tar_balls/projects_related/sip-4.12.4/siplib'
> gcc -c -pipe -fPIC -O2 -w -DNDEBUG -I. -I/usr/include/python2.7 -o siplib.o siplib.c
> siplib.c:20:20: fatal error: Python.h: No such file or directory
> compilation terminated.
> make[1]: *** [siplib.o] Error 1
> make[1]: Leaving directory `/misc/tar_balls/projects_related/sip-4.12.4/siplib'
> make: *** [all] Error 2
[...]

You are probably missing the Python development files.
What OS are you using? If it is Debian/Ubuntu, you would
need to install the python-dev package.

Regards,
Gora


More information about the BangPypers mailing list