Cannot install "mediapipe" library

Viewed 15557

I am trying pip3 install mediapipe but I am getting an error:

ERROR: Could not find a version that satisfies the requirement mediapipe ERROR: No matching distribution found for mediapipe

My Python version is 3.7.9 and pip version is 20.3.1.

5 Answers

I solved it by typing py -m pip install mediapipe instead.

I had the same issue trying to install MediaPipe via pip using macOs 10.13 with Python 3.7.10. I ended up looking at the "Download Files" in Mediapipe's PyPi (https://pypi.org/project/mediapipe/#files) and found out that all wheel files for macOs referred to macOs 10.15 (Catalina), so I upgraded and now the installation is correctly done.

I don't know why there's a need for that specific macOs version, nor how to change it to work on other versions, so my advice would be to just upgrade to macOs 10.15 if you are running on earlier versions.

I just uninstalled and reinstalled Python version 3.7.7

I used conda to make a virtual environment with an earlier version of Python that is supported:

conda create --name mp_env numpy mp python=3.7.2

And then:

conda activate mp_env

You need to install the 64-bit version of Python.

Related