I have mac OSX 10.6.8. My system came with Python 2.6 I recently installed Python 2.7 but experienced many problems with it so decided to revert back to Python 2.6 by executing
$ sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7
I also removed Python 2.7 from my Applications folder.
Still, however, when I run
$ python -V
Python 2.7.3
So I tried to make the default python 2.6 by running the following:
$ defaults write com.apple.versioner.python Version 2.6
However, still I see that my python version is 2.7.3
I seem incapable of even temporarily changing my version:
$ export VERSIONER_PYTHON_VERSION=2.6
$ python -V
Python 2.7.3
If it helps at all, this is what I get
$ which python
/opt/local/bin/python
I would really appreciate any help