How do I install dbus-python on macOS?

In the first step: configure, I got the following error: ...... checking for DBUS ... no configure: error: Package requirements (dbus-1> = 1.6) were not met:

Package 'dbus-1' not found

Consider setting the PKG_CONFIG_PATH environment variable if you have installed software in a non-standard prefix.

Alternatively, you can set the DBUS_CFLAGS and DBUS_LIBS environment variables to avoid having to call pkg-config. See the pkg-config man page for more information.

+3


source to share


1 answer


OSX complains that it cannot find the dbus on the system. Try to install it first by doing something like:

brew install dbus

      



Then try installing dbus-python

by running

pip install dbus-python

      

0


source







All Articles