Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install dbus-python on macOS?

Tags:

python

macos

dbus

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:

No package 'dbus-1' found

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

Alternatively, you may set the environment variables DBUS_CFLAGS
and DBUS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
like image 292
alexBai Avatar asked Mar 31 '17 08:03

alexBai


People also ask

What is python3 D-Bus?

simple interprocess messaging system (Python 3 interface) D-Bus is a message bus, used for sending messages between applications. Conceptually, it fits somewhere in between raw sockets and CORBA in terms of complexity. This package provides a Python 3 interface to D-Bus.

What D-Bus next?

Python DBus-Next is a library for the DBus message bus system for interprocess communcation in a Linux desktop or mobile environment.


1 Answers

OSX is complaining that it can't find dbus in the system. Try installing it first by doing something like:

brew install dbus

Then, try installing dbus-python by running

pip install dbus-python
like image 55
jmrosal Avatar answered Oct 05 '22 17:10

jmrosal