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

No module named 'pypgstac.pgstacrs' #260

Open
drnextgis opened this issue Apr 23, 2024 · 1 comment
Open

No module named 'pypgstac.pgstacrs' #260

drnextgis opened this issue Apr 23, 2024 · 1 comment

Comments

@drnextgis
Copy link
Collaborator

I've just cloned the repo and am attempting to execute pypgstac:

➜  pgstac git:(main) ✗ docker compose run pypgstac
[+] Running 1/0
 ⠿ Container pgstac  Running                                                                                                                                                                                  0.0s
root@ff597a78a779:/opt/src/pypgstac# pypgstac          
Traceback (most recent call last):
  File "/usr/local/bin/pypgstac", line 5, in <module>
    from pypgstac.pypgstac import cli
  File "/opt/src/pypgstac/python/pypgstac/pypgstac.py", line 11, in <module>
    from pypgstac.load import Loader, Methods, Tables
  File "/opt/src/pypgstac/python/pypgstac/load.py", line 40, in <module>
    from .hydration import dehydrate
  File "/opt/src/pypgstac/python/pypgstac/hydration.py", line 5, in <module>
    from pypgstac.pgstacrs import hydrate  # noqa # pylint: disable=unused-import
ModuleNotFoundError: No module named 'pypgstac.pgstacrs'
@drnextgis
Copy link
Collaborator Author

The contents of the local folder overwrite those of /opt/src/pypgstac/python/pypgstac due to:

- .:/opt
Should we consider removing that volume?

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