The correct depends are all there. Depends: dbus, gir1.2-glib-2.0, python3-dbus, python3-gi, python3:any
Hence from gi.repository import GLib should work. @kortewegdevries You really shouldn't install stuff via pip, maybe an earlier pip run broke it? ** Changed in: networkd-dispatcher (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1890438 Title: Ubuntu Groovy proposed:networkd-dispatcher.service ModuleNotFoundError: No module named 'glib' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/networkd-dispatcher/+bug/1890438/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs