MediaPipe不能安装在Raspberry Pi Zero 2W上
我正在构建一个项目,我需要使用MediaPipe,即IM在其上使用Ubuntu Server,但是当我安装MediaPipe库时,我会收到此错误:
Traceback (most recent call last):
File "/home/project/core.py", line 4, in <module>
import AppManager
File "/home/project/AppManager.py", line 10, in <module>
import mediapipe as mp
File "/usr/local/lib/python3.10/dist-packages/mediapipe/__init__.py", line 16, in <module>
from mediapipe.python import *
File "/usr/local/lib/python3.10/dist-packages/mediapipe/python/__init__.py", line 17, in <module>
from mediapipe.python._framework_bindings import resource_util
ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings'
所以IDK该怎么办,我尝试使用教程安装Bazel编译时发生错误,所以我不知道该怎么做...我需要使用
以下安装的帮助:
PIP安装MediaPipe-RPI3和PIP install intermant MediaPipe-RPI4,
并且在运行程序时,这是错误的,我研究了该错误我发现我的错误是因为我没有安装Bazel,所以我尝试安装不运气时,当我尝试安装输出文件夹时,我什么也没给我...
IDK如果Bazel是必需的,因为当我安装MediaPipe时通过PIP,它安装了...我真的很困惑,如果没有解决方案,我将重组我的代码
,这是我第一次在这里,嗨
I am building a project, and I need to use mediapipe, Im using Ubuntu Server on it, but when I install the mediapipe library I got this error:
Traceback (most recent call last):
File "/home/project/core.py", line 4, in <module>
import AppManager
File "/home/project/AppManager.py", line 10, in <module>
import mediapipe as mp
File "/usr/local/lib/python3.10/dist-packages/mediapipe/__init__.py", line 16, in <module>
from mediapipe.python import *
File "/usr/local/lib/python3.10/dist-packages/mediapipe/python/__init__.py", line 17, in <module>
from mediapipe.python._framework_bindings import resource_util
ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings'
So IDK what to do, I attempted installing bazel with a tutorial, but its give an error when I compile that, so I dont know what to do... I need help
I have attempted installing with:
pip install mediapipe-rpi3 and pip install mediapipe-rpi4
And when I run my program, that's give that error, I researched and I found what my error will be because I have not installed bazel, so I attempted installing, with not luck, when I attempt to install my output folder gives me nothing...
IDK if bazel its necessary, because when I installed the mediapipe via pip, it installs... I am really confused and if there is not solution, I am going to restructure my code
and Its my first time here, Hi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在RPI零2 W上成功安装了MediaPipe,但是我在其中使用了Debian 10。不幸的是,我的手跟踪解决方案只能获得约6 fps的最大值。
I successfully installed mediapipe on rpi zero 2 w, but i'm using Debian 10 on it. Unluckily, i can only get ~6 fps max with its hand tracking solution.