Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Got ResourceUnavailable after installing on Windows in PowerShell

Open
#162 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
powershell, python
Domain
cli, tooling

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-poetry/install.python-poetry.org

All issues in python-poetry/install.python-poetry.org

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.