Reinstall python 2.3 on OSX 10.3.5?

Dominique O. Martel xlii at xlii.org
Thu Feb 3 18:22:11 EST 2005


0) compile and install GNU readline 5.0 with the usual ./configure
method
ftp://ftp.cwru.edu/pub/bash/readline-5.0.tar.gz

1) as an administrator, remove the contents of
"/System/Library/Frameworks/Python.framework"

2) install Python from the standard distribution:
 ./configure --enable-framework=/System/Library/Frameworks
make
sudo make frameworkinstall

3) install the extras in /Applications if you want to:
sudo make frameworkinstallextras
Move them to /Developer/Applications/Utilities/MacPython-2.3

4) remove every python* from /usr/local/bin
Those in /usr/bin/ are OK for Python 2.3

5) replace
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages"
with a symbolic link to "/Library/Python/2.3". Name it "site-packages".

I have installed and used Python 2.3.x this way without any problem
whatsoever.




More information about the Python-list mailing list