BlendArMocap
BlendArMocap copied to clipboard
Getting error while installing on windows
Hi , I'm trying to install BlendArMocap addon in windows after pressing install I get some installation error as shown in image

I opened Blender with administrative access still I'm getting above error related to pip install using sys.process
@cgtinker hey can you answer this please?
I don't know this bug, no idea how to reproduce it. Atm I'm working on a standalone executable to get rid of dependency issues in the future. Please copy the log from the system console, maybe there's some valuable information.
Besides, you may install the dependencies manually:
- Find the path to blenders python binary, to do so, navigate to blenders python console and run the cmds:
import sys
sys.executable
- Copy the path you've received, then open the terminal and install the dependencies manually:
{path_to_blenders_python} -m ensurepip
{path_to_blenders_python} -m pip install protobuf==3.20.0
{path_to_blenders_python} -m pip install opencv-contrib-python==4.5.5.64
{path_to_blenders_python} -m pip install mediapipe==0.8.10
hi @cgtinker thanks for reply, i get none when I execute sys.executable however I found out python binary and installed all depedencies manually but when I try to use addon from sidebar i get installation instruction again as shown in below screenshot. How to skip this and use addon

and system concsole log error as shown below while installing addons

hi @cgtinker any updates on my followup question?
- Copy the path you've received, then open the terminal and install the dependencies manually:
{path_to_blenders_python} -m ensurepip {path_to_blenders_python} -m pip install protobuf==3.20.0 {path_to_blenders_python} -m pip install opencv-contrib-python==4.5.5.64 {path_to_blenders_python} -m pip install mediapipe==0.8.10
This worked for me.
@aaiguy is {path_to_blenders_python} -m ensurepip giving any errors? In my case it first said 'site-packages is not writeable'. It would still install the packages, but in the wrong location. I had to open the terminal as an administrator to fix this issue.
If you navigate to {path_to_blenders_python}/lib/site-packages in the file explorer, the dependencies should show up here.
I'm about to release a new version next week you can give it a try on the main branch, if any issues arise please refer to #131