Quote Originally Posted by davidism View Post
Download the source from here:
http://python.org/ftp/python/2.7/Python-2.7.tgz

Code:
tar xzf Python-2.7.tgz
cd Python-2.7
./configure
make
sudo make altinstall
Note that it is make altinstall, not make install. The altinstall makes sure you don't clobber the OS installed version.
i altinstalled python2.7 on my ubuntu(10.04) but i dont know how to activate(or something like that) python 2.7 for a specific software(which dependency's python2.7) to install or use.