Update:
Which Python should I use to install poetry?
poetry self update
was trying to update a system package without the necessary permissions.pyenv global 3.10.7
$ curl -sSL https://install.python-poetry.org | python3 -
pyenv global 3.10.8
Now, poetry
still runs on Python-3.10.7
. If I uninstall this python version, poetry crashes.
How can I instruct the virtual environment of poetry to use the new python version?
A solution is to uninstall and reinstall it:
$ curl -sSL https://install.python-poetry.org | python3 - --uninstall
$ curl -sSL https://install.python-poetry.org | python3 -
Is there any other way?
The decision is to use Pyenv to install Poetry.
If the older python version should be deleted: