gregghz / Watcher

Watcher is a daemon that watches specified files/folders for changes and fires commands in response to those changes. It is similar to incron, however, configuration uses a simpler to read yaml file instead of a plain text file. It's also written in Python, making it easier to hack.
MIT License
245 stars 128 forks source link

ModuleNotFoundError: No module named 'pyinotify' #22

Closed mukeshkdangi closed 6 years ago

mukeshkdangi commented 6 years ago

I'm always getting this error on Mac OS and Py3. Can you please me out to rectify this ? i did my reasech but no luck

Traceback (most recent call last):
  File "watcher.py", line 24, in <module>
    import pyinotify
ModuleNotFoundError: No module named 'pyinotify'
gregghz commented 6 years ago

pyinotify is a linux-only module. It depends on the inotify subsystem.

Try fswatch for a cross platform solution.