I tried installing Python 2.7 without root on a remote linux machine. I ran the commands
./configure prefix=/ make install DESTDIR=/xxx/yyy/
I just install python2.7.5 without admin right. I think the command should be:
./configure prefix=/xxx/yyy make install
and then you should add the path /xxx/yyy/bin in .bashrc as:
PYTHONPATH=/home/songmeixu/python/bin export PATH=$PYTHONPATH:$PATH