python-poetry / python-poetry/install.python-poetry.org
Poetry Installation(Official Installer Script) error with Python 3.12.9 on Ubuntu 24.04
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 255
- Forks
- 65
- Merge medio
- 2 h 48 min
- PR fusionados (30 d)
- 1
Descripción
I encountered an error while trying to install Poetry using Python 3.12. The installation fails with following error message:
Install Python 3.12
Run the Poetry installation: curl -sSL https://install.python-poetry.org | POETRY_HOME=/etc/poetry python3 -
The installation fails with following error message:
` Installing Poetry...
Retrieving Poetry metadata
Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the poetry command to Poetry's bin directory, located at:
/etc/poetry/bin
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (2.0.1)
Installing Poetry (2.0.1): Creating environment
Installing Poetry (2.0.1): An error occurred. Removing partial environment.
Poetry installation failed.
See /install/poetry-installer-error-m9digvmf.log for error logs.
Poetry installation failed. See error log for details.
Poetry installation failed. Printing error log:
/etc/poetry/venv/bin/python3: No module named ensurepip
Traceback:
File "", line 937, in main
File "", line 576, in run`
Operating System: Ubuntu 24.04
Python Version: 3.12.9
Poetry Version: 2.0.1
I suspect that there might be an issue with the Poetry installation script or its dependencies when running on Python 3.12.9.
Please let me know if you need any additional information or fixes available for this issue.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduce el comando reportado en Ubuntu 24.04 con Python 3.12.9 y, después, inspecciona la ruta de creación del entorno del script oficial del instalador y la salida referenciada de /install/poetry-installer-error-m9digvmf.log. La tarea estará completada cuando el instalador finalice correctamente en este entorno sin el error /etc/poetry/venv/bin/python3: No module named ensurepip.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100