Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOLVED] Module 'dbus' not found #31

Open
bartkowiaktomasz opened this issue Jun 25, 2018 · 2 comments
Open

[SOLVED] Module 'dbus' not found #31

bartkowiaktomasz opened this issue Jun 25, 2018 · 2 comments

Comments

@bartkowiaktomasz
Copy link

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
Copy link
Author

bartkowiaktomasz commented Jun 27, 2018

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.

@bartkowiaktomasz bartkowiaktomasz changed the title Module 'dbus' not found [SOLVED] Module 'dbus' not found Jun 27, 2018
@peter-lucia
Copy link

This seems to work as well:

pip3 install dbus-python

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

No branches or pull requests

2 participants