StabilityMatrix(stable diffusion) 起動不可事象と解決策

StabilityMatrixにてstable-diffusionを起動した際に、ウインドウの末尾に以下の文言が出て使えなくなりました。

”self._pool = httpcore.AsyncConnectionPool(
TypeError: AsyncConnectionPool.init() got an unexpected keyword argument 'socket_options'

Process finished with exit code 1 "

調べた結果、[httpx]が影響しているらしいことが分かりました。(以下に参考URL)

AsyncConnectionPool - issue · Issue #232 · LykosAI/StabilityMatrix · GitHub
TypeError: AsyncConnectionPool.__init__(), new install bug, httpx==0.24.1 · Issue #13840 · AUTOMATIC1111/stable-diffusion-webui · GitHub

①Stability Matrix\Packages\stable-diffusion-webuiフォルダでコマンドプロンプトを起動。
②下記のコマンドを順番に実行し、httpxをインストールする。
venv\Scripts\activate
pip install httpx==0.24.1

これで、stable diffusionが起動出来ました。良かった。




この記事が気に入ったらサポートをしてみませんか?