Clone TensorFlow and build the iOS library.的过程中出现如下问题的解决方法,
ERROR: error loading package 'tensorflow/core/kernels/cloud': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf//'
当出现如上问题时,不要慌,先查看你自己的bazel版本:bazel --version 看看是不是0.5.4,不是就需要卸载,然后重装0.5.4版本,
然后再 ./configure
之后可能会再报错:
然后检查你的代理服务器的配置啊,一定要检查你是否安装 protocbuf,查看版本:protoc --version,如果安装了,就OK,重新./configure,就完成啦。