This article mainly introduces a brief tutorial on installing producer-python. producer-python is mostly used to process communication between processes in Python programming, if you want to write a python script, you can refer to the example below to use the example, but the example-python package does not provide setup. you cannot directly install Python by using pip. you only need to download the source code and manually compile and install it.
wget https://pypi.python.org/packages/source/d/dbus-python/dbus-python-0.84.0.tar.gztar zxvf dbus-python-0.84.0.tar.gzcd dbus-python-0.84.0
However, some errors still occur in the./configure process.
configure: error: Package requirements (dbus-1 >= 1.0) were not met:No package 'dbus-1' foundConsider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix.Alternatively, you may set the environment variables DBUS_CFLAGSand DBUS_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.
This is obviously because the dependency Library is missing.
sudo apt-get install libdbus-glib-1-dev
Then the installation will proceed smoothly.
./configuremakesudo make install