Repository: stable-diffusion-webui
Issue: [Bug]: Error loading script: main.py
Labels: not-an-issue

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [X] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

when started webui-user.bat, I got this error message:

*** Error loading script: main.py
    Traceback (most recent call last):
      File "C:\Users\netwo\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Users\netwo\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 "C:\Users\netwo\stable-diffusion-webui\extensions\openpose-editor\scripts\main.py", line 14, in <module>
        from basicsr.utils.download_util import load_file_from_url
    ModuleNotFoundError: No module named 'basicsr'

When I try to send to txt2img the openpose s pose , nothing happened, when I manually set up the pose pictures, the picture isnt posed with the pose I setup....

Sorry I am a bit lost, If someone can help me I would be gratefull

### Steps to reproduce the problem

1.l auch webui-user.bat

2. get the error:

Launching Web UI with arguments: --xformers
*** Error loading script: main.py
    Traceback (most recent call last):
      File "C:\Users\netwo\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Users\netwo\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 "C:\Users\netwo\stable-diffusion-webui\extensions\openpose-editor\scripts\main.py", line 14, in <module>
        from basicsr.utils.download_util import load_file_from_url
    ModuleNotFoundError: No module named 'basicsr'

3. 3dopenpose doesnt want to send the pose and other controlnet such as depht for example to the txt2img or img2img.

4. after setting up the pose pictuer into controlnet parameter and setting up the options. it doesnt follow the pose...

### What should have happened?

1. No error on startting webui-user.bat

2. Openpose can send the picures to img2img or txt2img

3. I got the result with a picture with the pose I set up

### What browsers do you use to access the UI ?

Mozilla Firefox, Google Chrome

### Sysinfo

[sysinfo-2024-12-28-17-43.json](https://github.com/user-attachments/files/18267048/sysinfo-2024-12-28-17-43.json)


### Console logs

```Shell
off "C:\Users\netwo\AppData\Local\Programs\Python\Python310\python.exe

C:\Users\netwo\stable-diffusion-webui>set PYTHON=

C:\Users\netwo\stable-diffusion-webui>set GIT=

C:\Users\netwo\stable-diffusion-webui>set VENV_DIR=

C:\Users\netwo\stable-diffusion-webui>set COMMANDLINE_ARGS= "--xformers"

C:\Users\netwo\stable-diffusion-webui>call webui.bat
venv "C:\Users\netwo\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Launching Web UI with arguments: --xformers
*** Error loading script: main.py
    Traceback (most recent call last):
      File "C:\Users\netwo\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Users\netwo\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 "C:\Users\netwo\stable-diffusion-webui\extensions\openpose-editor\scripts\main.py", line 14, in <module>
        from basicsr.utils.download_util import load_file_from_url
    ModuleNotFoundError: No module named 'basicsr'

---
ControlNet preprocessor location: C:\Users\netwo\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2024-12-28 18:45:35,296 - ControlNet - INFO - ControlNet v1.1.455
Loading weights [d803b444ed] from C:\Users\netwo\stable-diffusion-webui\models\Stable-diffusion\disneyrealcartoonmix_v10.safetensors
2024-12-28 18:45:36,849 - ControlNet - INFO - ControlNet UI callback registered.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Creating model from config: C:\Users\netwo\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
Startup time: 21.3s (prepare environment: 9.4s, import torch: 4.1s, import gradio: 1.6s, setup paths: 0.8s, import ldm: 0.1s, initialize shared: 0.3s, other imports: 0.5s, load scripts: 3.2s, create ui: 0.7s, gradio launch: 0.6s).
```


### Additional information

_No response_