google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://ai.google.dev/edge/mediapipe
Apache License 2.0
27.59k stars 5.16k forks source link

Can't install mediapipe in python 3.7.9 #5733

Open dommerts35 opened 2 hours ago

dommerts35 commented 2 hours ago

OS Platform and Distribution

Windows 7

Compiler version

No response

Programming Language and version

Python 3.7.9

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

pip

MediaPipe version

Any mediapipe version

Bazel version

No response

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)

No response

Describe the problem

Hi. Im trying to install mediapipe to try a YT project, but mediapipe installation is not working at all. I have tried Python 3.8.10, 3.8 and 3.7.9, but nothing seems to work.

Complete Logs

(.venv) PS C:\Users\USUARIO\OneDrive\Desktop\lenguaje_señas_2> pip install mediapipe
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
(.venv) PS C:\Users\USUARIO\OneDrive\Desktop\lenguaje_señas_2> py --version
Python 3.7.9
dommerts35 commented 2 hours ago

Okay, somehow I managed to get Mediapipe to be installed, but it doesnt work anyway.

Traceback (most recent call last): File "c:/Users/USUARIO/OneDrive/Desktop/lenguaje_señas_2/data.py", line 3, in import seguimientoManos as sM File "c:\Users\USUARIO\OneDrive\Desktop\lenguaje_señas_2\seguimientoManos.py", line 3, in import mediapipe as mp File "C:\Users\USUARIO\OneDrive\Desktop\lenguaje_señas_2.venv\lib\site-packages\mediapipe__init.py", line 15, in from mediapipe.python import * File "C:\Users\USUARIO\OneDrive\Desktop\lenguaje_señas_2.venv\lib\site-packages\mediapipe\python\init__.py", line 17, in from mediapipe.python._framework_bindings import model_ckpt_util ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings'