Closed JelleRouquart closed 3 years ago
Please try this instructions.
https://www.patreon.com/posts/script-to-opencv-54890147
I think it only works with the portable version of blender. (the zip file)
Hey Carlos, I tried but it didn't work. Can you explain 'the portable version of blender' I found one but it just opened blender.
Sure. Its this one https://www.blender.org/download/Blender2.93/blender-2.93.4-windows-x64.zip/
in the site you find it here (or download via the link i posted above
Thankyou for the quick reply, I really appriciate it :)
But it still doesn't work...
So I installed the Portable version of Blender
Then I Installed the code in the scripting array of Blender:
import subprocess import sys import os path to python.exe python_exe = os.path.join(sys.prefix, 'bin', 'python.exe') py_lib = os.path.join(sys.prefix, 'lib', 'site-packages','pip') ...........
Then I tried to install the cv2 and Mediapipe:
import cv2 import mediapipe
But i still got the error:
Traceback (most recent call last): File "<blender_console>, line 1, in <module> ModuleNotFoundError: No module named 'mediapipe''
can you show what shows up in the console? after you run the code for the installation
it would be this console
ow sorry here it is
should I do the command?
From what you showed, looks like it is the problem I was expecting. The installation went to the system installation of python
Let me try on this... wait a moment please.
can you go to cmd and run
set pythonpath
and show what shows up?
the screen bellow is just a reference of my pc before executing the command
Just in command Prompt from windows? not in Blender? I am just new in blender sorry ;) (come from C4D)
Yeah it was from windows. you did it correctly... let me try one more thing, just a moment again.
I wanted to test if we could make it work more easily. There is another solution but its not so user friendly
I tried to make something easier but Iwont be able to give more time on it today... sorry.
But I have another issue explaining a way that was able to work can you try this solution?
https://github.com/carlosedubarreto/vibe_win_install/issues/17#issuecomment-899016167 It´s basically, getting the files from the place where python installed CV2, mediapipe and other packages and pasting manually to python folder inside blender
alright, thanks a lot for the help!! I will try it :)
It worked! I copied and pasted the files and is was allright! Thanks for the help! made my day 💯
Thanks a lot for the feedback., Have fun 😊
This happens when I click on Animation MOCAP Import