cgtinker / BlendArMocap

realtime motion tracking in blender using mediapipe and rigify
GNU General Public License v3.0
930 stars 112 forks source link

Media Pipe (dependency) will not install 😭 #180

Open maxbatt22 opened 7 months ago

maxbatt22 commented 7 months ago

Describe the bug When installing MediaPipe, the plugin fails while using Mac + Blender.

To Reproduce

  1. Launch Blender on Mac
  2. Follow provided installation instructions
  3. Try to use plugin (see an error instead of UI)

Expected behavior The plugin is usable inside of Blender.

Screenshots

Screenshot 2024-04-28 at 12 24 46 PM Screenshot 2024-04-28 at 12 24 21 PM

Desktop (please complete the following information):

Additional context I also tried to use the hack where we separately install OpenCV, and then try to install BlendAR mobcap, but this also didn't work. Thanks!

jasonparekh commented 6 months ago

Similar story here, I just installed the latest version using:

sudo /Applications/Blender.app/Contents/Resources/4.1/python/bin/python3.11 -m pip install mediapipe-silicon

(Your python path may be different -- I copied the path from the output and just used it to install mediapipe-silicon). As of now, it seems like 0.9.2.1 works.

MarcDBoss commented 2 months ago

@maxbatt22 have you followed these steps from the documentation?

Mac
Start Blender as admin by using the terminal:

Navigate to Blender: cd /Applications/Blender/Contents/MacOS

Run Blender as admin: sudo ./Blender

The Terminal request may be blocked even with elevated privileges, if that happens navigate to System Settings > Privacy and Security > Full Disk Access then activate your Terminal. After doing so, the sudo tag shouldn’t be required anymore.