"poetry use env /path/to/python" does not work as expected #10494
-
... or I am misunderstanding something? I install multiple Python versions. Then, I choose one of the versions e. g. python3.12 and install pipx via pip and via pipx poetry. Now for each project, I want to select a specific Python version via "poetry env use /path/to/python". However no matter what I do, poetry always creates the .venv using the python version I chose as a default. Any ideas? The environment is a Debian bookworm container. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This might be #10490. In other words, make sure that |
Beta Was this translation helpful? Give feedback.
This might be #10490. In other words, make sure that
virtualenv<2.33
is installed in Poetry's own venv (pipx inject poetry "virtualenv<2.33"
) or install poetry from #10493 (pipx install git+https://github.com/python-poetry/poetry.git@refs/pull/10493/head
) until 2.1.4 is released, which should happen soon.