Skip to content

Unable to load extension due to "ModuleNotFoundError: No module named 'credentials_manager'" #49

@CallyyllaC

Description

@CallyyllaC

When starting sd-webui the command prompt posts the error

==============================================================================
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
ControlNet preprocessor location: E:\Documents\GitHub\stable-diffusion-webui-amdgpu\extensions\sd-webui-controlnet\annotator\downloads
2025-06-21 19:14:11,002 - ControlNet - INFO - ControlNet v1.1.455
*** Error loading script: ranbooru.py
    Traceback (most recent call last):
      File "E:\Documents\GitHub\stable-diffusion-webui-amdgpu\modules\scripts.py", line 515, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "E:\Documents\GitHub\stable-diffusion-webui-amdgpu\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 "E:\Documents\GitHub\stable-diffusion-webui-amdgpu\extensions\sd-webui-ranbooru\scripts\ranbooru.py", line 18, in <module>
        from credentials_manager import CredentialsManager
    ModuleNotFoundError: No module named 'credentials_manager'

---

I have checked and the credentials_manager.py file does exist in \sd-webui-ranbooru\scripts

I have tried deleting the extension and reinstalling, and I have also tried upgrading python just incase, though neither seemed to have worked.

The only other difference I can think of is that I am using the stable-diffusion-webui-amdgpu version of stable-diffusion-webui

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