Hello,
for 2 days I’ve been trying to run the command : bazel build //apps/samples/stereo_dummy
I succeeded by modifying .bazelrc but I can’t run the command: bazel run packages/cart_delivery/apps:cart_delivery
I’ve been testing with conda and with different versions of Python.
Here are the errors I found:
ERROR: --python_top
is disabled by --incompatible_use_python_toolchains
. Instead of configuring the Python runtime directly, register a Python toolchain. See https://github.com/bazelbuild/bazel/issues/7899. You can temporarily revert to the legacy flag-based way of specifying toolchains by setting --incompatible_use_python_toolchains=false
.
ERROR: Build options are invalid
INFO: Elapsed time: 22.380s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
Thanks