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‘)”的问题
329 0
|
2月前
|
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
|
算法框架/工具
成功解决INFO: pip is looking at multiple versions of keras-preprocessing to determine which version is c
成功解决INFO: pip is looking at multiple versions of keras-preprocessing to determine which version is c
|
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
|
3月前
|
Java 开发工具 git
【Python】已解决:ERROR: No matching distribution found for JPype1
【Python】已解决:ERROR: No matching distribution found for JPype1
205 0
|
3月前
|
Java Python
【Python】已解决:ERROR: No matching distribution found for JPype
【Python】已解决:ERROR: No matching distribution found for JPype
231 0
|
5月前
ERROR: No matching distribution found for tb-nightly
ERROR: No matching distribution found for tb-nightly
187 1
|
虚拟化
成功解决Failed to execute stage ‘Setup validation’: Hardware does not support virtualization.
成功解决Failed to execute stage ‘Setup validation’: Hardware does not support virtualization.
|
11月前
|
计算机视觉 Python
ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)
ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)