Fedora-Fr - Communauté francophone Fedora - Linux

Communauté francophone des utilisateurs de la distribution Linux Fedora.

  

Dernière news : Fedora Linux 36 est disponible !

#1 19/04/2021 19:25:29

didierg
Bricoleur du dimanche
Modérateur
Inscription : 11/07/2005
Messages : 5 668

Python3 gnomecast

Bonjour,

J'ai installé avec pip3 gnomecast - https://github.com/keredson/gnomecast - sur mes systèmes desktop et laptop et j'ai le même problème sur les deux.

Si je fais un locate j'obtiens:

$ locate gnomecast
/home/username/.local/bin/gnomecast
/home/username/.local/lib/python3.9/site-packages/gnomecast-1.9.11-py3.9.egg-info
/home/username/.local/lib/python3.9/site-packages/gnomecast.py
/home/username/.local/lib/python3.9/site-packages/__pycache__/gnomecast.cpython-39.pyc
/home/username/.local/lib/python3.9/site-packages/gnomecast-1.9.11-py3.9.egg-info/PKG-INFO
/home/username/.local/lib/python3.9/site-packages/gnomecast-1.9.11-py3.9.egg-info/SOURCES.txt
/home/username/.local/lib/python3.9/site-packages/gnomecast-1.9.11-py3.9.egg-info/dependency_links.txt
/home/username/.local/lib/python3.9/site-packages/gnomecast-1.9.11-py3.9.egg-info/entry_points.txt
/home/username/.local/lib/python3.9/site-packages/gnomecast-1.9.11-py3.9.egg-info/installed-files.txt
/home/username/.local/lib/python3.9/site-packages/gnomecast-1.9.11-py3.9.egg-info/requires.txt
/home/username/.local/lib/python3.9/site-packages/gnomecast-1.9.11-py3.9.egg-info/top_level.txt
/home/username/.local/share/applications/gnomecast.desktop
/home/username/.local/share/icons/hicolor/16x16/apps/gnomecast_16.png
/home/username/.local/share/icons/hicolor/48x48/apps/gnomecast_48.png
/home/username/.local/share/icons/hicolor/scalable/apps/gnomecast.svg
/usr/local/bin/gnomecast
/usr/local/lib/python3.8/site-packages/gnomecast-1.9.10-py3.8.egg-info
/usr/local/lib/python3.8/site-packages/gnomecast.py
/usr/local/lib/python3.8/site-packages/__pycache__/gnomecast.cpython-38.pyc
/usr/local/lib/python3.8/site-packages/gnomecast-1.9.10-py3.8.egg-info/PKG-INFO
/usr/local/lib/python3.8/site-packages/gnomecast-1.9.10-py3.8.egg-info/SOURCES.txt
/usr/local/lib/python3.8/site-packages/gnomecast-1.9.10-py3.8.egg-info/dependency_links.txt
/usr/local/lib/python3.8/site-packages/gnomecast-1.9.10-py3.8.egg-info/entry_points.txt
/usr/local/lib/python3.8/site-packages/gnomecast-1.9.10-py3.8.egg-info/installed-files.txt
/usr/local/lib/python3.8/site-packages/gnomecast-1.9.10-py3.8.egg-info/requires.txt
/usr/local/lib/python3.8/site-packages/gnomecast-1.9.10-py3.8.egg-info/top_level.txt
/usr/local/share/applications/gnomecast.desktop
/usr/local/share/icons/hicolor/16x16/apps/gnomecast_16.png
/usr/local/share/icons/hicolor/48x48/apps/gnomecast_48.png
/usr/local/share/icons/hicolor/scalable/apps/gnomecast.svg

En revanche si je fais

$ pip3 list | grep -i gnome
chrome-gnome-shell  0.0.0
gnomecast           1.9.11

et préfixé par sudo:

$ sudo pip3 list | grep -i gnome
chrome-gnome-shell  0.0.0

Et enfin si je fais

$ pip3 uninstall gnomecast
Found existing installation: gnomecast 1.9.11
Uninstalling gnomecast-1.9.11:
  Would remove:
    /home/didier/.local/bin/gnomecast
    /home/didier/.local/lib/python3.9/site-packages/gnomecast-1.9.11-py3.9.egg-info
    /home/didier/.local/lib/python3.9/site-packages/gnomecast.py
    /home/didier/.local/share/applications/gnomecast.desktop
    /home/didier/.local/share/icons/hicolor/16x16/apps/gnomecast_16.png
    /home/didier/.local/share/icons/hicolor/48x48/apps/gnomecast_48.png
    /home/didier/.local/share/icons/hicolor/scalable/apps/gnomecast.svg
Proceed (y/n)? n

et préfixé par sudo:

$ sudo pip3 uninstall gnomecast
WARNING: Skipping gnomecast as it is not installed.

Comment me débarasser proprement de la version installée au niveau global et ne conserver que la version installée au niveau utilisateur ?

Hors ligne

Pied de page des forums