1.apt-get update
2.apt-get install python2.7
or
1.sudo apt-get update
2.sudo apt-get install python2.7