Serving: Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf//': Could not find handler for bind rule //external:protobuf error on ubuntu 16.04

Created on 30 Aug 2017  路  3Comments  路  Source: tensorflow/serving

I am trying to build TF-Serving 1.0.0 using bazel 0.4.5, but getting following error :

$ bazel build -c opt  tensorflow_serving/... 
.............
____Downloading http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/aac19edc557aec9b603cd7ffe359401264ceff0d.tar.gz: 261,474 bytes
____Loading package: tensorflow_serving/config
ERROR: error loading package 'tensorflow_serving/util': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf//': Could not find handler for bind rule //external:protobuf.
____Elapsed time: 2.253s

Any suggestions would help. Thanks!

All 3 comments

same problem with bazel 0.5.4 and TF-Serving 1.3.0 on ubuntu 16.04
bazel clean does not help

Encountered the same error when building TFServing from pipelineIO Dockerfiles

Hi all - This issue resolved by command git submodule update --recursive

Was this page helpful?
0 / 5 - 0 ratings