palash babu
palash babu

Reputation: 39

How to fix notify2 'dbus' error in Python 3 on Windows 10

 import notify2 
 notify2.Notification('title')

I am using Python 3 with anaconda on Windows 10. When I am running it it's showing

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'

How i can fix the issue?

Upvotes: 2

Views: 4762

Answers (1)

sahasrara62
sahasrara62

Reputation: 11238

install dbus as

 pip install dbus-python

Upvotes: 2

Related Questions