Upgrade Python on a Mac

Rey Bango reybango at gmail.com
Tue Mar 3 03:31:16 CET 2009


Thank you Robert. Since I'm using a ~/.profile file instead of a
~/.bash_profile file, I guess the installer didn't update it. I just
updated the path like you mentioned and now the new version of Python
comes up.

Rey...

On Mar 2, 6:18 pm, Robert Kern <robert.k... at gmail.com> wrote:

> The installer should update your $PATH environment variable to put the newly
> installed python executable before the system's if you use the bash shell. For
> example, it added this to my ~/.bash_profile file:
>
> # Setting PATH for MacPython 2.5
> # The orginal version is saved in .bash_profile.pysave
> PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
> export PATH
>
> If you use a different shell, you may need to edit the appropriate file to add
> the above to the $PATH.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless enigma
>   that is made terrible by our own mad attempt to interpret it as though it had
>   an underlying truth."
>    -- Umberto Eco




More information about the Python-list mailing list