Buildout Error: In file included from py/* - Python.h: No such file or directory
When installing GetPaid for the first time using SVN buildout and Plone 3.* the buildout is interrupted with the error:
In file included from py/c-extension/greenlet/greenlet.c:1:
py/c-extension/greenlet/greenlet.h:10:20: error: Python.h: No such file or directory
Reason: py 0.9.2 is a dependency and needs the Python development headers to compile.
Solution:
1:(Linux) check to see if you have the headers: ls /usr/include/python2.*/Python.h if not go to step two.
2: use your packet manager to find and install the python-dev headers, on Debian use sudo apt-cache search python and select the package that matches your python install IE sudo aptitude install python2.4-dev
3: Re-run buildout
The install should now work, thanks to lucielejard on Irc #getpaid for assistance in solving the error.

