-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry install bad python version #77
Comments
I think poetry should at least give an error rather than creating an invalid virtualenv, otherwise what's the point of the python dependency option in the first place? |
maybe something like this :
and/ or
|
@jgirardet @rainyday Thanks both of you for your input. I agree that And @rainyday the purpose of the |
I can propose some help if you want |
I am running into this too. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
If poetry is installed with python 3.6, when you specifiy python2.7 in [tool.poetry.dependencies] it will create a virtualenv under python 3.6.
I know it's the intended behaviour (it's in the doc) but I think It's a real issue.
So poetry should check while creating virtualenv that the python version are not compatible (or not the expected one).
Good idea are every where and the pipenv way (specify --python 3.6 or - python 2.7) is maybe a good way to do it.
thanks for poetry
The text was updated successfully, but these errors were encountered: