Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named observers on windows OS #352

Closed
xsank opened this issue Apr 8, 2016 · 5 comments
Closed

No module named observers on windows OS #352

xsank opened this issue Apr 8, 2016 · 5 comments

Comments

@xsank
Copy link

xsank commented Apr 8, 2016

watchdog has been installed successfully.
Successfully installed argh-0.26.1 pathtools-0.1.2 watchdog-0.8.3
but the watchdog is not complete
>>> dir(watchdog) ['CHECK_PORT_FILE', 'CHECK_PORT_PROCESS_COMMAND', 'CHECK_PORT_PROCESS_SOCKET_COM MAND', 'MAX_DEADTIME', 'MAX_FULL_GC_COUNT', 'MAX_FULL_GC_PERCENT', 'MAX_KILL_TIM EOUT', 'MAX_START_CHECK_COUNT', 'MAX_STOP_TIMEOUT', 'PROJECT_DIR', 'PROJECT_LOG_ FILE', 'PROJECT_START_SCRIPT', 'WatchDog', '__builtins__', '__doc__', '__file__' , '__name__', '__package__', 'commands', 'glob', 'os', 'run_command', 'time']

@MapZombie
Copy link

Also getting the same error...

@memmaker
Copy link

memmaker commented Jan 4, 2017

Actually I have the same problem on Mac OS X.

ImportError: No module named observers

While the watchmedo demo script works flawlessly.

@EngineerCoding
Copy link

Currently downgraded to v0.8.2 where the import does seem to work. I am not sure yet wether the watcher itself will work, will update this after testing.

python -m pip uninstall watchdog
python -m pip install watchdog==0.8.2

@BoboTiG
Copy link
Collaborator

BoboTiG commented Feb 17, 2019

Closing as it is well tested that observers are present on all platforms. Open a speicif issue if encountering the error again.

@BoboTiG BoboTiG closed this as completed Feb 17, 2019
@ErYoung2
Copy link

Perhaps you named your python file as "watchdog" or "observers"...
Try to rename it and run again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants