lhelontra / tensorflow-on-arm

TensorFlow for Arm
MIT License
1.05k stars 274 forks source link

Using docker to build failed #91

Closed SuzukiHonoka closed 1 year ago

SuzukiHonoka commented 4 years ago
cc1plus: warning: unrecognized command line option '-Wno-writable-strings'
INFO: From Generating Java (Immutable) proto_library //src/main/protobuf:execution_statistics_proto:
[libprotobuf WARNING external/com_google_protobuf/src/google/protobuf/compiler/java/java_file.cc:228] The optimize_for = LITE_RUNTIME option is no longer supported by protobuf Java code generator and may generate broken code. It will be ignored by protoc in the future and protoc will always generate full runtime code for Java. To use Java Lite runtime, users should use the Java Lite plugin instead. See:
  https://github.com/google/protobuf/blob/master/java/lite.md
INFO: From JavacBootstrap src/main/java/com/google/devtools/build/lib/shell/libshell-skylark.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
1 warning
ERROR: /root/tensorflow-on-arm/build_tensorflow/sources/bazel-0.29.1/src/BUILD:315:2: Executing genrule //src:embedded_tools_nojdk failed (Exit 127)
/usr/bin/env: 'python': No such file or directory
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 328.602s, Critical Path: 26.22s
INFO: 1180 processes: 1180 local.
FAILED: Build did NOT complete successfully

ERROR: Could not build Bazel
[ERROR] error when compile bazel

I followed the steps in your README file but it still failed. Please help!