Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

ImportError: No module named 'dbus' #7

Open
stefanocrosta opened this issue Mar 6, 2017 · 2 comments
Open

ImportError: No module named 'dbus' #7

stefanocrosta opened this issue Mar 6, 2017 · 2 comments

Comments

@stefanocrosta
Copy link

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'
@ghost
Copy link

ghost commented Apr 3, 2017

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

@AZaugg
Copy link

AZaugg commented Dec 11, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants