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

Installing with Microsoft Store Python is confusing

Offen
#135 4 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Python
Sterne
255
Forks
65
Ø Merge
2 Std. 48 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die Installation mit Microsoft Store Python zu reproduzieren, und untersuche, wie der Installer mit data_dir und dem gemeldeten Installationsort umgeht. Vergleiche dies mit einer python.org-Installation; abgeschlossen ist die Aufgabe, wenn das Skript zuverlässig warnt oder fehlschlägt, sobald diese Python-Distribution dazu führt, dass die Installation nicht zugänglich ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.