^include <Python.h>Compilation failed code example
Example 1: python.h missing
# `Python.h` is provided by the "python-dev" or "python3-dev" packages on debian/Ubuntu.
# On some sytems it will be "python-devel", "python2-devel" and/or "python3-devel"
sudo apt-get install python-dev python3-dev
Example 2: Python.h: No such file or directory
sudo apt-get install python-dev # for python2.x installs
sudo apt-get install python3-dev # for python3.x installs