developmentseed / landsat-util

A utility to search, download and process Landsat 8 satellite imagery
Creative Commons Zero v1.0 Universal
691 stars 147 forks source link

Failed to build scipy in Mac 10.13 #248

Closed Rub21 closed 6 years ago

Rub21 commented 6 years ago
~ $ pip install landsat-util
...
customize UnixCCompiler
  customize UnixCCompiler using build_clib
  customize Gnu95FCompiler
  Could not locate executable gfortran
  Could not locate executable f95
  customize NAGFCompiler
  customize AbsoftFCompiler
  Could not locate executable f90
  Could not locate executable f77
  customize IBMFCompiler
  Could not locate executable xlf90
  Could not locate executable xlf
  customize IntelFCompiler
  Could not locate executable ifort
  Could not locate executable ifc
  customize GnuFCompiler
  Could not locate executable g77
  customize G95FCompiler
  Could not locate executable g95
  customize PGroupFCompiler
  Could not locate executable pgfortran
  don't know how to compile Fortran code on platform 'posix'
  building 'dfftpack' library
  error: library dfftpack has Fortran sources but no Fortran compiler found

  ----------------------------------------
  Failed building wheel for scipy
  Running setup.py clean for scipy
Failed to build scipy
Installing collected packages: polyline, homura, boto, cycler, matplotlib, toolz, dask, networkx, scikit-image, scipy, ratelim, geocoder, landsat-util
  Found existing installation: homura 0.1.5
    Uninstalling homura-0.1.5:
      Successfully uninstalled homura-0.1.5
  Found existing installation: scipy 1.0.0
    Uninstalling scipy-1.0.0:
      Successfully uninstalled scipy-1.0.0
  Running setup.py install for scipy ... error
    Complete output from command /Users/ruben/.pyenv/versions/3.6.3/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/6v/__4yg2p950382cycwndc2cf80000gn/T/pip-build-7kpekstu/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/6v/__4yg2p950382cycwndc2cf80000gn/T/pip-40putda1-record/install-record.txt --single-version-externally-managed --compile:
    lapack_opt_info:
    openblas_lapack_info:
      libraries openblas not found in ['/Users/ruben/.pyenv/versions/3.6.3/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

...
    ----------------------------------------
  Rolling back uninstall of scipy
Command "/Users/ruben/.pyenv/versions/3.6.3/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/6v/__4yg2p950382cycwndc2cf80000gn/T/pip-build-7kpekstu/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/6v/__4yg2p950382cycwndc2cf80000gn/T/pip-40putda1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/6v/__4yg2p950382cycwndc2cf80000gn/T/pip-build-7kpekstu/scipy/
eigenwillig commented 6 years ago

Are you dump? You need a Fortran compiler, that's exactly what pip reports.

moermann commented 6 years ago

There was a redacted post: Are you dumb? You need a Fortran compiler, that's exactly what pip reports.

olafveerman commented 6 years ago

Not redacted, just hidden because of the language used by the user. We welcome everybody's participation in our repo's, as long as it's in a respectful way.