Open stoneyv opened 2 years ago
Hmm I should add some more poetry
-specific explanation. I don't usually use poetry
to manage my virtual environments; I only use it for installing dependencies.
Regardless, you shouldn't need to cd
into src
in order to run the code. Once you've run poetry install
, you should be able to call the package from any directory.
I have occasionally had some weird issues with some combination of pyenv
+ poetry
that I don't quite understand where, after installing with poetry, I then have to open a new shell and activate my environment in order to get things to fully work. Let me know if that works for you!
This is my first time using poetry and typer (like fastapi for cli). I needed to cd to src and issue a "poetry shell" to use the environment created by the poetry install.