I have been trying to include Python.h in c++ file.
#include "Python.h"
int main() {
return 0;
}
This gives
fatal error: Python.h: No such file or directory
compilation terminated.
upon compilation.
I have correctly installed and added the directory to the PATH
echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/include:/usr/local/lib:/usr/include/python2.7
What could be the problem?