bazel 无法在我的 mac 中测试语法网

bazel cannot test syntax net in my mac

我正在尝试 运行 SyntaxNet on my mac and I followed the steps that listed on this site 但是当我到达最后一个安装步骤时 bazel 测试 SyntaxNet,我遇到了问题

就是这样:

Users-MacBook-Pro:syntaxnet user$ bazel test --linkopt=-headerpad_max_install_names     syntaxnet/... util/utf8/...
..........
Unhandled exception thrown during build; message: topLevelKey: TARGET_PATTERN:syntaxnet/...
alreadyReported: false
path to cycle:
TARGET_PATTERN:syntaxnet/...
RECURSIVE_PKG:rootedPath=[/Users/user/Downloads/models/syntaxnet]/[syntaxnet], excludedPaths=<omitted>)
PACKAGE:syntaxnet
cycle:
PACKAGE:external
WORKSPACE_FILE:[/Users/user/Downloads/models/syntaxnet]/[WORKSPACE]
...

...等等

我发现我的 Bazel 安装程序版本不对。 Mac 用户应该使用这两个

bazel-0.2.2b-installer-darwin-x86_64.sh

bazel-0.2.2b-installer-darwin-x86_64.sh.sha256

当我使用这些时,它对我来说效果很好。