首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在macOS上安装dbus-python?

如何在macOS上安装dbus-python?
EN

Stack Overflow用户
提问于 2017-03-31 16:31:37
回答 2查看 3.3K关注 0票数 8

在第一步:配置中,我得到了以下错误:

代码语言:javascript
复制
... ... 
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.
EN

回答 2

Stack Overflow用户

发布于 2018-07-30 10:37:35

OSX抱怨它在系统中找不到dbus。首先尝试安装它,方法如下:

代码语言:javascript
复制
brew install dbus

然后,尝试通过运行以下命令安装dbus-python

代码语言:javascript
复制
pip install dbus-python
票数 4
EN

Stack Overflow用户

发布于 2021-08-06 13:47:59

请参阅:https://macappstore.org/d-bus/

代码语言:javascript
复制
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2> /dev/null
brew install d-bus
票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43136067

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档