This:
cd sat-extractor
pyenv global 3.9.7
mkvirtualenv test
pip install .
python ./src/satextractor/cli.py
Fails with:
ImportError: Encountered error: `No module named 'satextractor.builder'` when
loading module 'satextractor.builder.gcp_builder.build_gcp'
However, installing with pip install -e . (what I did initially, which is why I didn't notice this) works fine.
Maybe because when using a non-editable install, cli.py gets confused about whether it should be looking for modules in its directory or in the somehwere-else/site-packages/satextractor directory...
This:
Fails with:
However, installing with
pip install -e .(what I did initially, which is why I didn't notice this) works fine.Maybe because when using a non-editable install,
cli.pygets confused about whether it should be looking for modules in its directory or in thesomehwere-else/site-packages/satextractordirectory...