Apalis iMX6 on Ixora python.h not found

I am trying to do native compilation and have installed all the packages needed for building. But when I try to make , I get error that Python.h is not found, although I have Python package installed and python.h is visible in /usr/include/python2.7

How do I fix this issue.

What exactly is it that you are trying to achieve and what exactly is the error message you are getting doing that?

Most possibly your include path is just not including python2.7 but that’s just a wild guess.

How do I add python 2.7 in the env’s path variable

Not sure what is not clear here

"I am trying to do “native compilation” and have installed all the packages needed for “building” But when I try to “make”, I get error that Python.h is not found (this is exact error message)

Native compilation means not using cross compiling but compiling right on the apalis itself

Building means building a project which consists of c files

Make means using automake to generate make files

Let me know if you need more clarifications