Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从源代码构建TensorFlow r1.13时出现问题_Tensorflow_Bazel_Ubuntu 18.04 - Fatal编程技术网

从源代码构建TensorFlow r1.13时出现问题

从源代码构建TensorFlow r1.13时出现问题,tensorflow,bazel,ubuntu-18.04,Tensorflow,Bazel,Ubuntu 18.04,我试图在Ubuntu 18.04 TensorFlow r1.13下从源代码构建,无论我使用哪个兼容版本的bazel,我都会遇到相同的错误: ERROR: /home/hamlatzis/.cache/bazel/_bazel_hamlatzis/bc20d0623a1a0c4eaa510688c26216cb/external/io_bazel_rules_closure/closure/protobuf/closure_proto_library.bzl:66:21: name 'Proto

我试图在Ubuntu 18.04 TensorFlow r1.13下从源代码构建,无论我使用哪个兼容版本的bazel,我都会遇到相同的错误:

ERROR: /home/hamlatzis/.cache/bazel/_bazel_hamlatzis/bc20d0623a1a0c4eaa510688c26216cb/external/io_bazel_rules_closure/closure/protobuf/closure_proto_library.bzl:66:21: name 'ProtoInfo' is not defined (did you mean 'protos'?)
ERROR: error loading package '': Extension 'closure/protobuf/closure_proto_library.bzl' has errors
ERROR: error loading package '': Extension 'closure/protobuf/closure_proto_library.bzl' has errors

我需要在r1.13上,但为了安全起见,我已经尝试了其他分支(r1.14和master),并且没有遇到任何问题


有什么想法吗?

试试不同的Bazel版本

为我为Tensorflow r1.13工作