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 - --uninstall
and 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 🙂
Hi, we have a User on Windows 11 with PowerShell 7.5.2 installed. We installed Python via
winget. After runningand adding
C:\Users\Name\AppData\Roaming\Python\Scripts\toPATH, we gotWe tried to uninstall by running
and then install again with
pythoninstead ofpywhich did not help. We get the same
ResourceUnavailableerror.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 🙂