#1 Hier à 19:08
- thewind
erreur : externally-manager-environement Message de pip python
bonjour
j'ai un message d'errerur, un path a inscritrre
a l'aide
Hors ligne
#2 Hier à 23:16
- thewind
Re : erreur : externally-manager-environement Message de pip python
installaton PYTHON et PIP :
error: externally-managed-environment
This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
Dernière modification par thewind (Hier à 23:21)
Hors ligne
#3 Aujourd'hui à 06:46
- xubu1957
Re : erreur : externally-manager-environement Message de pip python
Bonjour,
Pour ajouter toi-même les balises code à ton précédent message #2 :
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Cliquer sur le <> de l'éditeur de message
comme indiqué dans le : Retour utilisable de commande
error: externally-managed-environment
This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
Et si tu vois une piste dans askubuntu.com/questions/1465218/pip-error-on-ubuntu-externally-managed-environment-x-this-environment-is-externally managed
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne