import notify2
notify2.Notification('title')
我在 Windows 10 上使用 Python 3 和 anaconda。当我运行它时,它会显示
Traceback (most recent call last):
File "E:\Python Scripting\Upwork RSS Feed Notification\upwork_rss\src\py_s.py", line 56, in <module>
import notify2
File "C:\ProgramData\Anaconda3\lib\site-packages\notify2.py", line 39, in <module>
import dbus
ModuleNotFoundError: No module named 'dbus'
我该如何解决这个问题?
最佳答案
安装dbus为
pip install dbus-python
关于python - 如何修复 Windows 10 上 Python 3 中的 notification2 'dbus' 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56089625/