-
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
getting [EnvCommandError] after upgrading Poetry for all commands #1895
Comments
Solved it. Its a problem when you install and uninstall conda. it creates autorun bindings for cmd.exe in the registry leading to these errors.
|
I'm having this same issue. How did you fix it? |
Check your PATH variable and those registry keys I mentioned. Make sure all
paths are valid.
…On Sun, Feb 23, 2020, 6:38 AM jimbroze ***@***.***> wrote:
I'm having this same issue. How did you fix it?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#1895?email_source=notifications&email_token=AHX37RCGD25GNPJ273VBWJ3REJN2TA5CNFSM4KHKYVKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVZRBA#issuecomment-590059652>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHX37RCH3WQZPBCE7BNSKWLREJN2TANCNFSM4KHKYVKA>
.
|
Thanks. Embarrassingly, my non-Anaconda python interpreter wasn't added to the PATH variable. |
Note that in Windows 10:
But this is NOT python. It is a program that opens the windows store to install python. If this is found in your PATH and poetry tries to use it AND you have NOT installed python from the windows store, you can get this error. |
Nowhere in the original post does the poster mention anything inside the |
Originally when searching for a solution for an error with very similar error message on Windows this and another issue came up as top hits. I was simply adding something I hoped might help others or be related to solving the problem. Note that when the issue is the one related to the |
@razor-x How to solve this problem then? |
Something like this #1587 (comment) @adriaanbd |
@billfreeman44 Thank you! I read all posts in there but didn't find someone explicitly saying how to solve the issue related to the WindowsApps folder in the path, but I guess no one needs to state the obvious. I've uninstalled the Python that was installed by Windows Apps and installed it by using the executable from Poetry works now.
|
@adriaanbd Yep, sorry. It was late into a long day for me so I forgot to mention the explicit step. At least now others will find your solution and can fix it :) |
Running into this issue as well and can confirm that this solution finally helped me. (I tried to use |
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. |
-vvv
option).Issue
I recently upgraded poetry poetry from 1.0.0 to 1.0.2 and now i am unable to execute any poetry commands like
poetry env list
orpoetry shell
orpoetry add
for my existing projects. I get the same error every time. I checked my path and i don't seem to have an invalid path so I don't know where the issue is coming from. I uninstalled and reinstalled poetry and still get the same error.The text was updated successfully, but these errors were encountered: