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

pysis.isis can't import isis functions #28

Open
mol3earth opened this issue Jul 24, 2020 · 1 comment
Open

pysis.isis can't import isis functions #28

mol3earth opened this issue Jul 24, 2020 · 1 comment

Comments

@mol3earth
Copy link

I am trying to use pysis with the nau branch of the bayleef package and I get this error when trying to use bayleef
when i type > bayleef at the command prompt i get:

  ...
  File ".../bayleef/bayleef/utils.py", line 31, in <module>
    from pysis.isis import (cam2map, campt, footprintinit, jigsaw, map2map,
ImportError: cannot import name 'cam2map' from 'pysis.isis' (unknown location)

My ISISROOT environment variable is configured correctly, and my env_var.sh file is also adding $ISISROOT/bin to $PATH.

Any ideas?

@AustinSanders
Copy link

AustinSanders commented Jul 31, 2020

@mol3earth I just ran into this issue as well using both ISIS4.2 and a local build of ISIS based on ISIS4. I didn't find a fix, but it looks like another dev has something in the works. As a workaround, I pointed pysis to isis3.9.1. It looks like the bug is related to versions 4.0+.

EDIT:

PR #27 should fix this issue.

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

2 participants