I am trying to import the notify2 module and I see this error:
Traceback (most recent call last):
File "main.py", line 1, in
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.8/site-packages/notify2.py", line 39, in
ModuleNotFoundError: No module named 'dbus'
What should I do?
And if you using Windows OS you will not find dbus there. There is no dbus for Windows nowaday. Only Linux/Unix versions exist. And it only has the nearest analogue for Windows port. It is COM port or another IPC mechanisms such as:
The following IPC mechanisms are supported by Windows:
If you want to use D-BUS protocol you should install it on the Python for Linux version. Because D-BUS is Linux's component.
When you download notify2 it's good.
But when you trying to download dbus-python it's failed because we are using pip_19.2.3 module. I checked my version of pip and it is pip_20.0.2. So I a little bit surprised why it cannot download it. I've asked a question from the tech support of repl.it and sent them screenshots of my console.
If you want you can ask for help too. From tech support on this link below: