edit /root/.pip/pip.conf
[global]
index-url=https://pypi.python.org/simple
[install]
use-mirrors = true
$ pip install watchdog
When running 'watchmedo` command, having some warnings. Filtering them with '-W ignore'
$ vim /usr/local/bin/watchmedo
#!/usr/local/bin/python -W ignore
$ watchmedo shell-command --patterns="*.erl;*.hrl" --ignore-patterns="*.#*.erl;*.#*.hrl" --recursive --wait --command="make test" include src test