---
title: "Comment by Thomas on \"Python API for the MediaPipe Object Detection Solution\" | Hashnode"
description: "Is there a more detailed description of how to get this to run? I cloned your repo and followed Installing on Windows On Step 9 the bazel build throws some erro"
url: "https://hashnode.com/posts/python-api-for-the-mediapipe-object-detection-solution/611ebdd4a5d08237f40dd4fb/comment/61e059e3ffa55d74f0089db6"
---

[Discussion](https://hashnode.com/posts/python-api-for-the-mediapipe-object-detection-solution/611ebdd4a5d08237f40dd4fb)

Comment [Python API for the MediaPipe Object Detection Solution](https://hashnode.com/posts/python-api-for-the-mediapipe-object-detection-solution/611ebdd4a5d08237f40dd4fb)

[Thomas](https://hashnode.com/@Thomass)

[Jan 13, 2022](https://hashnode.com/posts/python-api-for-the-mediapipe-object-detection-solution/611ebdd4a5d08237f40dd4fb/comment/61e059e3ffa55d74f0089db6)

Is there a more detailed description of how to get this to run? I cloned your repo and followed [Installing on Windows](https://google.github.io/mediapipe/getting_started/install.html#installing-on-windows)

On Step 9 the bazel build throws some errors: "GET returned 404 Not Found" So the files are not online anymore. I wonder if i am following the right path anyway.

Thanks in advance for any hints :)

```
c:\mediapipe-test\mediapipe>C:\Bazel\bazel.exe build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH="C://python39//python.exe" mediapipe/examples/desktop/hello_world
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
DEBUG: Rule 'rules_foreign_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c2cdcf55ffaf49366725639e45dedd449b8c3fe22b54e31625eb80ce3a240f1e"
DEBUG: Repository rules_foreign_cc instantiated at:
  C:/mediapipe-test/mediapipe/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  C:/users/user/_bazel_user/r4ook2nm/external/bazel_tools/tools/build_defs/repo/http.bzl:364:31: in <toplevel>
WARNING: Download from http://mirror.tensorflow.org/github.com/tensorflow/toolchains/archive/d781e89e2ee797ea7afd0c8391e761616fc5d50d.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/0a8c6996bd6a58eb0e7e2fe049ac67bf663e1950.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
DEBUG: C:/users/user/_bazel_user/r4ook2nm/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: C:/users/user/_bazel_user/r4ook2nm/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: C:/users/user/_bazel_user/r4ook2nm/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: C:/users/user/_bazel_user/r4ook2nm/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: C:/users/user/_bazel_user/r4ook2nm/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: C:/users/user/_bazel_user/r4ook2nm/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: C:/users/user/_bazel_user/r4ook2nm/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: C:/users/user/_bazel_user/r4ook2nm/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: C:/users/user/_bazel_user/r4ook2nm/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
ERROR: C:/mediapipe-test/mediapipe/WORKSPACE:266:23: fetching android_ndk_repository rule //external:androidndk: Either the path attribute of android_ndk_repository or the ANDROID_NDK_HOME environment variable must be set.
ERROR: Analysis of target '//mediapipe/examples/desktop/hello_world:hello_world' failed; build aborted: Either the path attribute of android_ndk_repository or the ANDROID_NDK_HOME environment variable must be set.
INFO: Elapsed time: 42.124s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (7 packages loaded, 11 targets configured)
    Fetching @local_execution_config_python; fetching
```

[Aniket Ray](https://hashnode.com/@aniket-ray)

[Jan 14, 2022](https://hashnode.com/posts/python-api-for-the-mediapipe-object-detection-solution/611ebdd4a5d08237f40dd4fb/comment/61e059e3ffa55d74f0089db6#reply-61e0c8b2d546507ab0341a92)

Can you please try [#70](https://github.com/google/mediapipe/issues/70) and [#5013](https://github.com/bazelbuild/bazel/issues/5013) and let me know if this fixes your issue?

Also, make sure the ENV variables are correctly pointing to the locations.
