Closed AonoZan closed 4 months ago
Updating ControlNet Auxiliary Preprocessors should work. There's a fix recently. https://github.com/Fannovel16/comfyui_controlnet_aux/commit/e2bd235a8ff5b470b1a6ff3eae5a97c0c0941445
Otherwise try:
pip install mediapipe
This will fix MediaPipe's broken dep (protobuf<4).
I have updated custom nodes and I also tried installing mediapipe to my system. Stopping, restarting docker image and it didnt solved error.
I have also tried modifying docker file and "2. Fix Mediapipe" lines:
&& pip uninstall --break-system-packages --yes \ mediapipe protobuf \ && pip install --break-system-packages \ "protobuf>=3.11,<4" mediapipe==0.10.9
This didnt help as well.
I just tested this node in Windows (standalone portable) and Linux (both latest & megapak image). It's working so I'm not sure what causes error.
I suggest updating to the latest Docker image, should fix most dependency issues.
Image for my test:
I managed to fix this by adding pip installs to "pre-start.sh"
pip install --break-system-packages "protobuf>=3.11,<4" mediapipe==0.10.9
I have also missed part where its stated that pre-start script needs to be in ./storage/scripts.
Error occurs when this node is used: