So I changed $PATH to have Python2.5 work with Django back when it didn’t support 2.6. Now I can’t install much of anything through Python because I screwed up a lot of the internals. $PATH is now unnecessarily long because I didn’t know what I was doing when I was adding to it. .profile doesn’t contain any of the paths that I added using “export” in the terminal. I can’t even install virtualenv. At this point, I feel as if I corrupted everything and would like to start from scratch without losing all of my data. I have everything backed up with Time Machine, but that will just keep the same settings that I had before anyways.
Is it completely hopeless now? Should I opt for a fresh OS reinstall using something other than Time Machine to back up all of my information? Or would this be an easy fix?
If you are using mac osx. Then my suggestion is that you use macports. The solution to do that is here.
You can then select to activate appropriate version by using python_select.
After that you can use virtualenv. This does work for me very well.