asjson
stable-diffusion-webui打开报错解决办法
解决办法:打开stable-diffusion-webui/requirements_versions.txt并添加httpx==0.24.1到底部并启动,成功
错误提示:
Launching Web UI with arguments: --xformers
Traceback (most recent call last):
File "D:\stable-diffusion-webui\webui\launch.py", line 48, in
main()File "D:\stable-diffusion-webui\webui\launch.py", line 44, in main
start()File "D:\stable-diffusion-webui\webui\modules\launch_utils.py", line 432, in start
import webuiFile "D:\stable-diffusion-webui\webui\webui.py", line 13, in
initialize.imports()File "D:\stable-diffusion-webui\webui\modules\initialize.py", line 21, in imports
import gradio # noqa: F401File "D:\stable-diffusion-webui\webui\venv\lib\site-packages\gradio\__init__.py", line 3, in
import gradio.components as componentsFile "D:\stable-diffusion-webui\webui\venv\lib\site-packages\gradio\components\__init__.py", line 1, in
from gradio.components.annotated_image import AnnotatedImageFile "D:\stable-diffusion-webui\webui\venv\lib\site-packages\gradio\components\annotated_image.py", line 12, in
from gradio import utilsFile "D:\stable-diffusion-webui\webui\venv\lib\site-packages\gradio\utils.py", line 353, in
class AsyncRequest:File "D:\stable-diffusion-webui\webui\venv\lib\site-packages\gradio\utils.py", line 372, in AsyncRequest
client = httpx.AsyncClient()File "D:\stable-diffusion-webui\webui\venv\lib\site-packages\httpx\_client.py", line 1397, in init
self._transport = self._init_transport(File "D:\stable-diffusion-webui\webui\venv\lib\site-packages\httpx\_client.py", line 1445, in _init_transport
return AsyncHTTPTransport(File "D:\stable-diffusion-webui\webui\venv\lib\site-packages\httpx\_transports\default.py", line 275, in init
self._pool = httpcore.AsyncConnectionPool(TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
Press any key to continue . . .