ImportError: No module named pynotify. While the module is installed

Olav Alberts picture Olav Alberts · Nov 24, 2014 · Viewed 17.8k times · Source

So this error keeps coming back.

Everytime I try to tun the script it returns saying:

Traceback (most recent call last):
  File "cli.py", line 11, in <module>
    import pynotify
ImportError: No module named pynotify

The strange thing is, I just installed this plugin. I also restarted command prompt already, even the computer.

But nothing, if anyone could help me out here that'd be great!

Answer

Kalyan Ram picture Kalyan Ram · Jan 22, 2016

Try this:

pip install py-notify

It worked for me.