-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Mediapipe Import Error on macOS 11 #5836
Comments
Hi @GrillingUXO, Could you try running the following command?
Additionally, you can refer to this similar issue: #1839 for potential solutions. If the issue persists, please let us know whether your macOS is Intel-based or Silicon-based, along with the complete steps to reproduce the issue. This will help us investigate further. Thank you!! |
pip install msvc-runtime
Thanks for your reply, but it seems like the msvc-runtime package is not available on PyPI, \u@wfng \w$ pip3 install msvc-runtime |
Hi @GrillingUXO, There is a known issue with installing MediaPipe in a virtual environment. Could you try installing it outside of the virtual environment and let us know if the installation is successful? Thank you!! |
Hi @GrillingUXO, Unfortunately, it seems that your macOS version is not compatible with MediaPipe, as indicated by the error message: darwin.so (which was built for Mac OS X 13.0). This suggests that macOS 11 is not supported. We currently do not have access to macOS 11 to reproduce the issue. Please upgrade your system to macOS 13 or later and let us know if the issue persists. Thank you!!! |
Hi @kuaashish , B.R. |
I encountered an ImportError when running a Python script that uses Mediapipe on macOS 11.7. The issue appears to be related to compatibility between Mediapipe's native bindings and the system's libraries (libc++).
OS Platform and Distribution
macOS 11.7.10 BIg Sur
Compiler version
No response
Programming Language and version
Python 3.9.7
Installed using virtualenv? pip? Conda?(if python)
pip
MediaPipe version
0.10.5
Bazel version
No response
XCode and Tulsi versions (if iOS)
No response
Android SDK and NDK versions (if android)
No response
Android AAR (if android)
None
OpenCV version (if running on desktop)
4.10.0.84
Describe the problem
A bug happened!
Complete Logs
The text was updated successfully, but these errors were encountered: