realpython / realpython/python-guide

Discrepancy in Installation Python 3 on Windows

Abierto
#846 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Batchfile
Estrellas
29.8k
Forks
5.9k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza con la sección “Working with Python 3” de la guía y revisa la documentación enlazada del Python launcher para Windows. Comprueba las demás referencias del tutorial a Python, pip, pip3 y pipenv, y actualiza después las indicaciones específicas de Windows para que los comandos y las instrucciones de selección de versiones sean coherentes en todo el documento.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
documentation
Tipo de issue
Documentación
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.