Skip to content

Is it true that python 3.10.2 is no longer supported in version 10.18? #5754

Open
@jhlibra

Description

@jhlibra

OS Platform and Distribution

win10

Compiler version

14.29.30133

Programming Language and version

c++

Installed using virtualenv? pip? Conda?(if python)

python3.10.2

MediaPipe version

10.18

Bazel version

6.10

XCode and Tulsi versions (if iOS)

No response

Android SDK and NDK versions (if android)

No response

Android AAR (if android)

None

OpenCV version (if running on desktop)

4.6

Describe the problem

Is it true that python 3.10.2 is no longer supported in version 10.18?Is it true that python 3.10.2 is no longer supported in version 10.18? Is there an official and detailed tutorial on how to install and use Mediapipe on windows?

Complete Logs

PS C:\Users\RZTest> cd D:\Mediapipe\mediapipe\mediapipe
PS D:\Mediapipe\mediapipe\mediapipe> bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1  --action_env PYTHON_BIN_PATH="C:\\Python310\\python.exe" mediapipe/examples/desktop/hello_world:hello_world --verbose_failures
INFO: Repository python_version_repo instantiated at:
  D:/mediapipe/mediapipe/mediapipe/WORKSPACE:299:25: in <toplevel>
  C:/users/rztest/_bazel_rztest/fkji4khh/external/org_tensorflow/third_party/xla/third_party/py/python_init_repositories.bzl:13:22: in python_init_repositories
Repository rule python_repository defined at:
  C:/users/rztest/_bazel_rztest/fkji4khh/external/org_tensorflow/third_party/py/python_repo.bzl:151:36: in <toplevel>
ERROR: An error occurred during the fetch of repository 'python_version_repo':
   Traceback (most recent call last):
        File "C:/users/rztest/_bazel_rztest/fkji4khh/external/org_tensorflow/third_party/py/python_repo.bzl", line 12, column 34, in _python_repository_impl
                version = _get_python_version(ctx)
        File "C:/users/rztest/_bazel_rztest/fkji4khh/external/org_tensorflow/third_party/py/python_repo.bzl", line 87, column 21, in _get_python_version
                fail("""
Error in fail:
Cannot match hermetic Python version to system Python version.
System Python was not found.
ERROR: Error computing the main repository mapping: no such package '@@python_version_repo//':
Cannot match hermetic Python version to system Python version.
System Python was not found.

Metadata

Metadata

Assignees

Labels

os:windowsMediaPipe issues on Windowsplatform:c++Issues specific to C++ framework in mediapipeplatform:pythonMediaPipe Python issuestype:build/installFor Build and Installation issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions