Ask Your Question
1

Why is python poetry (env use) unable to identify the python version on windows?

asked 2021-06-06 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-09-03 18:00:00 +0000

david gravatar image

Python Poetry (env use) relies on the pyenv tool to detect and select the appropriate Python version. However, on Windows, pyenv does not work because it is designed for Unix-like operating systems such as Linux and macOS. Therefore, Poetry cannot identify the Python version on Windows without additional installation and configuration of pyenv or other similar tools. Instead, you can set the Python version manually in the pyproject.toml file for your Poetry project.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-06-06 11:00:00 +0000

Seen: 8 times

Last updated: Sep 03 '21