[SciPy-User] Installing scipy on MacOS X

Ralf Gommers ralf.gommers at gmail.com
Mon Jun 15 16:07:26 EDT 2015


On Mon, Jun 15, 2015 at 9:59 PM, Slater Joseph C , PhD, PE <
joseph.slater at wright.edu> wrote:

> I'm working towards developing for scipy (staying away from compiled code)
> and I'm being tripped up by an inability to install scipy (16.0) in a
> virtualenv on MacOS X. I've tried different variants of python (MacPorts,
> Homebrew, Official distribution) (2.7.10, 3.4), and have tried multiple
> fortran compilers (starting with form the recommended site, then from
> elsewhere). I get the same error message regardless.
>
> ld: symbol(s) not found for architecture x86_64
> collect2: error: ld returned 1 exit status
> error: Command "/usr/local/bin/gfortran -Wall -g -L/usr/local/lib
> build/temp.macosx-10.6-intel-3.4/scipy/cluster/_vq.o -L/opt/local/lib
> -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin14/5.1.0
> -Lbuild/temp.macosx-10.6-intel-3.4 -ltatlas -ltatlas -ltatlas -lgfortran -o
> build/lib.macosx-10.6-intel-3.4/scipy/cluster/_vq.so" failed with exit
> status 1
>

This is trying to use ATLAS, do you have that installed? I'd expect all
those source builds to use Accelerate.

Can you:
- give us the full build command you used
- put the complete build log in a gist and link to it
- check that ``python -c "import numpy; numpy.test('full')`` passes

I've been using Homebrew and gfortran 4.9.1 for a year or so without issues.

Ralf



>
> This does remind me why I left Fortran years ago, but isn't entertaining
> in the least. Can anyone walk me through a successful process? I'd greatly
> appreciate the help.
>
> FWIW: I do have it "working" within MacPorts, but that doesn't suit my
> expectation of development. I'd like to be able to merge my code into scipy
> and submit a pull request, eventually.
>
> Best Regards,
> Joe
>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150615/27c9ce81/attachment.html>


More information about the SciPy-User mailing list