Do you have python-dev package installed? Installing C and C++ modules requires the Python headers inside that package.