Potential for confusion on Pipenv & Virtual Environments
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 45/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- documentation
Direzione di ricerca
Inizia confrontando le pagine Installing Python 3 on Mac OS X e Pipenv & Virtual Environments, in particolare le relative istruzioni per verificare la versione di Python. Chiarisci quale comando debba essere usato per Python 3 e spiega le differenze tra i comandi python, python2 e python3; la documentazione sarà completa quando le istruzioni di configurazione saranno prive di ambiguità per l’ambiente macOS descritto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I arrived on the Pipenv & Virtual Environments page from Installing Python 3 on Mac OS X. At that point, I've have installed python2 and python3 via homebrew and there is also the system python. Installing Python 3 on Mac OS X clearly states that
Working with Python 3
At this point, you have the system Python 2.7 available, potentially the Homebrew version of Python 2 installed, and the Homebrew version of Python 3 as well.
$ python
will launch the system Python interpreter.
$ python2
will launch the homebrew-installed Python 2 interpreter (if any).
$ python3
will launch the homebrew-installed Python 3 interpreter.
And yet on Pipenv & Virtual Environments the first thing I'm encouraged to do is make sure python3 is installed by typing $python --version which will display the system Python interpreter version.
This could potentially confuse a new developer who may be wondering why they are seeing version say 2.7.x instead of 3.6.x as the writeup suggest. Besides as at the time of writting there are not many OS's that have $python defaulting to version 3.6.x.
If the writeup in insisting of starting Python 3 with the command $python then it needs to be explained how this can be done safely.
Thanks.
- Lingua principale
- Batchfile
- Stelle
- 29.8k
- Fork
- 5.9k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di realpython/python-guide
-
Page 404 error Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
realpython/python-guide#1104 · 2 commenti ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 62/100
realpython/python-guide#327 ·
-
PyZMQ improvements Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
realpython/python-guide#326 · 5 commenti ·
-
@alex Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
realpython/python-guide#1194 ·
-
Development Team SAP Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
realpython/python-guide#1192 ·