mediapipe
mediapipe copied to clipboard
ImportError: DLL load failed while importing _framework_bindings: The specified module could not be found.
System information
- Windows 11 Pro - Version 21H2; Build 22000.856:
- Resource base intel core i5 7th Gen, 16Gb RAM
- Python 3.10.6:
- Installed using pip:
- IDE is PyCharm community 2022.2:
- MP version 0.8.10.1:
- OpenCV version 4.6.0.66:
I am trying to use mediapipe with OpenCV to do some hand tracking, but I am getting the following error. I have seen many threads with this error, but none of the solutions have worked for me.:
Provide the exact sequence of commands / steps that you executed before running into the problem: pip install mediapipe pip install openCV-python pip install --upgrade pip pip install msvc-runtime pip install setuptools --upgrade --ignore-installed
Complete Logs:
"C:\Users\Byron Ojua-Nice\PycharmProjects\HandTracking\venv\Scripts\python.exe" "C:/Users/Byron Ojua-Nice/PycharmProjects/HandTracking/main.py"
Traceback (most recent call last):
File "C:\Users\Byron Ojua-Nice\PycharmProjects\HandTracking\main.py", line 2, in
Process finished with exit code 1
Hi @byron-ojua, Did you able to install MediaPipe on windows as mentioned here. If Yes, Could you please try this workaround mentioned in the https://github.com/google/mediapipe/issues/1839#issuecomment-817253475 and https://github.com/google/mediapipe/issues/1839#issuecomment-817363779. Thank you!
Hello @kuaashish I followed the MediaPipe in Python steps. I tried the two things you linked before I posted. All of the videos I was watching were saying that for Python, I just had to use pip to do the install. Are all of those programs in the steps you provided required to make MediaPipe work? I am seeing like 10GB of downloads.
Hi @byron-ojua, Yes, Please follow the official documentation to build MediaPipe from source Or depends on use case you could follow the Python Solution API example code of Hands as mentioned in the documentation. Thank you!
I am still getting the same error.
Hi @byron-ojua, Please try the suggestion mentioned in the similar SO issue and revert back if encounter the same error. Thank you!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
Closing as stale. Please reopen if you'd like to work on this further.