解决MAC笔记本Stable Diffusion安装时报No matching distribution found for tb-nightly的问题

安装时报如下错误:

stderr: ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,=3.7,=3.7,=3.7,=3.7,=3.7, 23.1.2
[notice] To update, run: pip install --upgrade pip

重点看“No matching distribution found for tb-nightly”这个报错。这个错误是说明,我们的pip源中没有对应的“tb-nightly”依赖包。

查看pip的配置:pip config list,看到配置如下:

global.index-url=’https://pypi.tuna.tsinghua.edu.cn/simple’

这说明,使用的清华的pip源中缺少tb-nightly这个包。那我们就换个阿里的源,使用如下命令:

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple

再来查看:pip config list,配置已经变成阿里的地址了:

global.index-url=’https://mirrors.aliyun.com/pypi/simple’。

重新执行安装: ./webui.sh

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/be371544f7.html