Python Extensions not Working

python

#1

I tried writing an python extension module in a python workspace.

I created a file, main.c and wrote this code & compiled;

#include “Python.h”

Then compiled it… I got this error

Running “/home/ubuntu/workspace/main/engine.c”
/home/ubuntu/workspace/main/engine.c:1:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.

Process exited with code: 1