utilsmodule — fatal error: Python.h: No such file or directory — Solved

After executing the command this message is shown: utilsmodule.c:1:20: fatal error: Python.h: No such file or directory compilation terminated.

The reason is because you havn’t properly installed the header files and static libraries for python dev. Use your package manager to install them system-wide.

sudo apt-get install python-dev   #