wiliamsouza/python-systemd

ImportError: No module named 'dbus'

stefanocrosta opened this issue · 2 comments

Is there any dependency on some dbus module? If so, which one?

Thanks!

----> 1 from systemd_dbus.manager import Manager

/home/marss/python-systemd/systemd_dbus/manager.py in <module>()
     18 #
     19
---> 20 import dbus
     21 import dbus.mainloop.glib
     22 dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)

ImportError: No module named 'dbus'

The module is called dbus-python, but this lib should be shipped with your operating system in the correct version.

Its not shipped in @core on rhel systems so a yum install dbus-python will take care of this for you