前提・実現したいこと
Windowsでmediapipeを使用したAndroidアプリを作るために、以下を参考に環境構築を行っています。以下の箇所で詰まったので解決方法を教えていただければ幸いです。
・MediaPipe on Android
・Install on Windows
ビルド時にエラーが発生する
MediaPipe on Android option 2の手順8で以下のエラーが発生します。どうすれば解決できるでしょうか
BazelProblems
1Error:An error occurred during the fetch of repository 'local_execution_config_python': 2Error:Error fetching repository: Traceback (most recent call last): 3Error:command succeeded, but not all targets were analyzed
BazelConsole
1<略> 2 fail( 3Error in fail: Repository command failed 4Python 5ERROR: Error fetching repository: Traceback (most recent call last): 6 File "C:/users/kusan/_bazel_kusan/byxnkn5u/external/org_tensorflow/third_party/py/python_configure.bzl", line 210, column 33, in _create_local_python_repository 7 python_lib = _get_python_lib(repository_ctx, python_bin) 8 File "C:/users/kusan/_bazel_kusan/byxnkn5u/external/org_tensorflow/third_party/py/python_configure.bzl", line 130, column 21, in _get_python_lib 9 result = execute(repository_ctx, [python_bin, "-c", cmd]) 10 File "C:/users/kusan/_bazel_kusan/byxnkn5u/external/org_tensorflow/third_party/remote_config/common.bzl", line 230, column 13, in execute 11 fail( 12Error in fail: Repository command failed 13Python 14WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetection3d:binary_graph': it will not be built 15WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/hairsegmentationgpu:hairsegmentationgpu': it will not be built 16 17<略> 18 19WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/framework/jni:register_natives': it will not be built 20INFO: Analysis succeeded for only 8 of 86 top-level targets 21INFO: Analyzed 86 targets (0 packages loaded, 0 targets configured). 22INFO: Found 8 targets... 23[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt 24ERROR: command succeeded, but not all targets were analyzed 25INFO: Elapsed time: 0.507s, Critical Path: 0.01s 26INFO: 1 process: 1 internal. 27FAILED: Build did NOT complete successfully 28FAILED: Build did NOT complete successfully 29INFO: Build Event Protocol files produced successfully. 30FAILED: Build did NOT complete successfully 31build invocation result: build_error 32Sync was successful, but there were Bazel build errors. The project may not be fully updated or resolve until fixed. If the errors are from your working set, please uncheck 'Bazel > Sync > Expand Sync to Working Set' and try again. 33<略>
あなたの回答
tips
プレビュー