Including the full error message would be useful (also copied as text makes it easier to search)
What you're seeing is the derived error output from npm, but above that is the failing output from node-gyp doing the build.
As far as I know, however, you need python 2.7, not 2.6.