I\'m running Mac OS 10.6.8. and wanted to install in addition to python 2.6 also python 2.7 and use python 2.7 in a new virtualenv. I executed the following steps:
I
I just had to make sure that /usr/local/bin/python existed.
For me it was a simple:
ln -s /usr/local/bin/python2.7 /usr/local/bin/python