stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Dreambooth Extension breaks Install
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
Whenever I install the dreambooth extension, and then reboot, I get stuck on 'Installing Requirements for Web UI' and cant boot with dreambooth. So I close the window to try and boot again but now get 'WinError 126' along with a bunch of other errors. The only way to get Automatic 1111 Web UI working again is to delete the extension and then delete my venv folder and then reinstall, but then I can't use dreambooth. Does anyone know why the dreambooth extension breaks my venv folder/automatic 1111 install?
Steps to reproduce the problem
- Install the Dreambooth Extension
- Reboot (Get stuck on Installing Requirements for Web UI)
- Try to Close and boot again
- Get Many different errors (my venv folder is now broken and I have to reinstall without the extension)
What should have happened?
The Web UI should have booted normally with the dreambooth extension.
Commit where the problem happens
ac085628540d0ec6a988fad93f5b8f2154209571
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
No response
Additional information, context and logs
No response
Same here. After the latest db extension update the gui breaks with the same error you wrote.
this just happened to me too.
First upgrade to the latest extension build, and if the problem persists, write an issue to @d8ahazard git site, please.
I experienced a similar problem on my end, for me it appears as though the torchvision/torch versions were changed upon installing the extension. To fix it, I just ran the following from within the venv:
pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
I experienced a similar problem on my end, for me it appears as though the torchvision/torch versions were changed upon installing the extension. To fix it, I just ran the following from within the venv:
pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
Worked for me, thanks!
I experienced a similar problem on my end, for me it appears as though the torchvision/torch versions were changed upon installing the extension. To fix it, I just ran the following from within the venv:
pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
do you mean on "git bash" inside of the directory?
i tried to get a clone of the extension because the webui failed to do so, so i placed it in the directory and launched, got the same error as you got here with different compilation versions
do you mean on "git bash" inside of the directory?
you open a standard cmd in the main dir and then run the \venv\activate.bat to activate the venv and then type the pip install command
do you mean on "git bash" inside of the directory?
you open a standard cmd in the main dir and then run the \venv\activate.bat to activate the venv and then type the pip install command
I'm sorry I have the same problem and don't have a deep understanding of commands and what is venv, can you explain in step by step what to do, if possible, please?!
I'm sorry I have the same problem and don't have a deep understanding of commands and what is venv, can you explain in step by step what to do, if possible, please?!
- You open a command prompt in the base directory of your automatic1111 install (navigate with a Windows Explorer window to that directory and in the address line in the top you overwrite the whole path and just enter cmd and press enter - that will open a cmd prompt at that directory)
- in the cmd enter venv\Scripts\activate.bat and press enter - that should activate that venv indicated by the "(venv)" in the beginning of each prompt line
- Now enter that pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116