tensorflow bazel 编译出现的问题

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模块 ,这个是什么鬼东西

c++
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!