modelscope / DiffSynth-Studio

Enjoy the magic of Diffusion models!
Apache License 2.0
6.59k stars 600 forks source link

这个怎么解决啊?ImportError: cannot import name 'hf_hub_download' from 'huggingface_hub' (D:\anaconda\envs\pytorch\Lib\site-packages\huggingface_hub\__init__.py) #108

Open memoral265 opened 4 months ago

memoral265 commented 4 months ago

File "D:\anaconda\envs\pytorch\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 589, in _run_script exec(code, module.dict) File "D:\DiffSynth-Studio-main\DiffSynth-Studio-main\pages\2_Video_Creator.py", line 3, in from diffsynth import SDVideoPipelineRunner File "D:\DiffSynth-Studio-main\DiffSynth-Studio-main\diffsynth__init.py", line 2, in from .models import * File "D:\DiffSynth-Studio-main\DiffSynth-Studio-main\diffsynth\models\init__.py", line 6, in from .downloader import download_from_huggingface, download_from_modelscope File "D:\DiffSynth-Studio-main\DiffSynth-Studio-main\diffsynth\models\downloader.py", line 1, in from huggingface_hub import hf_hub_download

求助 这是什么原因 怎么解决啊~挺急的

Artiprocher commented 4 months ago

Python 环境没有配好,请按照 README 中的信息执行必要的安装步骤