Skip to content

Fresh install on debian cannot run webui - module 'mediapipe' has no attribute 'solutions' #349

@jnwebster

Description

@jnwebster

I have attempted a fresh install on debian and I receive the following error:
module 'mediapipe' has no attribute 'solutions'

Starting FastSD CPU please wait...
Found python command
Python version : 3.11.9
/home/joel/fastsdcpu/env/lib/python3.11/site-packages/torch/onnx/_internal/registration.py:162: OnnxExporterWarning: Symbolic function 'aten::scaled_dot_product_attention' already registered for opset 14. Replacing the existing function with new function. This is unexpected. Please report it on https://github.com/pytorch/pytorch/issues.
  warnings.warn(
/home/joel/fastsdcpu/env/lib/python3.11/site-packages/openvino/runtime/__init__.py:10: DeprecationWarning: The `openvino.runtime` module is deprecated and will be removed in the 2026.0 release. Please replace `openvino.runtime` with `openvino`.
  warnings.warn(
FastSD CPU -  v1.0.0 beta 275
Running on Linux platform
OS: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41
Processor: 
Using device : cpu
Output path : /home/joel/fastsdcpu/results
Found 6 LCM models in config/lcm-models.txt
Found 7 stable diffusion models in config/stable-diffusion-models.txt
Found 4 LCM-LoRA models in config/lcm-lora-models.txt
Found 10 OpenVINO LCM models in config/openvino-lcm-models.txt
Traceback (most recent call last):
  File "/home/joel/fastsdcpu/src/app.py", line 314, in <module>
    from frontend.webui.ui import start_webui
  File "/home/joel/fastsdcpu/src/frontend/webui/ui.py", line 6, in <module>
    from frontend.webui.controlnet_ui import get_controlnet_ui
  File "/home/joel/fastsdcpu/src/frontend/webui/controlnet_ui.py", line 6, in <module>
    from backend.annotators.image_control_factory import ImageControlFactory
  File "/home/joel/fastsdcpu/src/backend/annotators/image_control_factory.py", line 3, in <module>
    from backend.annotators.lineart_control import LineArtControl
  File "/home/joel/fastsdcpu/src/backend/annotators/lineart_control.py", line 3, in <module>
    from controlnet_aux import LineartDetector
  File "/home/joel/fastsdcpu/env/lib/python3.11/site-packages/controlnet_aux/__init__.py", line 15, in <module>
    from .mediapipe_face import MediapipeFaceDetector
  File "/home/joel/fastsdcpu/env/lib/python3.11/site-packages/controlnet_aux/mediapipe_face/__init__.py", line 9, in <module>
    from .mediapipe_face_common import generate_annotation
  File "/home/joel/fastsdcpu/env/lib/python3.11/site-packages/controlnet_aux/mediapipe_face/mediapipe_face_common.py", line 16, in <module>
    mp_drawing = mp.solutions.drawing_utils
                 ^^^^^^^^^^^^
AttributeError: module 'mediapipe' has no attribute 'solutions'

fastsdcpu-error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions