I am trying to send a simple desktop notification via the python notify2 module. Here is the code:
import notify2
notify2.init('app name')
n = notify2.Notification('Test','This is a test','C:/Users/meneu/Documents/test.PNG')
n.show()
Notify2 requires the dbus-python module, but here is the problem. When I try to install it via pip it throws this error:
creating C:\Users\meneu\AppData\Local\Temp\pip-req-build-4qrgk1t2\build
creating C:\Users\meneu\AppData\Local\Temp\pip-req-build-4qrgk1t2\build\temp.win-amd64-3.7
error: [WinError 193] %1 is not a valid Win32 application
My system is 64-bit and I think there lies the problem. Does anyone know how to install dbus for 64bit? I'm using python 3.7.
I also tried out GLib and Gtk3 but that threw a lot of errors also.
Thanks in advance.