[Bug]: Doesn't work

Author: kononova-pollyCreated Apr 11, 2026Updated Apr 11, 2026

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

What happened?

Hi! I'm trying to install ControlNet on different models (v1.6, v1.9, v1.10) in Stability Matrix, but nothing works. I've already tried everything... I see the extension installed in the package and in the Explorer folders, but I stubbornly don't see it in the interface and it's not in the hidden folders either. Please, help!

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...

What should have happened?

it should be in WebUi interface

Commit where the problem happens

webui: v1.6, v1.9, v1.10 controlnet: 56cec5b2 | 2024-07-25 22:52:52 |

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

bash
no, common launcher through stability matrix

List of enabled extensions

all other extensions are work: adetailer, civitai helper, aspect ratio plusplus

Console logs

bash
Python 3.10.19 (main, Feb  3 2026, 22:48:33) [MSC v.1944 64 bit (AMD64)]
Version: v1.9.3
Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0
Launching Web UI with arguments: --medvram --xformers --api --skip-python-version-check --gradio-allowed-path D:\StabilityMatrix\Images
D:\StabilityMatrix\Packages\Stable Diffusion WebUI\venv\lib\site-packages\lightning_fabric\__init__.py:29: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  __import__("pkg_resources").declare_namespace(__name__)
CHv1.8.13: Get Custom Model Folder
[-] ADetailer initialized. version: 26.2.0, num models: 10
ControlNet preprocessor location: D:\StabilityMatrix\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\annotator\downloads
*** Error loading script: controlnet.py
    Traceback (most recent call last):
      File "D:\StabilityMatrix\Packages\Stable Diffusion WebUI\modules\scripts.py", line 508, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "D:\StabilityMatrix\Packages\Stable Diffusion WebUI\modules\script_loading.py", line 13, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "D:\StabilityMatrix\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\controlnet.py", line 16, in <module>
        import scripts.preprocessor as preprocessor_init  # noqa
      File "D:\StabilityMatrix\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\preprocessor\__init__.py", line 9, in <module>
        from .mobile_sam import *
      File "D:\StabilityMatrix\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\preprocessor\mobile_sam.py", line 1, in <module>
        from annotator.mobile_sam import SamDetector_Aux
      File "D:\StabilityMatrix\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\annotator\mobile_sam\__init__.py", line 12, in <module>
        from controlnet_aux import SamDetector
      File "D:\StabilityMatrix\Packages\Stable Diffusion WebUI\venv\lib\site-packages\controlnet_aux\__init__.py", line 11, in <module>
        from .mediapipe_face import MediapipeFaceDetector
      File "D:\StabilityMatrix\Packages\Stable Diffusion WebUI\venv\lib\site-packages\controlnet_aux\mediapipe_face\__init__.py", line 9, in <module>
        from .mediapipe_face_common import generate_annotation
      File "D:\StabilityMatrix\Packages\Stable Diffusion WebUI\venv\lib\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'

Additional information

I tried downgrading NumPy via console, deleting configs and the venv folder, and reinstalling webui and controlnet versions several times...

Source: Mikubill/sd-webui-controlnet