I have a couple different versions of Python installed on my Mac. The default version is 2.5, so when I install a module it gets installed to 2.5. I need to be able to insta
If you've installed them using macports then you run (as root):
port select --set python
Hint: To list available versions run:
port select --list python
Otherwise you can set the $PYTHON_PATH
environment variable and add your desired python path to your $PATH
environment variable as well.
You will also need to update the python.current
(or something with similar name) symbolic link in /Library/Frameworks/Python.framework
.
I strongly recommend to install all the versions using a package manager (homebrew, macports, fink, etc.) so they'll be easier to manage.