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

Update gdal import #103

Open
acpaquette opened this issue Mar 27, 2019 · 0 comments
Open

Update gdal import #103

acpaquette opened this issue Mar 27, 2019 · 0 comments

Comments

@acpaquette
Copy link
Collaborator

Gdal is being imported in the __inti__.py inside of the io module using find_spec and manually loading the module.

This can lead to problems within a jupyter notebook where plio can't find gdal due to the way packages are handled in conda envs.

This could probably be changed to a try except around the usual import method.

https://github.com/USGS-Astrogeology/plio/blob/baf43c4296b51cb1cbb7dfacd783f456605677d6/plio/io/__init__.py#L6

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