[Pythonmac-SIG] Interactive shell
Ronald Oussoren
ronaldoussoren at mac.com
Tue Nov 22 19:38:22 CET 2005
On 22-nov-2005, at 17:56, Abe Mathews wrote:
> 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.
Not if you installed the official installer DMG, it installs
the interpreter in /usr/local/bin.
> ll 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
Don't do this, you're replacing a system component. This might break
OS functionality (Apple uses Python in the PDF workflow). You should
add /usr/local/bin to the front of your PATH instead.
>
> 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
>>
>
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
More information about the Pythonmac-SIG
mailing list