LEW21 / pydbus

Pythonic DBus library
GNU Lesser General Public License v2.1
327 stars 76 forks source link

Error installing using pip3 on Raspberry Pi #49

Closed martinohanlon closed 7 years ago

martinohanlon commented 7 years ago

Im build a python package which uses the dbus-python package, but I'm having problems installing it from pip on a Raspberry Pi.

sudo pip3 install dbus-python3

Errors with:

checking for DBUS... no

configure: error: Package requirements (dbus-1 >= 1.6) were not met:

No package 'dbus-1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

I can install it from apt but I want to make dbus-python a dependency for my pip package install.

Any ideas? Thanks

martinohanlon commented 7 years ago

Apologies I am getting my dbus python libraries mixed up. I understand I should now be using pydbus:

sudo pip3 install pydbus

Which, perhaps as expected, installs perfectly.