python-poetry / python-poetry/install.python-poetry.org

Installing with Microsoft Store Python is confusing

Open
#135 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
255
Forks
65
Avg merge
2h 48m
Merged PRs (30d)
1

Description

I have Python 3 installed from Microsoft Store and I installed poetry with (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -. However, I am unable to find the poetry installation at %APPDATA%\pypoetry. I tried running the same command again but it said poetry already installed. I even tried debugging the installation script and everything including data_dir looks normal, but I just can't find the installation.

I suspect this is an issue caused by MS Store Python with some file system rewrite shenanigans, as everything went normal after I uninstalled this version and installed one from python.org. If possible we should warn the user or fail the installation when Microsoft Store Python is detected.

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.

Research direction

Start by reproducing the installation with Microsoft Store Python and inspect the installer’s handling of data_dir and the reported installation location. Compare it with a python.org installation; done means the script reliably warns or fails when this Python distribution causes the installation to be inaccessible.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.