How WebUI uses modules without __init__.py #14102
Replies: 1 comment
-
Answer : Remove |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, This is not a real question about SD Webui but about it's development.
I'm trying to replicate the same python setup using python embed just like sd webui nvidia version.
I noticed in sd webui after running
launch.py
it directly import frommodules
folder but this folder is not inside sys.path nor PYTHONPATH but it works, in my replicate it doesn'tthere's no
__init__.py
and not PYTHONPATH either, it just works...In my case i get : ModuleNotFoundError: No module named 'modules'
my setup is exactly same as sd webui
anybody knows how they do it?
Beta Was this translation helpful? Give feedback.
All reactions