Skip to content

scipy installation error  #2

@lfoppiano

Description

@lfoppiano

I'm trying to run the project and I'm having an issue installing all the dependencies of the echo submodule, in particular I'm having issue with scipy, see error in the log:

    /usr/local/bin/gfortran -Wall -g -Wall -g -undefined dynamic_lookup -bundle build/temp.macosx-10.12-x86_64-3.6/build/src.macosx-10.12-x86_64-3.6/scipy/fftpack/_fftpackmodule.o build/temp.macosx-10.12-x86_64-3.6/scipy/fftpack/src/zfft.o build/temp.macosx-10.12-x86_64-3.6/scipy/fftpack/src/drfft.o build/temp.macosx-10.12-x86_64-3.6/scipy/fftpack/src/zrfft.o build/temp.macosx-10.12-x86_64-3.6/scipy/fftpack/src/zfftnd.o build/temp.macosx-10.12-x86_64-3.6/build/src.macosx-10.12-x86_64-3.6/scipy/fftpack/src/dct.o build/temp.macosx-10.12-x86_64-3.6/build/src.macosx-10.12-x86_64-3.6/scipy/fftpack/src/dst.o build/temp.macosx-10.12-x86_64-3.6/build/src.macosx-10.12-x86_64-3.6/fortranobject.o -L/usr/local/Cellar/gcc/7.2.0/lib/gcc/7/gcc/x86_64-apple-darwin16.7.0/7.2.0 -Lbuild/temp.macosx-10.12-x86_64-3.6 -ldfftpack -lfftpack -lgfortran -o build/lib.macosx-10.12-x86_64-3.6/scipy/fftpack/_fftpack.cpython-36m-darwin.so
    ld: library not found for -lSystem
    collect2: error: ld returned 1 exit status
    ld: library not found for -lSystem
    collect2: error: ld returned 1 exit status
    error: Command "/usr/local/bin/gfortran -Wall -g -Wall -g -undefined dynamic_lookup -bundle build/temp.macosx-10.12-x86_64-3.6/build/src.macosx-10.12-x86_64-3.6/scipy/fftpack/_fftpackmodule.o build/temp.macosx-10.12-x86_64-3.6/scipy/fftpack/src/zfft.o build/temp.macosx-10.12-x86_64-3.6/scipy/fftpack/src/drfft.o build/temp.macosx-10.12-x86_64-3.6/scipy/fftpack/src/zrfft.o build/temp.macosx-10.12-x86_64-3.6/scipy/fftpack/src/zfftnd.o build/temp.macosx-10.12-x86_64-3.6/build/src.macosx-10.12-x86_64-3.6/scipy/fftpack/src/dct.o build/temp.macosx-10.12-x86_64-3.6/build/src.macosx-10.12-x86_64-3.6/scipy/fftpack/src/dst.o build/temp.macosx-10.12-x86_64-3.6/build/src.macosx-10.12-x86_64-3.6/fortranobject.o -L/usr/local/Cellar/gcc/7.2.0/lib/gcc/7/gcc/x86_64-apple-darwin16.7.0/7.2.0 -Lbuild/temp.macosx-10.12-x86_64-3.6 -ldfftpack -lfftpack -lgfortran -o build/lib.macosx-10.12-x86_64-3.6/scipy/fftpack/_fftpack.cpython-36m-darwin.so" failed with exit status 1
    
    ----------------------------------------
  Rolling back uninstall of scipy
Command "/Users/lfoppiano/development/inria/virtualenv3/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/_j/700hscq54x522_8vg8b57srh0000gn/T/pip-build-f4wug7w5/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/_j/700hscq54x522_8vg8b57srh0000gn/T/pip-85za62hl-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/lfoppiano/development/inria/virtualenv3/bin/../include/site/python3.6/scipy" failed with error code 1 in /private/var/folders/_j/700hscq54x522_8vg8b57srh0000gn/T/pip-build-f4wug7w5/scipy/

I'm using python 3.6.3 with virtualenv on macOS. I tried to install the required dependencies (apt-get install libblas-dev liblapack-dev gfortran) using brew but it didn't find any.

Any suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions