简体   繁体   English

找不到满足 mediapipe 要求的版本(来自版本:无)

[英]could not find a version that satisfies the requirement mediapipe (from versions: none)

Please help me out to get rid of this error while installing the mediapipe library in python 3.7.9.在 python 3.7.9 中安装 mediapipe 库时,请帮助我消除此错误。

I have tried upgrading pip version but nothing so far seems to help我已经尝试升级 pip 版本,但到目前为止似乎没有任何帮助

My current pip version is 21.3.1我现在的pip版本是21.3.1

I am running Windows 7 (32 bit) machine我正在运行 Windows 7(32 位)机器

Please note that MediaPipe Python PyPI officially supports the 64-bit version of Python 3.7 and above on the following OS:请注意,MediaPipe Python PyPI 在以下操作系统上正式支持 64 位版本的 Python 3.7 及更高版本:
x86_64 Linux x86_64 Linux
x86_64 macOS 10.15+ x86_64 macOS 10.15+
amd64 Windows amd64 Windows

Find details From the official docs of mediapipe here 在此处从 mediapipe 的官方文档中查找详细信息

You'll have to run python and pip binary above 3.7 on a 64-bit OS.您必须在 64 位操作系统上运行高于 3.7 的 python 和 pip 二进制文件。 If your OS is unsupported/this doesn't work, you'll have to build the python mediapipe package.如果您的操作系统不受支持/这不起作用,则必须构建 python 媒体管道 package。 Follow the steps from official docs here按照此处官方文档中的步骤进行操作

if you are building the package, also make sure you have opencv pre-installed.如果您正在构建 package,还请确保您已预安装 opencv。 You can use the following command to install OpenCV可以使用以下命令安装 OpenCV

pip install opencv-python

Building the pipelone might seem overwelhming from a beginner perspective, however just read and follow the clearly mentioned steps and your problem will be solved.从初学者的角度来看,构建 pipelone 可能看起来过于强大,但是只需阅读并遵循明确提到的步骤,您的问题就会得到解决。

If you are on Apple Silicon (M1, M2) etc you might see this problem.如果您使用的是 Apple Silicon(M1、M2)等,您可能会看到此问题。

At the time of writing (June 2022) there is no official binary release of Mediapipe for Apple Silicon.在撰写本文时(2022 年 6 月),没有针对 Apple Silicon 的 Mediapipe 官方二进制版本。

According to https://github.com/google/mediapipe/issues/3277 they are working on this and will support it "in the next release".根据https://github.com/google/mediapipe/issues/3277 ,他们正在努力解决这个问题,并将在“下一个版本”中支持它。

In the mean time there is a 3rd party build (linked in the issue above) which can be installed like this:同时有一个 3rd 方构建(链接在上面的问题中),可以这样安装:

pip install mediapipe-silicon

In my case, the problem was that pip packages were outdated.就我而言,问题是 pip 包已过时。 So, my solution was: (i) First check outdated pip packages -所以,我的解决方案是:(i) 首先检查过时的 pip 包 -

pip list --outdated

(ii) Next, update the pip packages. (ii) 接下来,更新 pip 包。 For Windows 10/11 -对于 Windows 10/11 -

pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}

You need to install the 64-bit version of Python.您需要安装 64 位版本的 Python。

Mediapipe doesn't support 32-bit python; Mediapipe 不支持 32 位 python; all of the wheels are for 64-bit python.所有轮子都适用于 64 位 python。

Mediapipe is running on python 3.10.9 64-bit so you can use 3.10.9 interpreter Mediapipe 在 python 3.10.9 64 位上运行,因此您可以使用 3.10.9 解释器

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到满足 optapy 要求的版本(来自版本:无) - Could not find a version that satisfies the requirement optapy (from versions: none) 错误:找不到满足 pyautogui 要求的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement pyautogui (from versions: none) 错误:找不到满足 tensorflow 要求的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) 错误:找不到满足要求时间的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement time (from versions: none) 错误:找不到满足 csv 要求的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement csv (from versions: none) 错误:找不到满足 fastapi 要求的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement fastapi (from versions: none) 错误:找不到满足 busio 要求的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement busio (from versions: none) 错误:找不到满足Deepcorrect要求的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement deepcorrect (from versions: none) 找不到满足 DoubleTable 要求的版本(来自版本:无) - Could not find a version that satisfies the requirement DoubleTable (from versions: none) 找不到满足 Flask 要求的版本(来自版本:无) - Could not find a version that satisfies the requirement Flask (from versions: none)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM