[SciPy-User] Scipy tests fail: build for wrong architecture

Ralf Gommers ralf.gommers@googlemail....
Mon Nov 1 10:08:37 CDT 2010

Hi Benjamin,

On Sat, Oct 23, 2010 at 1:32 AM, Benjamin Buch <benni.buch@gmx.de> wrote:
> Hi,
> I successfully built and installed scipy, but the tests fail:
> http://gist.github.com/640995
> For every *.so file, the test say 'mach-o, but wrong architecture'.
> I checked, and the *.so files are 'Mach-O 64-bit bundle x86_64'
> I'm on OSX 10.6.4 with python.org 32-bit python 2.7.
> I think that python 2.7 requires all files to be build 32 bit.
> I don't know why all *.so are build for 64 bit.
> Is there a way or command that makes 'python setup.py build' build scipy for 32 bit?

Can you please try this:
http://github.com/rgommers/numpy/commit/98831b699? It works for me on
OS X with 2.6 32-bit and 2.7 64-bit, should do the right thing for 2.7
32-bit as well.

Sorry for the slow reply.


More information about the SciPy-User mailing list