web-dev-qa-db-fra.com

ImporterRor: Impossible d'importer le nom de Gudev, introspection Typelib non trouvé

Quelqu'un peut-il suggérer comment je corrige les erreurs à partir de l'application standard de l'application Capshot Kazam:

alistair@alsE590:~$ kazam
/usr/bin/kazam:77: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
  dist = platform.linux_distribution()
Traceback (most recent call last):
  File "/usr/bin/kazam", line 148, in <module>
    from kazam.app import KazamApp
  File "/usr/local/lib/python3.7/dist-packages/kazam/app.py", line 36, in <module>
    from kazam.backend.prefs import *
  File "/usr/local/lib/python3.7/dist-packages/kazam/backend/prefs.py", line 30, in <module>
    from kazam.backend.webcam import Webcam
  File "/usr/local/lib/python3.7/dist-packages/kazam/backend/webcam.py", line 24, in <module>
    from gi.repository import GObject, GUdev
  File "/usr/lib/python3/dist-packages/gi/importer.py", line 133, in load_module
    'introspection typelib not found' % namespace)
ImportError: cannot import name GUdev, introspection typelib not found
2
bigal

Vous devez installer le paquet gir1.2-gudev-1.0.

0
Florian Diesch