fatal error: Python.h

Did u ever get a not found the error for Python.h while installing packages?

#include "Python.h"
                    ^
compilation terminated.

in most cases the reason is a missing package.

sudo apt-get install python2.7-dev libyaml-dev

should be the solution.