Upgrade Python on a Mac
Graham Dumpleton
Graham.Dumpleton at gmail.com
Mon Mar 30 17:52:42 EDT 2009
On Mar 31, 3:07 am, 7stud <bbxx789_0... at yahoo.com> wrote:
> On Mar 3, 4:01 am, Graham Dumpleton <Graham.Dumple... at gmail.com>
> wrote:
>
>
>
> > On Mar 3, 8:53 am, Rey Bango <reyba... at gmail.com> wrote:
>
> > > Hi,
>
> > > I'd like to upgrade the installed version of Python that came standard
> > > on OS X (Leopard) with either 2.6.1 or 3.0.1. Before I stick my foot
> > > in it, I just wanted to get a better understanding of the process.
>
> > > If I download the disk image installer from here:http://www.python.org/download/
> > > will it allow me to upgrade my existing version or is it more involved
> > > (eg: making a new build).
>
> > > I've looked through the python.org page for upgrade instructions for a
> > >Macand haven't found it.
>
> > > Any help would be appreciated.
>
> > Beware of the official Python binary installers for MacOS X if wanting
> > to do Python web development.
>
> > Based on feedback these installers have only been compiled for 32 bit
> > architectures. This makes them useless if you want to run mod_python
> > ormod_wsgiwith Apache that comes with MacOS X as it runs as 64 bit
> > and relies on the Python framework having 64 bit, which these
> > installers do not provide.
>
> > If this is going to affect you, build from source code. Configure
> > options required would be, as an example:
>
> > ./configure --prefix=/usr/local/python-3.0 \
> > --enable-framework=/usr/local/python-3.0/frameworks \
> > --enable-universalsdk=/ MACOSX_DEPLOYMENT_TARGET=10.5 \
> > --with-universal-archs=all
>
> Which of the following is the "official Python binary installer for
> MacOS X"?
>
> -----
> Python-2.6.1.tar.bz2
>
> python-2.6.1-macosx2008-12-06.dmg
> -----
>
> and is the problem with 3.0 specifically or all versions?
>
> > Note that not all MacPorts installers have been both 32/64 bit either.
> > Not sure if they have fixed this issue.
I am talking about the binary dmg installer. Although the source by
default only installs 32 bit as well when compiled.
This issue affects all versions available.
Graham
More information about the Python-list
mailing list