py27-spyder fails to build on Mountain Lion

David Nicholls david at
Sun Jul 29 16:34:26 PDT 2012

On 30/07/2012, at 12:38 AM, Brandon Allbery <allbery.b at> wrote:

> On Sun, Jul 29, 2012 at 5:47 AM, David Nicholls <david at> wrote:
> Following exactly the "maintenance" instructions on the Macports website for upgrading to a new OS, and attempting to install py27-spyder (v 2.1.10), I get the following:
> Did you upgrade python and py27-distribute first?  The latter has compiler information baked into it which will be incorrect after upgrading to Xcode 4.4 as required by Mountain Lion, and that outdated information will probably break some Python-related builds.
> Similar concerns apply to the perl5 ports (which themselves have the compiler information baked in), php*-pear, etc.

All I did was completely uninstall and clean everything, then did a 

sudo install py-spyder

It installed (or tried to) all the dependencies it needed, which included the python and py27-distribute. Both of those had been installed before the crash on p27-opbjc

I don't want to fight a dependency list in order to get py-spyder to work.  The current Apple python on this machine is v 2.7.2 and according to its boot info, it appears to be Apple build 5493, = Enthought EPD 7.1-2 (32 bit)  I don't remember ever installing the Enthought distro on this machine.  Is that the one that is supposed to come with Mountain Lion?

Is there an install sequence you'd suggest to get py-spyder working?  The reason I like it is that it has a pretty complete set of scientific python routines built in, and, unlike the Enthought academic version, isn't restricted in extensions.

Research School of Astronomy & Astrophysics
Mt Stromlo Observatory
Australian National University

More information about the macports-users mailing list