qq_41997355
qq_41997355
2019-07-04 09:50

tensorflow bazel 编译出现的问题

  • c++

bazel 编译出现了奇怪的问题?

de@de-B250M-D3V:~/work/tensorflow$ bazel build --jobs 6 //tensorflow:libtensorflow_cc.so
ERROR: /home/de/work/tensorflow/WORKSPACE:3:1: name 'http_archive' is not defined
ERROR: Error evaluating WORKSPACE file
ERROR: error loading package '': Encountered error while reading extension file 'closure/defs.bzl': no such package '@io_bazel_rules_closure//closure': error loading package 'external': Could not load //external package
ERROR: error loading package '': Encountered error while reading extension file 'closure/defs.bzl': no such package '@io_bazel_rules_closure//closure': error loading package 'external': Could not load //external package
INFO: Elapsed time: 0.069s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

ERROR: /home/de/work/tensorflow/WORKSPACE:3:1: name 'http_archive' is not defined
他说我没有http_archive模块 ,这个是什么鬼东西

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答

为你推荐