realpython / realpython/python-guide

Discrepancy in Installation Python 3 on Windows

Aperta
#846 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Batchfile
Stelle
29.8k
Fork
5.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The Working with Python 3 section mentions you should use python3 to launch the Python 3 interpreter, which does not actually work. The Windows distribution provides only python.exe for all versions of Python, and to launch the Python 3 interpreter you need python. This also creates problems if you install both Python 2 and 3—the executables override each other, and only one of the exes is visible at a time through %Path% (what actually is visible depends on the order of the search paths).

AFAIK the official way to deal with this problem is through the py launcher, but that only solves the python.exe problem, not other scripts installed later during the setup (e.g. pip vs pip3), and other global tools (e.g. pipenv). It will affect other parts of the tutorial as well.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con la sezione “Working with Python 3” della guida e consulta la documentazione collegata di Python launcher per Windows. Controlla gli altri riferimenti del tutorial a Python, pip, pip3 e pipenv, quindi aggiorna le indicazioni specifiche per Windows in modo che i comandi e le istruzioni per la selezione della versione siano coerenti ovunque.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.