How do I reconfigure an installation of Python 2.7, on Snow Leopard, so that the OS uses the default 2.6 but leaves my 2.7 installation, and its installed modules, for use under virtualenv? Basically trying to fix the mistake of getting at 2.7 directly rather than through virtualenv.
- OSX 10.6.8
- 2.7 installation was probably from source
- 2.7 residing in /Library/Frameworks/Python.framework/Versions/2.7/bin/python
- python2.6 at /usr/bin/python2.6, a symlink to /System/Library/Versions...
- there exists a file /usr/bin/python; << /usr/bin/python -V >> returns Python 2.6.1