Replies: 18 comments 7 replies
|
Thank you so much. Switching to the dev branch fully fixed it for me. Even works from with StabilityMatrix, simply switch to the dev branch when installing the "Stable Diffusion WebUI" package. |
|
thank god finally i appreciate it |
|
Thx
|
|
Problem solved for me, Thank you |
|
Thanks. For me it works like this @echo off |
|
I edit the webui-user to your line set PYTHON= call webui.bat But when open it got this, what is the problems? 'where' is not recognized as an internal or external command, exit code: 9009 stderr: Launch unsuccessful. Exiting. |
|
Thank you. I was having a difficult time here. I even asked my own personal AI for help, but thankfully, I was able to find the discussion. |
|
тигр |
|
Thanks but this is the latest stable difusion realease or what is it?? |
|
this fixed it! thank you |
|
I couldn’t thank you enough. I was stuck the entire day, searching everywhere Gemini, Claude, you name it but it was your GitHub fix that finally got Stable Diffusion running on my laptop. Truly appreciate your help. |
|
First time downloading SD, was nearly discouraged after manually downloading python and git and then it asked me for the github log in and it kept not working. |
|
Was having significant issues with getting this installed properly all day. It kept wanting me to login to GIT when i would run it. Now that i added the additonal line to the webui-user.bat and deleted the extra folder for repositories, IT WORKS!!! Thank you for solving my 7 hour headache! |
|
Great, very useful! it always bothers me, you solve it! |
|
thanks man |
|
Thank you for your kindness, it is very helpful. |
|
Guys, I think I just found another reason why my installation was unsuccessful. It had something to do with your anti-virus software on your computer. When you are making attempts to install, make sure that it is disabled. My installation went very successfully after turning that thing off. Hope this also helps. |
|
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
for any new install of stable-diffusion-webui you will incounter an issue during initial installation
or
the cause of the issue is because during the initial installation webui will clone (download) additional code form the repository https://github.com/Stability-AI/stablediffusion, since some days ago this repository is no longer available due to either being removed or private, as webui is unable to download required code it fails to install
Fix: we have updated the
devbranchon the dev branch we now update webui so that it clone the requred code from a frok https://github.com/w-e-w/stablediffusion.git
see PR
so the simplest thing this thing you can do to fix this issue is to switch to dev branch
this can be done by running the fellowing command in your web-ui directory
it's possible that you may need to run
git pullafter you switch the branch to ensure that the code is updatedAlternatively fix
as the fixed is only applied to the dev branch, if for some reason you're using an alternative version of webui or can't/don't want to switch the
devbranch you could configure webui to clone from a different URL by setting the environment variableSTABLE_DIFFUSION_REPOtohttps://github.com/w-e-w/stablediffusion.gitfor Windows (without custom launcher)
add the following line to
webui-user.batthe file should end up looking like this
for Linux and Mac
similarly add the following line to
webui-user.shFor StabilityMatrix
you can add environment variable in the setting
Setting > Environment Variable (Edit Button) > clicke
+button then input the followSTABLE_DIFFUSION_REPOhttps://github.com/w-e-w/stablediffusion.gitClick to show screenshot
Windows Generic method
if you are on Windows and using a launcher does not have advanced settings that provide a way for you to add
Environment Variableit is still possible to configure
Environment Variablesfrom the operating system levelSteps
Windwos Settings > SystemAboutsection (scroll down, normally it should be the last item)Aboutclick onAdvanced system settingsto openSystem PropertiesSystem Propertiesclick onEnvironment Variablesto openEnvironment VariablesEnvironment VariablesclickNewVariable nameandVariable valueSTABLE_DIFFUSION_REPOhttps://github.com/w-e-w/stablediffusion.gitOKto confirm adding the new environment variables, (you should a new entry is added)OKto again confirm again save your changesOKto again confirm that you confirm for the last time to exitIf you follow the steps correctly you should be able to install web ui in any launcher as normal
Click to show screenshot
Last resort fix
if you are unable to accomplish any of the above methods the last resort woud be to edit the code directly
open
stable-diffusion-webui/modules/launch_utils.py find the following line and modify itfind
stable-diffusion-webui/modules/launch_utils.py
Line 350 in 82a973c
modify it to
stable-diffusion-webui/modules/launch_utils.py
Line 381 in fd68e0c
Additional Troubleshooting
after applying the above fix if you're still getting errors
try deleting the folder
stable-diffusion-webui\repositories\stable-diffusion-stability-aithen try againAll reactions