pypa / pypa/packaging.python.org

Address the python3 command issue on Windows

Offen
#751 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Python
Sterne
1.7k
Forks
1.7k
Ø Merge
3 T. 12 Std.
Gemergte PRs (30 T.)
4

Beschreibung

A lot of the support requests on pypa/packaging-problems are Windows users not being able to run the python3 command, since it is not shipped with the official CPython distribution. (recent example: pypa/packaging-problems#373)

Microsoft recently added a python3.exe stub that automatically opens the Windows Store page if you does not have the Store-provided Python installed. The problem is, the stub would silently do nothing if you pass any arguments to it, making users very confused.

I don’t have a perfect solution, unfortunately. The default python on macOS is still Python 2 (with a warning message), so that won’t work. py -3 is the recommended command for the official CPython distribution on Windows, but IIRC it is not shipped with the Windows Store distribution. The situation is quite bad, if I am being honest.

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

Beginnen Sie damit, den Issue-Text und das verlinkte Beispiel pypa/packaging-problems#373 zu prüfen, und vergleichen Sie anschließend das hier beschriebene Befehlsverhalten von offiziellem CPython und Microsoft Store. Legen Sie eine konkrete Empfehlung für Windows-Benutzer fest und dokumentieren Sie, wie python3-Argumente behandelt werden sollen; als erledigt gilt die Aufgabe, wenn die Anleitung die gemeldete Verwirrung ohne Rückgriff auf eine ungelöste Befehlsauswahl adressiert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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