[ubuntu] python.h

view full story

http://ubuntuforums.org – Hi all, I use Ubuntu 11.04. I don't really like C, so after finding out I can call Python from a C program, I am trying to follow a guide on doing this. The first step is to include a line to tell C you need a python module, however after including the line : #include "Python.h" when trying to recompile I get the error message: fatal error: Python.h: No such file or directory Googling this suggests installing python-devel. I've done this, restarted the machine, and I get the same error message. I'm not sure why it isn't working. I can't find any other solutions. I'm very conf (Hardware)