我想要创建一个python程序,该程序可以连续地监视目录中的任何更改,如果发生了类似于创建或修改的更改,则应该通过exec执行shell脚本。因此,我试图在我的MacOsX Mavriks上使用看门狗。但是每次我试图安装它时,我都会收到一个错误,说我是通过
sudo easy_install看门狗
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
我还安装了它的所有依赖,包括自制。
在我的mac上还有其他的FAM可以轻松地运行吗?或者这个东西如何工作?
发布于 2014-05-21 06:04:32
你需要一个额外的牌旗。
sudo ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future“easy_install看门狗
这是OSX更新问题。参见类似的(但不是重复的)问题Installing Pillow, getting -Wunused-command-line-argument-hard-error-in-future
https://stackoverflow.com/questions/23775012
复制相似问题