The dependencies must be installed (poetry install) before running poetry run ...
poetry install
poetry run ...