简体   繁体   中英

Mediapipe cant be installed on raspberry pi zero 2w

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM