MacPython 2.4.1 Installer
I've put together an "official unofficial" framework build distribution of Python 2.4.1 for Mac OS X 10.3 (and later, but that is not tested yet). It is built using the same tools that Jack builds the official MacPython distribution with.
Unlike typical builds, this one has all the stock goodies:
- readline 5.0.005 (static)
- BerkeleyDB 4.3.27 (static)
- waste (static)
- Tcl/Tk Aqua 8.4.9 (dynamic - you'll need TclTkAqua to use Tkinter)
Note that this WILL NOT work with Mac OS X 10.2 (Jaguar) or earlier. It is ONLY for Mac OS X 10.3 (Panther) and later. That means, it should work on Mac OS X 10.4 (Tiger) . Also note that it expects you to install to the root drive only, despite the fact that the installer doesn't force you to do this.
If you are using Mac OS X 10.3, it is recommended that you also get the PantherPythonFix if you have not already, to prevent conflicts with the stock Python when you build new extensions. Packages for this Python will start popping up at pythonmac.org packages in the coming weeks.
If you are using Mac OS X 10.4, you should get the TigerPython24Fix package from pythonmac.org packages.
- And now what you're all waiting for, the download link. It's here:
- http://undefined.org/python/#python
Wow, I’ve been waiting for this for like, ever… You da man, Bob!
- DJ Red Dawg
Comment by Andy Gross — 2005-04-03 @ 5:18 pm
10.4.1 and ran the installer. From the command line python -v still says I’m running 2.3.5 build from apple.
Suggestions?
Comment by Robert H — 2005-06-07 @ 12:02 pm
The MacPython installer installs the command line python to /usr/local/bin, and the Apple one is in /usr/bin, since /usr/bin is on your path first, you get that one. I deleted /usr/bin/python* (that is, the stock Apple versions) and everything works as expected.
Comment by Bob Ebert — 2005-06-07 @ 11:47 pm
DO NOT DELETE /usr/bin/ANYTHING!
That’s a really awful terrible bad idea.
Comment by Bob Ippolito — 2005-06-08 @ 12:36 am
hello. I’ve been using “#!/usr/bin/env python” to start the python interpreter from cgi scripts. I can get 2.4.1 up and running in the interpreter just fine using /usr/local/bin/python, but I’ve been unsuccessful in calling it from cgi scripts using various combinations of #!/usr/local/bin/python… any suggestions? thanks.
Comment by Stephen Aichele — 2005-06-19 @ 2:27 pm
I installed 2.4 and the fix. I did remove the symlinks in /usr/bin and created new ones to point to 2.4. This is NOT a big deal.. If stuff barfs create the old links again. I am new to python and Mac but am a linux admin so I have some skills there. But for the life of me I can not get the Documentation to install using the Package Manager. Any ideas? It just acts like something is happening but nothing really does.. Be nice if I could get some kind of error back ;)
Comment by Brett C. — 2005-08-04 @ 11:49 am
Hey Brett C. - did you ever get a response to your documentation issue? I’m having the same problem and can’t get around it.
Comment by Mark H. — 2005-08-22 @ 10:27 am
To complete Bob’s right warning against deleting anything in Apple’s territory (/usr/bin, /usr/lib also, …), just put /usr/local/bin in front of your path in your environment configuration file. I personally use .bashrc in my home directory (I had to create it I think). There are other possibilities maybe.
Hope it helps.
Comment by Jean-Michel LEON-FOUN-LIN — 2005-12-17 @ 8:47 pm