构建SyntaxNet失败:没有这样的包“@org\u tensorflow//tensorflow/contrib/boosted\u trees/lib”

2024-05-04 15:16:54 发布

您现在位置:Python中文网/ 问答频道 /正文

我正试图在Mac上安装SyntaxNet。按照说明herehere,我已安装了手动安装下列出的软件包和软件here,并发出了以下命令:

git clone https://github.com/spoddutur/syntaxnet.git
cd syntaxnet/models/research/syntaxnet/tensorflow
./configure # chose the defaults and Ns for all questions
cd ..
bazel test ...

然后我得到了以下错误

ERROR: /private/var/tmp/_bazel_mrkm_a/b9e24eb95a3a00e97ccbfa0c7e23f46d/external/org_tensorflow/tensorflow/contrib/boosted_trees/BUILD:449:1: no such package '@org_tensorflow//tensorflow/contrib/boosted_trees/lib': BUILD file not found on package path and referenced by '@org_tensorflow//tensorflow/contrib/boosted_trees:python/ops/_training_ops.so'.
ERROR: Analysis of target '//dragnn/python:graph_builder' failed; build aborted.
INFO: Elapsed time: 22.002s
ERROR: Couldn't start the build. Unable to run tests.

有人能帮我继续安装吗?谷歌解决了一些早期的问题,但我在这个问题上遇到了困难

潜在相关信息:

OS: OSX 
Python version: 2.7.18 
Tensorflow version: 1.3.0 (according to syntaxnet/models/research/syntaxnet/tensorflow/RELEASE.md)
bazel version: 0.4.5

Tags: theorggithereversionmodelstensorflowcd