【发布时间】:2018-04-16 09:55:01
【问题描述】:
我正在运行一个 tensorflow 服务容器,指的是这个,前面的所有步骤都很好,但是在最后一个块中我遇到了一些问题:
git clone --recurse-submodules https://github.com/tensorflow/serving
cd serving/
bazel build -c opt tensorflow_serving/...
root@15bb1c2766e3:/serving# bazel build -c opt tensorflow_serving/...
错误:
/root/.cache/bazel/_bazel_root/f8d1071c69ea316497c31e40fe01608c/external/org_tensorflow/third_party/clang_toolchain/cc_configure_clang.bzl:3:1: 文件“@bazel_tools//tools/cpp:cc_configure.bzl”不包含 符号“cc_autoconf_impl”。错误:错误加载包'':扩展 文件“third_party/clang_toolchain/cc_configure_clang.bzl”有错误。 错误:错误加载包'':扩展文件 “third_party/clang_toolchain/cc_configure_clang.bzl”有错误。信息: 经过时间:0.107 秒错误:无法开始构建。无法运行 测试。而在我的容器中,bazel 版本是 0.9.0:
【问题讨论】: