Skip to content

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

@joshwapiano

Description

@joshwapiano

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

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