广告
返回顶部
首页 > 资讯 > 移动开发 >解决MAC笔记本Stable Diffusion安装时报No matching distribution found for tb-nightly的问题
  • 956
分享到

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

macos数学建模python开发语言 2023-09-02 08:09:46 956人浏览 安东尼
摘要

安装时报如下错误: stderr: ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python

安装时报如下错误:

stderr: ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.0rc1 Requires-Python >=3.7,<3.10; 1.7.0rc2 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10ERROR: Could not find a version that satisfies the requirement tb-nightly (from gfpgan) (from versions: none)ERROR: No matching distribution found for tb-nightly[notice] A new release of pip available: 22.3.1 -> 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://blog.csdn.net/shark1357/article/details/131238924

--结束END--

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

本文链接: https://www.lsjlt.com/news/390394.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作