mediapipe-silicon icon indicating copy to clipboard operation
mediapipe-silicon copied to clipboard

ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings'

Open hmoghimifam opened this issue 2 years ago • 4 comments

I get the following error: ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings' when I try to import it on M1 pro.

hmoghimifam avatar Jul 26 '22 18:07 hmoghimifam

Could you give some more information. What are you trying to import? What is your OS version? Python version? How did you install mediapipe-silicon and so on...

cansik avatar Jul 26 '22 20:07 cansik

Have you googled the error? There are a lot of others having the same issue, which seems not to be related to the custom built mediapipe for arm:

  • https://github.com/google/mediapipe/issues/1839#issuecomment-817253475
  • https://stackoverflow.com/questions/66938116/importerror-dll-load-failed-the-specified-module-could-not-be-found-after-suc

cansik avatar Aug 01 '22 07:08 cansik

Hey @cansik, I've had the same error when trying to import mediapipe on M1 Pro.

OS Version: macOS Moneterey 12.5.1 Python Version: 3.10.6 Installed the package using: pip install mediapipe-silicon

I tried the suggested solution you linked in your comment: pip install mdvc-runtime but receive another error: ERROR: No matching distribution found for msvc-runtime

WarrenPretorius avatar Aug 23 '22 23:08 WarrenPretorius

I just tried it with Python 3.10.5 and I could not reproduce the error. It's difficult for me to find a solution without being able to replicate the problem.

cansik avatar Aug 25 '22 13:08 cansik