Regarding Python.h

Christian Heimes lists at
Fri Feb 15 13:12:19 CET 2008

Raj kumar wrote:
> Hi to all,
> I'm new to Python.
> I am using python2.4.
> I have one application written in c language in which it includes python like
> #include "Python.h"
> But when i try to install it, i'm getting an error like
> Python.h: No such file or directory
> I feel gcc is unable to get the path for Python.h
> What should i do to get rid of this problem. If i have to add any path pls give me details of how to do that.

Most distributions don't install the Python development files. You have
to install a package named python-devel or python2.4-dev.


More information about the Python-list mailing list