-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Hi, we have a User on Windows 11 with PowerShell 7.5.2 installed. We installed Python via winget. After running
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -and adding C:\Users\Name\AppData\Roaming\Python\Scripts\ to PATH, we got
ResourceUnavailable: Program 'poetry.exe' failed to run: An error occurred trying to start process 'C:\Users\Name\AppData\Roaming\Python\Scripts\poetry.exe' with working directory 'C:\Users\Name'. Access is denied.At line:1 char:1
+ poetry
+ ~~~~~~.
We tried to uninstall by running
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py - --uninstalland then install again with python instead of py
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -which did not help. We get the same ResourceUnavailable error.
We checked the permission of C:\Users\Name\AppData\Roaming\Python\Scripts\poetry.exe, and the current User does have full control.
How can we address the problem? Thank you 🙂
Metadata
Metadata
Assignees
Labels
No labels