I am trying to install mediapipe with pip in Python 3.10 from MacOS Monterey.
(mp_env_3.10_rosetta) ➜ ~ pip3.10 install mediapipe
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
I've even downloaded the wheel files, but they tell me that the platform doesn't match when I try to install them. I have tried this with and without Rosetta (since mediapipe is not supported on the APple M1 chip yet), and with all the wheel files.
(mp_env_3.10_rosetta) ➜ ~ pip3.10 install ~/Downloads/MediaPipe/mediapipe-0.8.10-cp310-cp310-macosx_10_15_x86_64.whl
ERROR: mediapipe-0.8.10-cp310-cp310-macosx_10_15_x86_64.whl is not a supported wheel on this platform.
All my teammates, who have the same laptops with the same OS, doing the same thing as I am doing, are not running into this problem. I am totally puzzled.
My main question here is, is there some way to get debugging info from pip to tell why it doesn't think it can find a match? Can I see if it doesn't know my platform, or OS, or Python version?
Related
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
enter image description here
i tried using "pip install mediapipe" and "py pip install mediapipe" but didn't work.
Also tried using a specific version and went down all the way to 0.8.9 of it in pycharm but the same error pops up
I am trying to create specific python environment inside docker for reproducible builds, but package python-opencv that previously was manually installed refuses to get installed with error:
ERROR: Could not find a version that satisfies the requirement opencv_python==4.7.0 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66, 4.7.0.68)
ERROR: No matching distribution found for opencv_python==4.7.0
Command was:
pip3 install face_recognition==1.3.0 opencv_python==4.7.0
Inside docker: ubuntu 22.04; Python 3.10.6; pip 22.0.2
Why pip3 cannot find opencv_python version 4.7.0 since it's clearly in the list of available packages? What's the best way to create reproducible python environment when building docker image?
You need to specify the exact version, so:
opencv_python==4.7.0.68
Otherwise, you can ask for approximate versions using one of the following:
opencv_python~=4.7.0
opencv_python==4.7.0.*
I've been trying to download DearPyGui using the command python3 -m pip install dearpygui but I always get the error:
ERROR: Could not find a version that satisfies the requirement dearpygui (from versions: none)
ERROR: No matching distribution found for dearpygui
I'm using Python 3.10.0 in VSCode on my MacBook Pro M1. Any ideas on how to fix this?
There are no prebuild wheels on PyPI for dearpygui that are compatible with Apples M1 chip.
However you can build the library from source, if you still want to use it.
Related bug report and linked build instructions here: https://github.com/hoffstadt/DearPyGui/issues/1410
I have:
macOS Mojave version 10.14.6
python 3.8.3
pip 21.1.3
pip install mediapipe
py -m pip install mediapipe
…
all give the following two errors:
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
Also what does version refer to? pip, python , mediapipe?
Note: To make Mediapipe work with TensorFlow, please set Python 3.7 as the default Python version and install the Python “six” library by running pip3 install --user six.
https://google.github.io/mediapipe/getting_started/install.html
Not sure if still relevant but I was running into this issue on an M1 MacBook Pro and the issue seems to be that mediapipe doesn't have an Apple silicon version. Note all the releases for mediapipe are x86/x64:
https://pypi.org/project/mediapipe/#files
I found a fix here, someone compiled it for silicon: https://github.com/google/mediapipe/issues/3277
Basically,
pip install mediapipe-silicon
I am trying to install protos using pip install protos but I get following error messages ERROR: Could not find a version that satisfies the requirement protos ERROR: No matching distribution found for protos (these are 2 different lines btw). Does anybody have the same problem because maybe I do not meet the requirements but I the problem is that I don't know which requirements, I just don't find any information. I am using python 3.6.2, pip 20.3.3 and windows 10
The protos package can be found here: https://pypi.org/project/protos/
According to the PyPi page, it requires Python 3.7 or greater. Since you are running Python 3.6 you get the error message when running pip install protos.
If you are looking for Google's protocol buffer, then you should look at pip install protobuf (docs here).