Quote Originally Posted by davidism View Post
Download the source from here:

tar xzf Python-2.7.tgz
cd Python-2.7
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.