Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joshwapiano opened this issue Jul 18, 2018 · 0 comments
Open

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

joshwapiano opened this issue Jul 18, 2018 · 0 comments

Comments

@joshwapiano
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant