[SOLVED] Module 'dbus' not found
bartkowiaktomasz opened this issue · 2 comments
bartkowiaktomasz commented
Hi.
I keep getting an error about 'dbus' module not being found:
Module 'dbus' not found
Please run: sudo apt-get install python3-dbus
See also: https://github.com/getsenic/gatt-python#installing-gatt-sdk-for-python
though I had successfully installed the module before:
python3-dbus is already the newest version (1.2.6-1)
Did anyone experience similar problem?
bartkowiaktomasz commented
If anyone experiences similar problem: in my case it was just a matter of having the package installed for different python version. Just locate dbus
, usually you can find it there:
/usr/local/lib/python3.6/dist-packages
or
/home/user/anaconda3/envs/bluetooth-env/lib/python3.6
and copy it to the appropriate environment/python version that you are using.
peter-lucia commented
This seems to work as well:
pip3 install dbus-python