[SciPy-User] Problem installing scipy on 10.6.4, python 2.7

Alex Luso tapadamocho@yahoo....
Fri Oct 15 20:55:23 CDT 2010

Thanks, that worked. Cheers, Alex

From: Ralf Gommers <ralf.gommers@googlemail.com>
To: SciPy Users List <scipy-user@scipy.org>
Sent: Fri, October 15, 2010 11:32:37 AM
Subject: Re: [SciPy-User] Problem installing scipy on 10.6.4, python 2.7

On Fri, Oct 15, 2010 at 11:25 PM, Alex Luso <tapadamocho@yahoo.com> wrote:

>  Hi,
>  I am trying to install Scipy from source on Python 2.7, Mac OS X 10.6.4
>  Despite following the instructions on the install page (i.e. use gcc++-4.0, 
>etc, gfortran install), the install fails as follows:
>-- snip --
>many warnings
>ld: in /usr/lib/libSystem.B.dylib, missing required architecture ppc64 in file 
>for architecture ppc64
>collect2: ld returned 1 exit status
>ld: warning: object file compiled with -mlong-branch which is no longer needed. 
>To remove this warning, recompile without -mlong-branch: 
>lipo: can't open input file: 
>/var/folders/4F/4F3fgpofFGSlvDrh+OmSHE+++TI/-Tmp-//cco4e1PE.out (No such file or 
>error: Command "/usr/local/bin/gfortran -Wall -arch  ppc -arch i686 -arch x86_64 
>-arch ppc64 -Wall -undefined dynamic_lookup -bundle 
> build/temp.macosx-10.5-fat3-2.7/scipy/fftpack/src/zfft.o 
> build/temp.macosx-10.5-fat3-2.7/build/src.macosx-10.5-fat3-2.7/fortranobject.o 
>-Lbuild/temp.macosx-10.5-fat3-2.7 -ldfftpack -lfftpack -lgfortran -o 
>build/lib.macosx-10.5-fat3-2.7/scipy/fftpack/_fftpack.so" failed with exit 
>status 1
>-- snip --
>  As a test, I tried to manually re-run that last offending command (the 
>gfortran one) after manually removing -arch ppc64, no error is reported. Is that 
>a clue?

It is, see http://projects.scipy.org/numpy/ticket/1399. The fix at 
should fix this problem.


>Mac OS 10.6.4
>I am using Python binary from python.org (the 64-bit version of it):
>$ python --version
>Python 2.7
>$ gcc --version
>i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
>$ gfortran --version
>GNU Fortran (GCC) 4.2.3
>SciPy-User mailing list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20101015/fcb5b614/attachment.html 

More information about the SciPy-User mailing list