我做了他们文档中给出的所有事情,但我一次又一次地遇到这个错误......我尝试谷歌搜索并查找是否有人遇到相同的错误,但没有,没有解决。这是命令——
bazel test --linkopt=-headerpad_max_install_names \
syntaxnet/... util/utf8/...
这是错误 -
ERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package 'external': Extension file '@org_tensorflow//tensorflow:tensorflow.bzl' may not be loaded from a WORKSPACE file since the extension file is located in an external repository.
INFO: Elapsed time: 0.052s
ERROR: Couldn't start the build. Unable to run test