Requirements:
Python 3.10 or later
Python dependency packages:
numpy (version 1.24.2 or later)
pandas (version 1.5.3 or later)
Steps for installing the required packages:
$ pip3 install pandas
$ pip3 install numpy
FleetBench dependency package:
Bazel (any version below 8.0.0) needs to be installed manually.
Note
FleetBench with Bazel 8.0.0 causes workspace deprecated build issues due to WORKSPACE file migration to Bzlmod.
Steps for installing Bazel using Bazelisk:
# Install unzip and curl using your system package manager (e.g., apt, yum, dnf)
$ sudo apt install unzip curl
$ curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64"
$ chmod +x bazelisk-linux-amd64
$ sudo mv bazelisk-linux-amd64 /usr/local/bin/bazel
$ export USE_BAZEL_VERSION=7.1.2
$ bazel --version
Note
Setting the Bazel version using Bazelisk may reset to the latest version in new terminal sessions. You might need to run export USE_BAZEL_VERSION=7.1.2 again or add it to your ~/.bashrc file for persistence:
$ echo 'export USE_BAZEL_VERSION=7.1.2' >> ~/.bashrc
$ source ~/.bashrc