在Mac上安装Stable Diffusion时网速太差

Standard

因为 cmd 终端不天然使用梯子访问互联网,在从Github 上拉取 Stable Diffusion 时会遇到各种各样的问题,因此需要让cmd 连上梯子。以下是从https://weilining.github.io/294.html上得到的解决方案,很好使。附内容如下:

macOS & Linux

通过设置 http_proxyhttps_proxy,可以让终端走指定的代理。
配置脚本如下,在终端直接执行,只会临时生效:

1
2
export http_proxy=http://127.0.0.1:7890
export https_proxy=$http_proxy

7890 是 http 代理对应的端口,请不要照抄作业,根据你的实际情况修改。

发表评论

邮箱地址不会被公开。 必填项已用*标注

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>