1

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

ess
  • 313
  • 5
  • 12

1 Answers1

0

You likely already saw this (search for 'Uninstalling a framework'), but it sounds like a few additional steps you could possibly take would be ensuring that the symlink /Library/Frameworks/Python.framework/Versions/Current points to your installed version of Python 2.6 and that you removed all Python 2.7 symlinks in /usr/local/bin.

I also just came across this post which does a much better job of answering than I just tried to do :)

Community
  • 1
  • 1
RocketDonkey
  • 36,383
  • 7
  • 80
  • 84