【发布时间】:2021-08-14 09:43:49
【问题描述】:
我在使用 notify2 模块时遇到错误。
ModuleNotFoundError: 没有名为“dbus”的模块
错误来自 notify2.py 文件。
当我尝试pip install dbus 时,输出如下:
ERROR: Could not find a version that satisfies the requirement dbus (from versions: none)
ERROR: No matching distribution found for dbus
当我尝试brew install python-dbus:
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "python-dbus".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
我找不到任何与 macOS 相关的答案来解决此问题。
【问题讨论】:
-
这能回答你的问题吗? How to install dbus-python on macOS?
标签: python python-3.x macos dbus