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

Stac import #287

Closed
mmann1123 opened this issue Oct 21, 2023 · 2 comments
Closed

Stac import #287

mmann1123 opened this issue Oct 21, 2023 · 2 comments

Comments

@mmann1123
Copy link
Collaborator

mmann1123 commented Oct 21, 2023

I am getting an error when importing open_stac
@jgrss

from geowombat.core.stac import open_stac
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/mmann1123/miniconda3/envs/test/lib/python3.10/site-packages/geowombat/core/stac.py", line 117, in <module>
    class _STACCatalogOpeners:
  File "/home/mmann1123/miniconda3/envs/test/lib/python3.10/site-packages/geowombat/core/stac.py", line 118, in _STACCatalogOpeners
    element84 = _Client.open
NameError: name '_Client' is not defined
@jgrss
Copy link
Owner

jgrss commented Oct 21, 2023

I cannot reproduce this off of main. Did you install the 'stac' extra? I created a new venv and installed locally via pip install .[stac].

@mmann1123
Copy link
Collaborator Author

Yeah I did the conda forge stac install. I will try pip, maybe I messed something up with the conda buid?

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