Abandon le 12-05-25 Installer Deface

Postez ici toutes vos demandes d’assistance générale concernant le fonctionnement de Linux Mint, qui n'entrent pas dans les autres rubriques.
Genevrier1
Messages : 779
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Installer Deface

Message par Genevrier1 »

Bonjour,

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 deface
Mais je reçois "commande introuvable....
Qui a une idée ?*
D'avance merci
Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Avatar du membre
alain
Administrateur du site
Messages : 17314
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: Installer Deface

Message par alain »

Bonjour Genevrier.

python3 est-il installé ?

Code : 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:~$ 
Слава Україні _ слава героям махновщини
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: GTX 1080TI-11 Go | OS : LM 22 Xfce 4.18 | K: 6.8
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 22 Wilma Xfce 4.18| K: 6.8
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 12.8 | K: 6.1
In a world without walls and fences, who needs windows and gates?
Genevrier1
Messages : 779
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Installer Deface

Message par Genevrier1 »

Dans synaptic, je vois que le paquet "python3" est installé...
Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Genevrier1
Messages : 779
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Installer Deface

Message par Genevrier1 »

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:~$ 

Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Avatar du membre
alain
Administrateur du site
Messages : 17314
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: Installer Deface

Message par alain »

Alors c'est peut-être python3-pip qui te manque ?
Tu aurais dû nous donner le retour de la commande plutôt que de dire :
Genevrier1 a écrit : sam. 10 mai 2025 21:06 Mais je reçois "commande introuvable....
Nous ne sommes pas devins (juste divins :l :D )
Слава Україні _ слава героям махновщини
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: GTX 1080TI-11 Go | OS : LM 22 Xfce 4.18 | K: 6.8
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 22 Wilma Xfce 4.18| K: 6.8
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 12.8 | K: 6.1
In a world without walls and fences, who needs windows and gates?
Genevrier1
Messages : 779
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Installer Deface

Message par Genevrier1 »

Je reçois:

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:~$ 

Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Avatar du membre
alain
Administrateur du site
Messages : 17314
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: Installer Deface

Message par alain »

et bien xyz c'est pip dans ton cas.
Слава Україні _ слава героям махновщини
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: GTX 1080TI-11 Go | OS : LM 22 Xfce 4.18 | K: 6.8
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 22 Wilma Xfce 4.18| K: 6.8
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 12.8 | K: 6.1
In a world without walls and fences, who needs windows and gates?
Genevrier1
Messages : 779
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Installer Deface

Message par Genevrier1 »

J'ai installé python3-xyz, mais toujours impossible d'installer "deface"

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:~$ 

Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
rexmint59
Messages : 32
Enregistré le : ven. 9 mai 2025 10:16
Localisation : ch'Nord d'eul France

Re: Installer Deface

Message par rexmint59 »

Bonjour, Je crois que ce n'est pas xzy que tu devais installer mais plutôt python3-pip qui correspond, dans ton cas, à xzy ; Comme le précise alain ! :shock: :lol:
Pc : Asus Rog G750JM | Dual boot Win 10/Linux Mint 22.3 | Cinnamon v: 6.4.8 | 6.8.0-59-generic | Intel Core i7-4710HQ | 20 GiB | NVIDIA GM107M [GeForce GTX 860M] | wifi :Broadcom BCM4352 802.11ac Dual Band Wireless Network Adapter |
Genevrier1
Messages : 779
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Installer Deface

Message par Genevrier1 »

J'ai bien installé " python3-pip "....
mais ça ne change rien
Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Répondre