I am trying to write Python C extensions and I'm on a mac. I know how to install the Python.h
header file on Linux, but I don't know how to do it on a Mac. How can I install it?
The Python header file is a framework on Mac. You have to include it like this:
#include <Python/Python.h>