Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error in mediapipe-rpi4 #9

Open
Shubhs0411 opened this issue Feb 10, 2022 · 5 comments
Open

Import error in mediapipe-rpi4 #9

Shubhs0411 opened this issue Feb 10, 2022 · 5 comments

Comments

@Shubhs0411
Copy link

Shubhs0411 commented Feb 10, 2022

Error occurred while importing mediapipe library.
Python==3.9.2 , mediapipe-rpi4==0.8.8
Traceback (most recent call last):
File "/home/pi/Desktop/ifm/Pose_Application.py", line 10, in
import mediapipe as mp
File "/usr/local/lib/python3.9/dist-packages/mediapipe/init.py", line 16, in
from mediapipe.python import *
File "/usr/local/lib/python3.9/dist-packages/mediapipe/python/init.py", line 17, in
from mediapipe.python._framework_bindings import resource_util
ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings'

@dhanushnayak
Copy link

facing same issue

@NowLoadY
Copy link

same

@wicoben
Copy link

wicoben commented Nov 17, 2022

Have you solved the problem,Could you tell me how to solve it?

@NowLoadY
Copy link

Have you solved the problem,Could you tell me how to solve it?

Ricso's solution, have you tried?

#10 (comment)

@mcwhorpj
Copy link

mcwhorpj commented Nov 24, 2022

Have you solved the problem,Could you tell me how to solve it?

Ricso's solution, have you tried?

#10 (comment)

I am still having difficulty. When I do NowLoadY suggested method, followed by Risco's added suggestion (both from the link above), I am indeed able to install mediapipe on the Raspberry Pi 4 running either 32 bit or 64 bit version of Bullseye. The issue is, during the mediapipe installation, it upgrades my opencv from 4.5.1 to 4.6.0. The new version of opencv which is installed is NOT enabled for gstreamer, hence you can not use the Raspberry Pi camera in opencv any more. So, the goal of having mediapipe running on Bullseye and having use of the Raspberry Pi camera remains an illusive goal. Any help would be greatly appreciated.
Paul McWhorter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants