python应用运行时报错,部分信息如下:
Traceback (most recent call last):
File “D:\python\EchoMimic\webgui.py”, line 15, in
from diffusers import AutoencoderKL, DDIMScheduler
File “D:\python\EchoMimic\myenv\lib\site-packages\diffusers__init__.py”, line 5, in
from .utils import (
File “D:\python\EchoMimic\myenv\lib\site-packages\diffusers\utils__init__.py”, line 38, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File “D:\python\EchoMimic\myenv\lib\site-packages\diffusers\utils\dynamic_modules_utils.py”, line 28, in
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
ImportError: cannot import name ‘cached_download’ from ‘huggingface_hub’ (D:\python\EchoMimic\myenv\lib\site-packages\huggingface_hub__init__.py)
报错说无法导入cached_download,原因是huggingface_hub新版本中没有cached_download了,所以无法导入
解决方法降低huggingface_hub版本,如降低到0.26以下
另一个方法就是修改代码删除cached_download,改成hf_hub_download
相关推荐
UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider
下载huggingface.co网站上模型文件的几种方法,包括需要登录的验证的模型
windows电脑安装DeepSpeed报错提示无法打开输入文件“aio.lib”等
TypeError: argument of type 'bool' is not iterable ERROR: Exception in ASGI application
AttributeError: module 'gradio' has no attribute 'inputs'解决方法
AttributeError: module 'gradio' has no attribute 'make_waveform'解决方法
windows电脑安装pytorch下载缓慢安装失败解决方法
ModuleNotFoundError: No module named 'cv2'
最近更新

2D图片转3D视频软件stable-virtual-camera本地电脑安装部署教程及注意问题

2D照片转3D视频软件stable-virtual-camera免安装一键启动整合包下载
本次和大家分享一个好玩实用的2D图片转3D视频软件stable-virtual-camera,支持多种相机模式,生成的3D视频效果丰富多样,适合多种使用场景,我基于当前最新版本制作了免安装一键启动整合包。 stable-virtual-ca...

AI歌曲生成软件DiffRhythm本地电脑安装部署教程及注意事项

AI歌曲创作软件DiffRhythm一键启动包,自定义风格AI谱曲演唱
DiffRhythm是首个基于扩散技术的开源音乐生成模型,能够创作完整的歌曲,包括AI谱曲,AI演唱。基于当前最新V1.2版本我制作了免安装一键启动整合包。 DiffRhythm介绍 Di♪♪Rhythm:速度惊人、简单至极、具有潜在扩散的...

表情转移对口型软件LivePortrait本地电脑安装部署教程及注意问题

漫画图片文字翻译软件manga-image-translator本地电脑安装部署教程及问题修复

字节跳动多图合成软件UNO本地电脑安装部署教程及注意问题

AI视频生成软件FramePack本地电脑安装部署教程

虚拟试衣产品设计多图合成软件UNO一键启动整合包,人物转动漫工具
UNO是字节跳动开发的一款多主体图像生成软件,解决了角色或物体一致性的问题,可用于漫画、虚拟试衣等场景。我基于当前最新版本制作了免安装一键启动整合包。 UNO介绍 UNO是一款基于扩散模型的AI图像生成工具,核心目标是解决AI生成图像时难以...

临时邮箱,一次性匿名gmail.com邮箱
有时候网站需要测试一些功能,比如注册登录等,需要用到邮箱,但是自己的邮箱有限,不能更多的测试效果,这时候就需要一些不同后缀的一次性邮箱,网上有很多这样的一次性匿名邮箱,后缀很多,非常适合测试使用,下面分享几个比较好用的临时邮箱。 Gmail...