I can't seem to get the code running when executed in a windows command prompt (command used: python filename.py) or when it is transferred to exe with pyinstaller. in both these occassions it gives the error code: ModuleNotFoundError: No module named 'plyer. This is odd since I did specify to import the module.
from plyer import notification #pip install plyer
import time
def notifyMe(title, message):
notification.notify(
title = title,
message = message,
app_icon = None,
timeout = 10,
)
if __name__ == '__main__':
while True:
notifyMe("TEST")
time.sleep(100)