[Numpy-discussion] ANN: NumPy 1.6.0 [Problems on OS X w/ Python 2.6 and XCode 4]

Ralf Gommers ralf.gommers at googlemail.com
Mon May 16 14:58:11 EDT 2011


On Mon, May 16, 2011 at 8:30 PM, Andrew Jaffe <a.h.jaffe at gmail.com> wrote:

> On 16/05/2011 18:45, Ralf Gommers wrote:
> >
> > On Mon, May 16, 2011 at 12:41 PM, Andrew Jaffe <a.h.jaffe at gmail.com
> > <mailto:a.h.jaffe at gmail.com>> wrote:
> >
> >     Dear all,
> >
> >     I have OSX 10.6.7, XCode 4, and Python.org python 2.6.6 and 2.7.1,
> where
> >     2.7 is 64-bit.
> >
> >     With 2.7, easy_install successfully compiles and installs the
> package,
> >     both over the web and with an explicit download.
> >
> >     With 2.6, there seems to be a problem with attempting to compile the
> PPC
> >     architecture, seen in this error.
> >
> > Please just use "python setup.py install", easy_install is very
> unreliable.
> >
> >
> >     /usr/libexec/gcc/powerpc-apple-darwin10/4.0.1/as: assembler
> >     (/usr/bin/../libexec/gcc/darwin/ppc/as or
> >     /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not
> >     installed
> >
> > XCode 4 does not support PPC, use version 3.2. Then it should work as
> > advertized.
>
> Aha, thanks!
>
> But they're both installed, but how do force this?


You have to figure out where the right compiler is located. Then try "export
CC=/path/to/compiler". Or if you have MacPorts installed you can use its
gcc_select. Or google for another solution.


> (Does 64-bit 2.7 not care about PPC?)
>

No, it's an Intel 32 + 64-bit bundle.

Cheers,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110516/4d7fb20e/attachment.html>


More information about the NumPy-Discussion mailing list