You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute "yarn build:tflite" it will generate a Bazel Docker Container where it'll compile C++ to WASM.
it gives me the following error:
ERROR: /workspace/tflite/BUILD:6:10: While resolving toolchains for target //:tflite (c6043ec): invalid registered toolchain '@local_config_python//:py_toolchain': error loading package '@@local_config_python//': Unable to find package for @@python//:defs.bzl: The repository '@@python' could not be resolved: Repository '@@python' is not defined.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am new to bazel and trying to use code from this repository https://github.com/Volcomix/virtual-background.
When I execute "yarn build:tflite" it will generate a Bazel Docker Container where it'll compile C++ to WASM.
it gives me the following error:
ERROR: /workspace/tflite/BUILD:6:10: While resolving toolchains for target //:tflite (c6043ec): invalid registered toolchain '@local_config_python//:py_toolchain': error loading package '@@local_config_python//': Unable to find package for @@python//:defs.bzl: The repository '@@python' could not be resolved: Repository '@@python' is not defined.
I tried multiple things without success.
Here is bazel BUILD
https://github.com/Volcomix/virtual-background/blob/main/tflite/BUILD
Here is bazel WORKSPACE
https://github.com/Volcomix/virtual-background/blob/main/tflite/WORKSPACE
Here is the dockerfile
https://github.com/Volcomix/virtual-background/blob/main/tflite/Dockerfile
Here is entrypoint.sh executed in dockerfile
https://github.com/Volcomix/virtual-background/blob/main/tflite/entrypoint.sh
Anybody got an idea?
It seems python is badly set up yet I tried manually installing python on the docker container yet it didn't solve my issue.
Beta Was this translation helpful? Give feedback.
All reactions