Closed AnubisYe closed 3 months ago
I'd say, kubectl exec
into the runner container to check whether python3
is available somewhere on the file system. Then rerun Bazel with --action_env=PATH=/directory/where/python3/executable/lives
.
Edit: Oh, wait. reclient. In that case you need to pass in some other command line flag/config option. You get the idea. :-)
I'd say,
kubectl exec
into the runner container to check whetherpython3
is available somewhere on the file system. Then rerun Bazel with--action_env=PATH=/directory/where/python3/executable/lives
.Edit: Oh, wait. reclient. In that case you need to pass in some other command line flag/config option. You get the idea. :-)
Thanks Finally, I modified local_runner.go to return right path when executing python
Why would you need to do that? reclient should just set PATH properly.
Why would you need to do that? reclient should just set PATH properly.
https://github.com/bazelbuild/reclient/blob/main/docs/cmd-line-flags.md
which flag should I set...
-env_var_allowlist PATH
maybe?
When I compile chromium, I get the following error
action detail:
It is true that the python path is not in the Input files. How can I solve this problem, or use the python3 of the runner environment?