-
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 fails because a space in path to env #3013
Comments
@cruzelante098 can you provided the
The EDIT: realised just after writing this that the issue is that arguments are not quoted. |
@abn here's the
|
That was quick. Thank you @abn |
@abn the new release (1.1.0) works fine now but there's a new error related to
Edit:I was testing it with Poetry v1.1.0rc1 and found that the error that was fixed in 1.1.0 by #3015 was also caused by the same library,
Edit 2:This issue can be circunvented by installing the package with pip with the virtualenv activated: poetry run pip install pyreadline
poetry install # will continue without issues |
@cruzelante098 does this work in at all?
And when doing |
The command throws the same error:
I'd say that is installing it from sdist since
|
I just realised that
|
Looks like poetry is downloading the exe for some reason and pip doesn't like the exe. Can you raise a separate issue for that please? You can work around it by using a url dependency pointing to the zip file directly. As for poetry update, if you have an older poetrg performing the update you will have the bug since well it is not updated yet. :) |
Oh... I had forgotten that I was using 1.1.0rc1. Thank you. Sure, I'll open a new issue. Thank you @abn |
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).Issue
poetry install
throws the next error:The error seems to be caused because there's a space in my username, that's included in the path to the virtualenv.
This error has been reported before (#199, #657), but in those instances the error was fixed. This one is happening in the latest version of Poetry.
The text was updated successfully, but these errors were encountered: