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

Successful --user install, but ImportError when tested #253

Open joshwapiano opened 6 years ago

joshwapiano commented 6 years ago

I've successfully installed landsat-util after following the instructions here

Unfortunately, I get the following error when testing with a basic search -

$ landsat search --lat 38.9004204 --lon -77.0237117
RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
Traceback (most recent call last):
...
# Various errors not shown
...
  File "/home/de-admin/.local/lib/python3.6/site-packages/scipy/ndimage/filters.py", line 36, in <module>
    from . import _nd_image
ImportError: numpy.core.multiarray failed to import

I have tried updating numpy, using the following code for example:

$ python3 -m pip install numpy -I --user

however I then get the following error:

$ landsat search --lat 38.9004204 --lon -77.0237117
ImportError: /home/de-admin/.local/lib/python3.6/site-packages/scipy/special/_ufuncs.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _gfortran_stop_numeric_f08

I've tried installing landsat-util with various sudo as well as --user and python versions 2, none of which has resolved the issue.

Any advice on what to try next to get landsat-util functional?

Many thanks Josh