Open erotavlas opened 4 months ago
This sounds like an issue with (named) imports. What happens when you don't use mp
?
I tried import mediapipe as mpzzz
and just import mediapipe
and either way it produces the same error. To get around it I refactored my code into two separate python files (one for mediapipe tasks and one for movipy tasks) and execute them separately to avoid this collision.
When code contains an import to Mediapipe, we get an error when trying to write audio clip to file. Mediapipe version is 0.10.10.
Actual Behavior
Exception has occurred: OSError [WinError 6] The handle is invalid
Steps to Reproduce the Problem
add
import mediapipe as mp
to the top of your codeSpecifications