最近用stable diffusion web ui的时候总是遇到这个问题,记录一下
问题:ImportError: Using SOCKS proxy, but the ‘socksio’ package is not installed. Make sure to install httpx using pip install httpx[socks].
解决:并不是跟他说的一样去pip install,而是一行bash命令就够了(在ubuntu系统下的)
unset all_proxy && unset ALL_PROXY
StableDiffusionWebUI:解决Ubuntu下SOCKS代理安装问题
本文讲述了在使用StableDiffusionWebUI时遇到的ImportError,不是通过常规的pipinstallsocksio,而是发现只需要在Ubuntu系统下执行unsetall_proxy和unsetALL_PROXY的bash命令即可解决SOCKS代理问题,无需额外安装httpx[socks]包。
825





