4 ms·
I like pyenv
by peanutbuterjly 4y ago
I like pyenv
- claytonjy 4y agoPyenv works well, I just wish Poetry did that for me. Instead Poetry will gladly ignore a set pyenv unless you force it to pay attention.
- Hackbraten 4y agoMy workaround for that is to initialize every checked-out copy like so: pyenv install -s pyenv exec pip install poetry pyenv exec poetry install That incantation goes into my README.md. Inconvenient, but I’ve come to accept it. I only need to run it after initial checkout and when the .python-version changes.
- claytonjy 4y agoInteresting! I like managing poetry at the user level with pipx, so my usual incantation is pyenv local 3.11.0 poetry init poetry env use $(pyenv which python) poetry install