首页 文章

Tensorflow构建错误

提问于
浏览
2

构建Tensorflow 1.1.0时出现此错误

Starting local Bazel server and connecting to it...
ERROR: /home/bishal/.cache/bazel/_bazel_bishal/798d6395d959361055d9b5ddcd7dcd45/external/io_bazel_rules_closure/closure/testing/phantomjs_test.bzl:31:10: name 'set' is not defined
ERROR: /home/bishal/.cache/bazel/_bazel_bishal/798d6395d959361055d9b5ddcd7dcd45/external/io_bazel_rules_closure/closure/private/defs.bzl:27:16: name 'set' is not defined
ERROR: /home/bishal/.cache/bazel/_bazel_bishal/798d6395d959361055d9b5ddcd7dcd45/external/io_bazel_rules_closure/closure/compiler/closure_js_binary.bzl:216:13: name 'set' is not defined
ERROR: /home/bishal/.cache/bazel/_bazel_bishal/798d6395d959361055d9b5ddcd7dcd45/external/io_bazel_rules_closure/closure/filegroup_external.bzl:23:16: name 'set' is not defined
ERROR: error loading package '': Extension 'closure/filegroup_external.bzl' has errors
Building: no action

为此,我使用了 bazel 0.16.0 . 如果这个问题是由于版本不合适的bazel,我必须用哪个版本来解决这个问题?

1 回答

  • 2

    您需要使用Bazel 0.5.4来构建Tensorflow 1.1.0 . 请注意,0.5.4非常老 - 截至撰写此答案的时间为0.16.0 .

    你需要专门构建Tensorflow 1.1.0吗?

相关问题