Hello, I've just installed Python 2.5 using Macports. Unfortunately, the system (OS X) still uses Python 2.3.x, which comes installed with OS X, as its default Python installation. I've already tried: sudo port activate python25 which yielded a message saying that that already was the active python version (which is logical, it is the only Python version I installed using MacPorts). Any help would be highly appreciated! L. Holland
OS X's /usr/bin/python is just a symlink to python2.3 $ file /usr/bin/python file /usr/bin/python /usr/bin/python: symbolic link to `python2.3' So if you want to use python2.5, replace the link with the one to /opt/local/bin/python2.5 On 12/29/06, Lucas Holland <hollandlucas@gmail.com> wrote:
Hello,
I've just installed Python 2.5 using Macports. Unfortunately, the system (OS X) still uses Python 2.3.x, which comes installed with OS X, as its default Python installation.
I've already tried: sudo port activate python25 which yielded a message saying that that already was the active python version (which is logical, it is the only Python version I installed using MacPorts).
Any help would be highly appreciated!
L. Holland _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
On 29 Dec, 2006, at 14:16, js wrote:
OS X's /usr/bin/python is just a symlink to python2.3 $ file /usr/bin/python file /usr/bin/python /usr/bin/python: symbolic link to `python2.3'
So if you want to use python2.5, replace the link with the one to /opt/local/bin/python2.5
Better yet, change the search path of your shell to have /opt/local/ bin at the start of $PATH. Replacing files in /usr/bin is IMHO a bad thing, who knows what might break if you do that. Ronald
participants (3)
-
js
-
Lucas Holland
-
Ronald Oussoren