poetry install didn't find the correct python version set by pyenv #9619
Labels
area/python
Related to detection of Python installations
kind/bug
Something isn't working as expected
status/triage
This issue needs to be triaged
Description
Hello. I'd like to use
poetry
to manage python packages for global python environment set bypyenv
in Windows.So, I first install and set python 3.12.5 using
pyenv
Then, in the arbitrary folder containing
pyproject.toml
file withpython = 3.12.5
in it, I install python packages with following commandsSo far, it worked fine globally.
Problems happened when I tried to switch my global environment to 3.13.0rc1.
I try to do the same thing, but it seems that
poetry install
stuck to previous 3.12.5 version even thoughpython
points to 3.13.0rc1How could I utilize
poetry
to manage global python package management withpyenv
? Please give me some hints.Thanks!
Workarounds
pyenv uninstall 3.12.5
poetry install
Poetry Installation Method
install.python-poetry.org
Operating System
Windows 10
Poetry Version
1.8.3
Poetry Configuration
Python Sysconfig
Example pyproject.toml
Poetry Runtime Logs
It's not failed.
The text was updated successfully, but these errors were encountered: