In Ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out how.
Things I have tried without success:
changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.
Set up python2.7 as the primary alternative using update-alternatives - doesn't work.
Any ideas? Thanks!