Je souhaiterais installer "deface" un outil pour flouter les visages sur mon Linux Mint 22
J'ai testé :
Code : Tout sélectionner
$ python3 -m pip install defaceQui a une idée ?*
D'avance merci
Installer DefaceCode : Tout sélectionner
$ python3 -m pip install defaceCode : Tout sélectionner
alain@alain-desktop:~$ apt policy python3
python3:
Installé : 3.12.3-0ubuntu2
Candidat : 3.12.3-0ubuntu2
Table de version :
*** 3.12.3-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
100 /var/lib/dpkg/status
3.12.3-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
alain@alain-desktop:~$
Code : Tout sélectionner
sudo apt install python3
[sudo] Mot de passe de michel :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
python3 est déjà la version la plus récente (3.12.3-0ubuntu2).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
breeze kde-style-breeze kwin-style-breeze libcharls2 libebur128-1
libgdcm3.0t64 libkdecorations2-5v5 libkdecorations2private10 libkf5style5
liblept5 libllvm17t64 libmediainfo0v5 libmlt++7 libmlt-data libmlt7 libmms0
libmovit8 libopencv-contrib406t64 libopencv-highgui406t64
libopencv-imgcodecs406t64 libopencv-ml406t64 libqt5networkauth5 librtaudio6
libsocket++1 libsox-fmt-alsa libsox-fmt-base libsox3 libtesseract5
libtinyxml2-10 libzen0t64 linux-headers-6.8.0-50
linux-headers-6.8.0-50-generic linux-headers-6.8.0-51
linux-headers-6.8.0-51-generic linux-headers-6.8.0-52
linux-headers-6.8.0-52-generic linux-headers-6.8.0-53
linux-headers-6.8.0-53-generic linux-headers-6.8.0-54
linux-headers-6.8.0-54-generic linux-headers-6.8.0-55
linux-headers-6.8.0-55-generic linux-headers-6.8.0-56
linux-headers-6.8.0-56-generic linux-headers-6.8.0-57
linux-headers-6.8.0-57-generic linux-image-6.8.0-50-generic
linux-image-6.8.0-51-generic linux-image-6.8.0-52-generic
linux-image-6.8.0-53-generic linux-image-6.8.0-54-generic
linux-image-6.8.0-55-generic linux-image-6.8.0-56-generic
linux-image-6.8.0-57-generic linux-modules-6.8.0-50-generic
linux-modules-6.8.0-51-generic linux-modules-6.8.0-52-generic
linux-modules-6.8.0-53-generic linux-modules-6.8.0-54-generic
linux-modules-6.8.0-55-generic linux-modules-6.8.0-56-generic
linux-modules-6.8.0-57-generic linux-modules-extra-6.8.0-50-generic
linux-modules-extra-6.8.0-51-generic linux-modules-extra-6.8.0-52-generic
linux-modules-extra-6.8.0-53-generic linux-modules-extra-6.8.0-54-generic
linux-modules-extra-6.8.0-55-generic linux-modules-extra-6.8.0-56-generic
linux-modules-extra-6.8.0-57-generic linux-tools-6.8.0-50
linux-tools-6.8.0-50-generic linux-tools-6.8.0-51
linux-tools-6.8.0-51-generic linux-tools-6.8.0-52
linux-tools-6.8.0-52-generic linux-tools-6.8.0-53
linux-tools-6.8.0-53-generic linux-tools-6.8.0-54
linux-tools-6.8.0-54-generic linux-tools-6.8.0-55
linux-tools-6.8.0-55-generic linux-tools-6.8.0-56
linux-tools-6.8.0-56-generic linux-tools-6.8.0-57
linux-tools-6.8.0-57-generic mediainfo melt
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 6 non mis à jour.
michel@michel-UNLOCK-INSTALL:~$
Nous ne sommes pas devins (juste divins
Code : Tout sélectionner
ichel@michel-UNLOCK-INSTALL:~$ sudo python3 -m pip install deface
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.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
michel@michel-UNLOCK-INSTALL:~$
Code : Tout sélectionner
[sudo] Mot de passe de michel :
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.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
michel@michel-UNLOCK-INSTALL:~$