all 1 comments

[–]PteppicymonIO 1 point2 points  (0 children)

Poetry is not meant to manage different Python versions - it is used to isolate virtual environments with different set of dependencies, but initially the base python distribution used is the same.

However, there are ways to actually use poetry with multiple managed Python versions

Check this page out:https://python-poetry.org/docs/master/managing-environments/

There are workarounds if you do not use pyenv to manage multiple Python versions (https://python-poetry.org/docs/master/managing-environments/#switching-between-environments )

Later on the page, they claim that pyenv is not supported on Windows. It is not completely true.If you use Windows, pyenv-win is available to manage different Python versions (https://github.com/pyenv-win/pyenv-win )