I'm a newbie programmer trying to call C functions from Python and when I #include <Python.h> and "gcc spam.c" I get the compiler message, "fatal error: Python.h: No such file or directory compilation terminated"
Of course I Googled the problem and everyone says "sudo apt-get install python-dev" I did this though and I still get the same error message.
Also I tried "find Python.h" and no such file or directory. I even manually looked in /usr/lib/Python2.7 and its not there.
I'm running Ubuntu12.04 and Python2.7.3. 64-bit if it matters.