title: Can't find Python.h header in path
body: <p>I am trying to compile the source codes for a simulator which uses C++ and Python. However, it gives me this error:</p>
  
  <pre><code>Error: can't find Python.h header in ['path-to-my-python/include/python2.6']
  Install Python headers (package python-dev on Ubuntu and RedHat)
  </code></pre>
  
  <p>However, I can see that the header file is there and I have set the path to it. How can I fix or diagnosis the problem?</p>