stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

joblib module is missing

Open bmx666 opened this issue 3 months ago • 1 comments

OS - Mac Seqoya 15.6.1 Homebrew - python3.10 HW - MacAir M1

Script extensions-builtin/soft-inpainting/scripts/soft_inpainting.py contains import joblib (#2927) However, the joblib module is not included in the requirements.

ControlNet preprocessor location: /Users/bmx666/.../stable-diffusion-webui-forge/models/ControlNetPreprocessor
*** Error loading script: soft_inpainting.py
    Traceback (most recent call last):
      File "/Users/bmx666/.../stable-diffusion-webui-forge/modules/scripts.py", line 525, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Users/bmx666/.../stable-diffusion-webui-forge/modules/script_loading.py", line 13, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 999, in exec_module
      File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
      File "/Users/bmx666/.../stable-diffusion-webui-forge/extensions-builtin/soft-inpainting/scripts/soft_inpainting.py", line 10, in <module>
        from joblib import Parallel, delayed, cpu_count
    ModuleNotFoundError: No module named 'joblib'

Quick fix add to requirements_versions.txt or execute:

source venv/bin/activate
pip install joblib

bmx666 avatar Sep 15 '25 19:09 bmx666

the same error on py3.12 branch

bmx666 avatar Sep 15 '25 19:09 bmx666