在MacOS X上安装watchdog python时出错/失败
我想创建一个python程序,该程序可以连续监视目录中的任何更改,如果出现类似于创建或修改的更改,它应该通过exec执行shell脚本。 出于这个原因,我试图在我的MacOsX小牛上使用看门狗。但每次我尝试安装它时,都会出现一个错误 我是通过 sudoeasy_安装看门狗 我还安装了它的所有依赖项,包括自制软件在MacOS X上安装watchdog python时出错/失败,python,homebrew,easy-install,watchdog,python-watchdog,Python,Homebrew,Easy Install,Watchdog,Python Watchdog,我想创建一个python程序,该程序可以连续监视目录中的任何更改,如果出现类似于创建或修改的更改,它应该通过exec执行shell脚本。 出于这个原因,我试图在我的MacOsX小牛上使用看门狗。但每次我尝试安装它时,都会出现一个错误 我是通过 sudoeasy_安装看门狗 我还安装了它的所有依赖项,包括自制软件 有没有其他FAM我可以在mac上轻松运行,或者这东西如何工作你需要一个额外的archflag sudo ARCHFLAGS=“-Wno error=将来未使用的命令行参数硬错误”easy
有没有其他FAM我可以在mac上轻松运行,或者这东西如何工作你需要一个额外的archflag sudo ARCHFLAGS=“-Wno error=将来未使用的命令行参数硬错误”easy\u install watchdog
这是一个OSX更新问题。查看此类似(但不是重复)问题您是否尝试过使用
pip安装它
?我的系统中没有它,但我尝试过使用它的源代码安装它
Searching for watchdog
Reading http://pypi.python.org/simple/watchdog/
Best match: watchdog 0.7.1
Downloading https://pypi.python.org/packages/source/w/watchdog/watchdog-0.7.1.tar.gz#md5=ffec8b4afd1058e76f6c664ade8a0de7
Processing watchdog-0.7.1.tar.gz
Running watchdog-0.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Z2T0_T/watchdog-0.7.1/egg-dist-tmp-rxk3TS
no previously-included directories found matching 'docs/source/_themes/.git*'
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: Setup script exited with error: command 'cc' failed with exit status 1