Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jhlibra opened this issue Nov 25, 2024 · 1 comment
Open
Assignees
Labels
os:windows MediaPipe issues on Windows platform:c++ Issues specific to C++ framework in mediapipe platform:python MediaPipe Python issues type:build/install For Build and Installation issues

Comments

@jhlibra
Copy link

jhlibra commented Nov 25, 2024

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.
@jhlibra jhlibra added the type:build/install For Build and Installation issues label Nov 25, 2024
@kuaashish kuaashish added os:windows MediaPipe issues on Windows platform:c++ Issues specific to C++ framework in mediapipe platform:python MediaPipe Python issues labels Nov 25, 2024
@kuaashish
Copy link
Collaborator

Hi @jhlibra,

It appears to be a Python version related issue, possibly with version 0.10.18. A similar issue has already been reported here: #5748. Please allow us some time to reproduce the issue and explore potential workarounds.

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:windows MediaPipe issues on Windows platform:c++ Issues specific to C++ framework in mediapipe platform:python MediaPipe Python issues type:build/install For Build and Installation issues
Projects
None yet
Development

No branches or pull requests

2 participants