Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: a lot of No module named 'scripts.xxx' #16210

Open
6 tasks
sipie800 opened this issue Jul 14, 2024 · 1 comment
Open
6 tasks

[Bug]: a lot of No module named 'scripts.xxx' #16210

sipie800 opened this issue Jul 14, 2024 · 1 comment
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@sipie800
Copy link

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
from scripts.enums import (
ModuleNotFoundError: No module named 'scripts.enums'

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

@sipie800 sipie800 added the bug-report Report of a bug, yet to be confirmed label Jul 14, 2024
@Haoming02
Copy link
Contributor

How are you launching the Webui?

No module named 'scripts.enums'

Looks like working directory issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants