You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project that requires Python ^3.9. The system installation in /usr/bin/python3 is Python 3.6 and I'm in a Conda environment with Python 3.9.7.
Running poetry install gives:
The currently activated Python version 3.6.8 is not supported by the project (^3.9).
Trying to find and use a compatible version.
Using python3 (3.9.7)
Creating virtualenv poetry-test-PDOMCCYP-py3.9 in /home/ocifka/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies... (0.1s)
Writing lock file
However, this is the opposite of what happens.
Firstly, the activated Python was version 3.9.7 (from Conda) and not 3.6.8:
$ python --version
Python 3.9.7
Secondly, Poetry goes ahead and installs Python 3.6.8:
lots of improvements have been made in this area in the 1.2 release and should be solved. Maybe it's necessary to
set virtualenvs.prefer-active-python to true in your use case.
-vvv
option).https://gist.github.com/cifkao/cf3e0b23bc075bda6700400c3b1bebfc
Issue
I have a project that requires Python ^3.9. The system installation in
/usr/bin/python3
is Python 3.6 and I'm in a Conda environment with Python 3.9.7.Running
poetry install
gives:However, this is the opposite of what happens.
Firstly, the activated Python was version 3.9.7 (from Conda) and not 3.6.8:
Secondly, Poetry goes ahead and installs Python 3.6.8:
The text was updated successfully, but these errors were encountered: