N
N
Nikita Pakhomov2022-03-22 15:13:22
Python
Nikita Pakhomov, 2022-03-22 15:13:22

Why doesn't blender see the mediapipe?

Blender cannot import mediapipe when running script. Tried installing via:

python_exe = os.path.join(sys.prefix, 'bin', 'python.exe')
py_lib = os.path.join(sys.prefix, 'lib', 'site-packages','pip ')
subprocess.call([python_exe, py_lib, "install", "mediapipe"])

Still says:

Requirement already satisfied: mediapipe in d:\programs\steam\steamapps\common\blender\3.1\python\lib\site -packages (0.8.9.1)
Traceback (most recent call last):
File "D:\Projects\Git_Synh\MotionCapture_OnCamera\work.py", line 17, in
import mediapipe as mp
ModuleNotFoundError: No module named 'mediapipe'

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question