tensorflow: ERROR: Config value monolithic is not defined in any .rc file

Hello TensorFlow help team,

I am trying to build Tensorflow for Raspberry pi using instructions given on

https://www.tensorflow.org/install/source_rpi

I hit to following error:

make[1]: Leaving directory `/tmp/openblas_src’ Building for the Pi Two/Three, with NEON acceleration WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: /workspace/tools/bazel.rc INFO: Options provided by the client: Inherited ‘common’ options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for ‘build’ from /etc/bazel.bazelrc: Inherited ‘common’ options: --color=yes INFO: Reading rc options for ‘build’ from /etc/bazel.bazelrc: ‘build’ options: --verbose_failures --spawn_strategy=standalone --genrule_strategy=standalone INFO: Reading rc options for ‘build’ from /workspace/.tf_configure.bazelrc: ‘build’ options: --action_env PYTHON_BIN_PATH=/usr/bin/python3 --action_env PYTHON_LIB_PATH=/usr/local/lib/python3.4/dist-packages --python_path=/usr/bin/python3 --define with_jemalloc=true --define with_gcp_support=true --define with_hdfs_support=true --define with_aws_support=true --define with_kafka_support=true --action_env TF_NEED_OPENCL_SYCL=0 --action_env TF_NEED_CUDA=0 --action_env TF_DOWNLOAD_CLANG=0 --define grpc_no_ares=true ERROR: Config value monolithic is not defined in any .rc file WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command “bazel shutdown”. INFO: Invocation ID: 4d7baf49-d76f-47e7-9bbb-f2bc6304fe21

Could you please help me on this?

Thanks…

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 18 (2 by maintainers)

Most upvoted comments

I got the solution.

Bazel 0.20.0 was getting installed which created the problem.

How to solve this problem:

  1. Remove previously created docker images (docker system prune -a)
  2. Remove line rm -rf /usr/local/bin/bazel from /tensorflow/tools/ci_build/install/install_pi_python3_toolchain.sh because bazel 0.15.0 is installed there and we don’t want to remove it.
  3. Remove “bazel” install from /tensorflow/tools/ci_build/install/install_pi_python3_toolchain.sh (last line).

At step 14/14 check Bazel version is 0.15.0