#include <python3.8/Python.h>
I keep getting the error /usr/include/python3.8/cpython/pystate.h:9:10: fatal error: cpython/initconfig.h: No such file or directory
9 | #include "cpython/initconfig.h"
Originally i just included Python.h, but that could not be found at all. I'm also running Void Linux, and already installed python3-devel if that makes a diffrence.
Python.hthis way. You need to#include <Python.h>and pass an appropriate-Icommand line argument to the compiler, e.g.-I/usr/include/python3.8. - n. 1.8e9-where's-my-share m.