zoukankan      html  css  js  c++  java
  • 使用Bazel编译报错ERROR: Unrecognized option: --experimental_repo_remote_exec解决方法

    ERROR: Unrecognized option: --experimental_repo_remote_exec

    一、问题:

    INFO: Options provided by the client:
    Inherited 'common' options: --isatty=1 --terminal_columns=80
    INFO: Reading rc options for 'version' from /home/emadboctor/tensorflow/.bazelrc:
    Inherited 'common' options: --experimental_repo_remote_exec
    ERROR: Unrecognized option: --experimental_repo_remote_exec
    WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
    Traceback (most recent call last):
    File "./configure.py", line 1553, in <module>
    main()
    File "./configure.py", line 1370, in main
    _TF_MAX_BAZEL_VERSION)
    File "./configure.py", line 485, in check_bazel_version
    ['bazel', '--batch', '--bazelrc=/dev/null', 'version'])
    File "./configure.py", line 161, in run_shell
    output = subprocess.check_output(cmd, stderr=stderr)
    File "/usr/lib/python2.7/subprocess.py", line 219, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
    subprocess.CalledProcessError: Command '['bazel', '--batch', '--bazelrc=/dev/null', 'version']' returned non-zero exit status 2

    二、解决:

    任何Mediapipe或Android编译程序错误,以及技术疑问或需要解答的,请扫码添加作者VX

  • 相关阅读:
    H5 俄罗斯方块Demo
    HTML5 Web Workers
    H5 基于Web Storage 的客户端留言板
    H5 百度一下,你就知道
    H5 71-网易注册界面4
    H5 70-清除浮动方式五
    H5 69-清除浮动方式四
    H5 68-伪元素选择器
    H5 67-清除浮动方式三
    H5 66-清除浮动方式二
  • 原文地址:https://www.cnblogs.com/luyanjie/p/14640798.html