Removing Python 2.4.4 on OSX
jstroud at mbi.ucla.edu
Sat Mar 24 21:45:13 CET 2007
> On Mar 24, 12:09 pm, "Greg Donald" <gdon... at gmail.com> wrote:
>> On 24 Mar 2007 10:30:28 -0700, Robert Hicks <sigz... at gmail.com> wrote:
>>> I want to upgrade to 2.5 but I don't see any unistall instructions
>> You're not required to remove the old version before installing the new version.
>> Just install the new version somewhere like /usr/local and put
>> /usr/local/bin ahead of your other paths.
>> Greg Donaldhttp://destiney.com/
> Can you explain how that works? If you install python in /usr/local,
> doesn't that leave you with something like /usr/local/python? So what
> does putting usr/local/bin ahead of your other paths do?
Don't build python for OS X unless you know you need to or want a
learning experience. Rolling your own python is somewhat a can of worms
for the uninitiated and it will be pretty tough beyond that to make it
run as cleanly as the stock builds. (E.g. you will be asking about why
readline doesn't work, etc.) This stuff is especially the case for OS X,
which does things a little differently than linux.
Just download the 2.5 installer from python.org. Double click it and be
done. A link to the new python will be created for you in
/usr/local/bin. If you already had an earlier installed and the link
didn't get updated, just replace the old one substituting 2.4 (or 2.3)
Then make sure /usr/local/bin comes before /usr/bin in your path and you
will be set. See also my previous post about integrating ipython.
More information about the Python-list