poetry install
reported python version and installed venv python version differ
#4207
Closed
2 of 3 tasks
Labels
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: opensuse leap 15.3 / conda
Poetry version: 1.1.6
Link of a Gist with the contents of your pyproject.toml file: https://github.com/moneymeets/ghd/blob/6449eb2ef0cffe63d6f4ff2502ffab688c0305d4/docker/pyproject.toml
Issue
I used the new installer, which installed
poetry
using python 3.8.5. Additionally, I have installed conda, with a python 3.9.5 virtual environment, which is prefixed to$PATH
so it is preferred over the system installed python version - this was added after installingpoetry
.When doing a
poetry install
without any existing prior virtualenv, the following is printed to the console:poetry correctly reports that it uses python 3.9.5, as this exact version is specified in
pyproject.toml
. However...which is clearly not python 3.9.5. The creation of the virtualenv can be done correctly if I'm doing a
poetry env use $(which python3)
, but this shouldn't be necessary aspoetry
reported it was using the correct version.The text was updated successfully, but these errors were encountered: