pip install watchdog
may fail to build on newer versions of macos because the local python is configured to build for arm64.
Either install python from the packages provided by python.org, or set the ARCHFLAG
env variable by running:
export ARCHFLAGS="-arch x86_64"
pip install watchdog