[Bug]: a lot of No module named 'scripts.xxx'
Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] 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 launching, a lot of similar error happen in extensions. They share the same pattern, for example, controlnet extension, we have
....../sd-webui-controlnet\internal_controlnet\args.py", line 12, in
and as long as an extension use from scripts.xxx import yyy, error happens.
Steps to reproduce the problem
None
What should have happened?
None
What browsers do you use to access the UI ?
No response
Sysinfo
None
Console logs
None
Additional information
No response
How are you launching the Webui?
No module named 'scripts.enums'
Looks like working directory issue
@sipie800 I met totally same issue and found out some manually installed package (from local dir or github repo) who have "scripts" folder in it will cause this issue. I guess you may want to clean your venv and restart your webui