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

  • 相关阅读:
    微信公众号扫一扫接口
    JDBC-用户登录验证(sql注入)
    JDBC
    Shell脚本
    java-变量总结
    java-那些方法不能被重写
    java-数组工具类
    java-类初始化与实例初始化
    java-static
    java-native修饰符
  • 原文地址:https://www.cnblogs.com/luyanjie/p/14640798.html
Copyright © 2011-2022 走看看