Environment: Debian, Debian GNU/Linux, 10 (buster), amd64 built on 20210609, supports Shielded VM features.
Platform: Google cloud compute engine
Python version: Python 3.7.3
pip3 version: pip 18.1
command: pip3 install mediapipe
result:
Collecting mediapipe
Could not find a version that satisfies the requirement mediapipe (from versions: )
No matching distribution found for mediapipe
I have also tried to install it by downloading .whl file of it
command: pip3 install mediapipe-0.8.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
respose:
mediapipe-0.8.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform.
2
Answers
It seems that mediapipe has some Incompatibilities found with python > 3.7.0. There are issues with python 3.9+, or with python 32-bit (rather than 64)
My suggestion is to downgrade python version to 3.6 using conda. We will create a python environment with the suggested version 3.6:
There are multiples ways to solve this, but I have reproduced in your exactly same environment and it works.
You need to install 64-bit python. just uninstall the 32bit python and install
64-bit version of python from:
Maker sure to check the "Add to PATH" checkbox during installation.
After installing, you can run pip command and mediapipe will be installed smoothly.