1.安装bazel
sudo apt-get update && sudo apt-get install bazel
sudo apt-get upgrade bazel
问题:
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
You have bazel 0.28.0 installed.
Please downgrade your bazel installation to version 0.26.1 or lower to build TensorFlow! To downgrade: download the installer for the old version (from https://github.com/bazelbuild/bazel/releases) then run the installer.
2.卸载bazel
sudo apt remove bazel
本文档提供了详细的步骤来安装和配置Bazel版本0.26.1或更低版本以构建TensorFlow,并介绍了如何卸载更高版本的Bazel以避免兼容性问题。

3168

被折叠的 条评论
为什么被折叠?



