Update fix has been pushed to master
please update your webui version if you are affected
issue #13836
starting around 2 hours ago any new installation of webui will not be able to launch
if you see an error like this
TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
the issue is caused by an updates to an external dependency httpx
webui works version 0.24.1, but due to some external changes the package automatically installed by webui is 0.25.1
a fix PR has already been made and hopefully this issue will get resolved soon
but until then to those who are affected please follow the following steps to resolve the issue yourself
there's two method of resolving the issues for yourself
method 1 manually installing the correct version of httpx
the can be done by running a pip command in the webui's python environment
from the webui root the following commands
if using powershell on windwos
.\venv\Scripts\Activate.ps1
pip install httpx==0.24.1
if using cmd on windows
venv\Scripts\activate
pip install httpx==0.24.1
if using linux
source venv/bin/activate
pip install httpx==0.24.1
method 2: manually modify webui's requirements
and and let webui installed the correct version
this is for those who don't know how to run commands
open stable-diffusion-webui/requirements_versions.txt and add httpx==0.24.1 to bottom and launch webui it should now start successfully
the file should look like this
|
torchsde==0.2.6
|
|
transformers==4.30.2
|
|
httpx==0.24.1
|
after webui has launched successfully, remember to remove the modifications
otherwise you might have trouble updating webui in the future
you can either manually restore the modification (using ctrl +z and save)
or by running thes git command
git restore requirements_versions.txt
or
Update fix has been pushed to master
please update your webui version if you are affected
issue #13836
starting around 2 hours ago any new installation of webui will not be able to launch
if you see an error like this
the issue is caused by an updates to an external dependency httpx
webui works version
0.24.1, but due to some external changes the package automatically installed by webui is0.25.1a fix PR has already been made and hopefully this issue will get resolved soon
but until then to those who are affected please follow the following steps to resolve the issue yourself
there's two method of resolving the issues for yourself
method 1 manually installing the correct version of
httpxthe can be done by running a pip command in the webui's python environment
from the webui root the following commands
if using powershell on windwos
if using cmd on windows
venv\Scripts\activate pip install httpx==0.24.1if using linux
source venv/bin/activate pip install httpx==0.24.1method 2: manually modify webui's requirements
and and let webui installed the correct version
open
stable-diffusion-webui/requirements_versions.txtand addhttpx==0.24.1to bottom and launch webui it should now start successfullythe file should look like this
stable-diffusion-webui/requirements_versions.txt
Lines 30 to 32 in cc80a09
after webui has launched successfully, remember to remove the modifications
otherwise you might have trouble updating webui in the future
you can either manually restore the modification (using
ctrl +zand save)or by running thes git command
or