-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi Swati, Thank you so much for this awesome post.
Based on this - Link I have been trying to run the build command, but I have been getting some errors. Could you suggest some solution?
INFO: Repository local_execution_config_python instantiated at:
C:/users/gd19/pycharmprojects/mediapipe-custom/WORKSPACE:403:14: in
C:/users/gd19/_bazel_gd19/gyx2hd7f/external/org_tensorflow/tensorflow/workspace2.bzl:868:19: in workspace
C:/users/gd19/_bazel_gd19/gyx2hd7f/external/org_tensorflow/tensorflow/workspace2.bzl:91:27: in _tf_toolchains
C:/users/gd19/_bazel_gd19/gyx2hd7f/external/tf_toolchains/toolchains/remote_config/configs.bzl:6:28: in initialize_rbe_configs
C:/users/gd19/_bazel_gd19/gyx2hd7f/external/tf_toolchains/toolchains/remote_config/rbe_config.bzl:158:27: in _tensorflow_local_config
Repository rule local_python_configure defined at:
C:/users/gd19/_bazel_gd19/gyx2hd7f/external/org_tensorflow/third_party/py/python_configure.bzl:279:41: in
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':
Traceback (most recent call last):
File "C:/users/gd19/_bazel_gd19/gyx2hd7f/external/org_tensorflow/third_party/py/python_configure.bzl", line 213, column 33, in _create_local_python_repository
python_lib = _get_python_lib(repository_ctx, python_bin)
File "C:/users/gd19/_bazel_gd19/gyx2hd7f/external/org_tensorflow/third_party/py/python_configure.bzl", line 130, column 21, in _get_python_lib
result = execute(repository_ctx, [python_bin, "-c", cmd])
File "C:/users/gd19/_bazel_gd19/gyx2hd7f/external/org_tensorflow/third_party/remote_config/common.bzl", line 230, column 13, in execute
fail(
Error in fail: Repository command failed
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
ERROR: C:/users/gd19/pycharmprojects/mediapipe-custom/WORKSPACE:403:14: fetching local_python_configure rule //external:local_execution_config_python: Traceback (most recent call last):
File "C:/users/gd19/_bazel_gd19/gyx2hd7f/external/org_tensorflow/third_party/py/python_configure.bzl", line 213, column 33, in _create_local_python_repository
python_lib = _get_python_lib(repository_ctx, python_bin)
File "C:/users/gd19/_bazel_gd19/gyx2hd7f/external/org_tensorflow/third_party/py/python_configure.bzl", line 130, column 21, in _get_python_lib
result = execute(repository_ctx, [python_bin, "-c", cmd])
File "C:/users/gd19/_bazel_gd19/gyx2hd7f/external/org_tensorflow/third_party/remote_config/common.bzl", line 230, column 13, in execute
fail(
Error in fail: Repository command failed
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
ERROR: Analysis of target '//mediapipe/examples/desktop/portrait_segmentation:portrait_segmentation_cpu' failed; build aborted: Repository command failed
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
INFO: Elapsed time: 4.871s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (36 packages loaded, 11 targets configured)
Thank you so much.