[Pythonmac-SIG] Interactive shell

Abe Mathews a7e at y12.doe.gov
Tue Nov 22 17:56:56 CET 2005


You need to create a link in /usr/bin to python2.4.

If at the prompt you do a
$ ls -lai /usr/bin/python*

You should see files for python, python2.3, and python2.4.  All of these are
links - python2.3 and python2.4 should link back to their respective
framework directories (on my machine, 2.3 is in /System, 2.4 is in
/Library).

What I would do next is to cd to /usr/bin and remove the old python link:
$ cd /usr/bin
$ sudo rm python

Then create a new link to the 2.4 python:
$ sudo ln -s python2.4 python

Now when you type python at the prompt it should bring you to 2.4.

Abe Mathews


On 11/22/05 10:23 AM, "Jeremy Conlin" <jeremit0 at gmail.com> wrote:

> I just installed/upgraded python by using the package from
> 
> http://undefined.org/python/MacPython-OSX-2.4.1-1.dmg.
> 
> I just want the latest version of python so I can use matplotlib
> (among other things).  However, it doesn't seem that the python I use
> from the terminal is version 2.4.x.  What must I do so that when I
> type "python" on the command line of the terminal I get version 2.4.x?
> Thanks,
> Jeremy
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> 




More information about the Pythonmac-SIG mailing list