I have terminal access to a VPS running centos 5.9 and default python 2.4.3 installed. I also installed python 2.7.3 via these commands: (I used make altinstall
make altinstall
for quick one time use this works, npm install --python="c:\python27"