Hi
I'm trying to compile a Python binding, but I'm unable to find the python.h header on debian. Which package should I install?
Thanks in advance
Hi
I'm trying to compile a Python binding, but I'm unable to find the python.h header on debian. Which package should I install?
Thanks in advance
You are missing the development header. try
sudo apt-get install python-dev
First of all, the header file for embedding or extending python is Python.h, with an uppercase P. Linux is case sensitive, and python.h won't work.
On debian and debian deriviatives like ubuntu, you can use apt-file to find out what package to install, given a filename:
$ apt-file search Python.h
...
python2.6-dbg: /usr/include/python2.6_d/Python.h
python2.6-dev: /usr/include/python2.6/Python.h
...