philpraxis/pysctp — Issue #9: Cannot install on ubuntu , _sctp.c:8:20: fatal error: Python.h: No such file or directory
Author: kamal2222ahmed
Created: 2012-01-20 15:01:06+00:00
State: open

here is the screenshot of the install:
sudo python setup.py install
[sudo] password for kahmed:
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
copying sctp.py -> build/lib.linux-i686-2.7
running build_ext
building '_sctp' extension
creating build/temp.linux-i686-2.7
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/include -I/usr/include/python2.7 -c _sctp.c -o build/temp.linux-i686-2.7/_sctp.o
_sctp.c:8:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1