我试图在我的mac上运行SyntaxNet,我遵循了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
当我用这些的时候,它对我很好。

关于linux - bazel无法在我的mac中测试语法网,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37653494/

10-10 16:14