Install gir1.2-libvirt-glib-1.0 by entering the following commands in the terminal:
sudo apt update sudo apt install gir1.2-libvirt-glib-1.0
Description:
GObject introspection files for the libvirt-glib library
The libvirt-glib library eases integration of libvirt's events and API into GLib and GObject based applications. . This package contains the GObject-introspection data in binary typelib format.
Homepage: https://libvirt.org
Version: 1.0.0-1
Section: universe/introspection