python-poetry / python-poetry/install.python-poetry.org
Got ResourceUnavailable after installing on Windows in PowerShell
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 255
- Forks
- 65
- Avg merge
- 2h 48m
- Merged PRs (30d)
- 1
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 - --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 🙂
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the install.python-poetry.org script and reproducing the PowerShell commands that create and launch C:\Users\Name\AppData\Roaming\Python\Scripts\poetry.exe. Compare the executable and PATH behavior with a working Windows installation; done means identifying the cause of the access-denied launch failure and confirming that Poetry starts after reinstalling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100