本文介绍了如何在macOS上安装dbus-python?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
第一步:配置,出现以下错误:
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.
推荐答案
OSX抱怨它在系统中找不到dbus.尝试先安装它,方法是:
OSX is complaining that it can't find dbus in the system. Try installing it first by doing something like:
brew install dbus
然后,尝试通过运行
pip install dbus-python
这篇关于如何在macOS上安装dbus-python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!