Got ResourceUnavailable after installing on Windows in PowerShell
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
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.
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 🙂
- Dominant language
- Python
- Stars
- 255
- Forks
- 65
- Avg merge
- 2h 48m
- Merged PRs (30d)
- 1
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.
More from python-poetry/install.python-poetry.org
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
python-poetry/install.python-poetry.org#144 · 8 comments · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
python-poetry/install.python-poetry.org#177 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
All issues in python-poetry/install.python-poetry.org
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/skills#1811 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
speaches-ai/speaches#678 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
datalayer/mcp-compose#42 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
UKGovernmentBEIS/inspect_evals#2523 ·