cgtinker / BlendArMocap

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

Console returns "non zero exit" while trying to install dependencies #12

Closed yxx10 closed 2 years ago

yxx10 commented 2 years ago

Hi!

Console gave me this error when I was trying to install the dependencies:

Command '['C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin\python.EXE', '-m', 'pip', 'install', 'opencv-python']' returned non-zero exit status 1.

Ahh, I think something may be missing? Not sure what's going on honestly. This and This post may have an answer, but they both have wildly different responses. I'm using Blender 3.0.0 on Windows 10 x64

cgtinker commented 2 years ago

Hey there,

I think the subprocess doesn't find the correct environment path to process the command. Open-cv and mediapipe are required to run BlendArMocap - you also could install the packages manually in blenders site packages (/blender/2,9x/python/lib/site-packages) using pip.

At the moment I'm reworking the import structure so maybe I get this fixed while doing so,

yxx10 commented 2 years ago

Hmm, alright, I see. Mediapipe seems to be installed, however, OpenCV looks incomplete (both on site-packages folder). Current files in opencv_contrib_python-4.5.5.62.dist-info folder are:

I'll see if I can manually install OpenCV, then. Thanks!

yxx10 commented 2 years ago

Hmm, alright, I see. Mediapipe seems to be installed, however, OpenCV looks incomplete (both on site-packages folder). Current files in opencv_contrib_python-4.5.5.62.dist-info folder are:

  • INSTALLER
  • LICENSE
  • LICENSE-3RD-PARTY
  • METADATA
  • RECORD
  • top_level
  • WHEEL

I'll see if I can manually install OpenCV, then. Thanks!

Ok, I opened Blender and the addon was now correctly installed (?). I'm really not sure what happened there, but it's working so, I guess closed issue? Anyway, thanks!