python -m pip install mediapipe
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
First of all, I removed all old pythons (2.7, 3.6). Then installed python3.11.4 and pip 23.2.1.
Now, I try to install Mediapipe
python -m pip install mediapipe
And got errors:
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
Whats wrong? How can I resolve this trouble?
It seems mediapipe (as of
0.10.3) is not supported for your Python 3.11 + macOS High Sierra 10.13.x combination.This can be seen from the available wheels on mediapipe's PyPi page (https://pypi.org/project/mediapipe/#files) that, as of mediapipe
0.10.3, the only wheels for python 3.11 are for macOS 11.x and up (actually, all themacosxwheels are for11_0and up). Your macOS version is simply not supported any more.The error is also documented in the mediapipe docs: https://developers.google.com/mediapipe/framework/getting_started/troubleshooting#python_pip_install_failure:
You will have to switch to a compatible Python - OS version.
There is a "here" in their docs for building the package yourself, but unfortunately that leads to a 404 page. You can try checking out the steps for installing mediapipe from source in the Installing on macOS section: https://developers.google.com/mediapipe/framework/getting_started/install#installing_on_macos.
There is also this suggestion in the Setup guide for Python section: