Skip to content Skip to sidebar Skip to footer

Fatal Error: Pyconfig.h: No Such File Or Directory

Due to the nature of a program I am making, I decided to attempt to embed python into it. So I downloaded the python source code, and linked the includes and libs. I put #include &

Solution 1:

You have to configure or compile Python. When I open the file pyconfig.h in my Python installation, it begins with :

/* pyconfig.h.  Generated from pyconfig.h.in by configure.  */
/* pyconfig.h.in.  Generated from configure.ac by autoheader.  */

Post a Comment for "Fatal Error: Pyconfig.h: No Such File Or Directory"