-
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 env
doesn't work on Windows after install-poetry.py
#4615
Comments
FWIW this problem appears to have begun in 1.1.9. |
@tom-bowles great research. Poetry 1.1.8 works for me too, the latest version still seems to be broken. |
With apologies, I'm pinging the 4 members of the python-poetry project since the "@python-poetry/triage" as mentioned in the docs doesn't work: @sdispater @abn @finswimmer @stephsamson This issue has been present since 1.1.9 and renders poetry unusable on Windows. It's a simple typo with a one-line fix. |
Any timeline on when this will be resolved? |
Have you tried installing poetry with pipx at all, does that get around this issue? |
tried and the answer is no... |
Closing as duplicate of #2117. |
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. |
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: Windows 10
Poetry version: 1.1.11
Link of a Gist with the contents of your pyproject.toml file: N/A
Issue
After installing poetry, creating a fresh project and running
poetry env list
the following error occurs:This appears to be due to the following at lines 1233-1236 in https://github.com/python-poetry/poetry/blob/1.1/poetry/utils/env.py:
I believe in the first case self._path should be used instead of self._bin_dir.
This problem doesn't appear to happen (the function is never called) when poetry is installed with
get-poetry.py
instead ofinstall-poetry.py
. I don't know why that is, but it's a good workaround. I think the above code is wrong nonetheless.The text was updated successfully, but these errors were encountered: