-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Modify installation extension dependencies #518
Conversation
Perform a full extension installation process instead of just installing dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, could you please increase the version of auto's image by 1 in the docker compose file?
pip install -r "$req" | ||
list=(./extensions/*/install.py) | ||
for installscript in "${list[@]}"; do | ||
PYTHONPATH=${ROOT} python "$installscript" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the PYTHONPATH
necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I see, it is here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Developing-extensions#installpy
Would be great if you could add this as a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, from the results of my test, PYTHONPATH
is necessary, otherwise some modules provided by the webui project will not be found correctly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
* Abd_master: Auto 1.4.0 (AbdBarho#507) Bump auto Add build-essential package (AbdBarho#522) Allow setting port through env WEBUI_PORT (AbdBarho#521) Create dirs if not exist (AbdBarho#520) Modify installation extension dependencies (AbdBarho#518) v8 (AbdBarho#516) # Conflicts: # data/.gitignore # docker-compose.yml
Perform a full extension installation process instead of just installing dependencies Some extensions do not include `requirements.txt` but install dependencies in `install.py`, and all extensions include `install.py`, so it is safe to use it for extended dependency installation This is because the extension development of AUTOMATIC1111's webui does not require the existence of `requirements.txt` but uses `install.py` to initialize the extension https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Developing-extensions#installpy
Perform a full extension installation process instead of just installing dependencies
Some extensions do not include
requirements.txt
but install dependencies ininstall.py
, and all extensions includeinstall.py
, so it is safe to use it for extended dependency installationThis is because the extension development of AUTOMATIC1111's webui does not require the existence of
requirements.txt
but usesinstall.py
to initialize the extensionhttps://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Developing-extensions#installpy