ERROR: No matching distribution found for gradio>=3.23

简介: 该博客文章提供了解决使用pip安装gradio版本3.23时出现的"No matching distribution found"错误的步骤,包括从官网下载相应的whl文件并手动安装。

ERROR: No matching distribution found for gradio>=3.23

一、现象

今天运行chatGPTweb项目的时候 跟下载其他包时候一样使用清华源下载的时候,pip install gradio==3.23 -i https://pypi.python.org/pypi
然后,报错了
在这里插入图片描述

二、原因

国内的镜像源还没有更新到 gradio>=3.23,所以需要科学上网,手动去pypi官网下载whl,然后通过whl下载即可。

三、解决流程

1.从官网中下载gradio编译的pyd文件后缀为whl

地址:https://pypi.org/project/gradio/
在这里插入图片描述

2.基于gradio-3.23.0-py3-none-any.whl安装gradio==3.23

  将gradio-3.23.0-py3-none-any.whl复制到项目所在目录
注:可以不用,下载的时候带whl的绝对地址,复制到项目所在目录只是这样简单一些
在这里插入图片描述
输入如下安装指令:

 pip --default-timeout=100 install gradio-3.23.0-py3-none-any.whl

在这里插入图片描述
等一下就可以安装成功了!

相关文章
|
IDE PyTorch 网络安全
“Could not find suitable distribution for Requirement.parse(‘XXXX‘)”的问题
“Could not find suitable distribution for Requirement.parse(‘XXXX‘)”的问题
334 0
|
3月前
|
Python
ERROR: Could not find a version that satisfies the requirement thop (from versions: none) ERROR: No
这篇文章介绍了在尝试安装`thop`包时遇到的"No matching distribution found"错误,并提供了通过直接从GitHub源码安装`thop`的解决方法。
ERROR: Could not find a version that satisfies the requirement thop (from versions: none) ERROR: No
|
Ubuntu Unix Linux
成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the
成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the
成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the
|
4月前
|
Java 开发工具 git
【Python】已解决:ERROR: No matching distribution found for JPype1
【Python】已解决:ERROR: No matching distribution found for JPype1
230 0
|
4月前
|
Java Python
【Python】已解决:ERROR: No matching distribution found for JPype
【Python】已解决:ERROR: No matching distribution found for JPype
269 0
|
4月前
|
计算机视觉 索引 Python
【Python】已解决:ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)
【Python】已解决:ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)
342 0
|
4月前
|
开发者 Python
【Python】已解决:ERROR: Could not find a version that satisfies the requirement easyocr (from versions: n
【Python】已解决:ERROR: Could not find a version that satisfies the requirement easyocr (from versions: n
86 0
|
6月前
ERROR: No matching distribution found for tb-nightly
ERROR: No matching distribution found for tb-nightly
195 1
|
12月前
|
Python
Python安装库Could not find a version that satisfies the requirement requests (from versions: none)
Python安装库Could not find a version that satisfies the requirement requests (from versions: none)
128 1