python安装gradio
本文介绍了如何使用pip3安装指定版本的gradio(4.44.1)和gradio-client(1.3.0)。建议通过阿里云镜像源加速下载,避免网络问题。安装命令格式为:pip install package==version -i 镜像源URL --trusted-host,其中镜像源使用阿里云地址。这种方法既能确保安装指定版本,又能提高下载速度。
·
1、安装指定版本(4.44.1 和 1.3.0)
直接通过 pip3 安装目标版本,建议加上镜像源加速(避免网络问题):
# 安装 gradio 4.44.1 和 gradio-client 1.3.0(用阿里云镜像源)
pip install gradio==4.44.1 gradio-client==1.3.0 -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
更多推荐
所有评论(0)