LetheSec / HuggingFace-Download-Accelerator

利用HuggingFace的官方下载工具从镜像网站进行高速下载。
764 stars 70 forks source link

huggingface-cli: error问题 #2

Closed zwkkk closed 9 months ago

zwkkk commented 9 months ago

export HF_HUB_ENABLE_HF_TRANSFER= 1 export HF_ENDPOINT= https://hf-mirror.com usage: huggingface-cli [] huggingface-cli: error: argument {env,login,whoami,logout,repo,lfs-enable-largefiles,lfs-multipart-upload,scan-cache,delete-cache}: invalid choice: 'download' (choose from 'env', 'login', 'whoami', 'logout', 'repo', 'lfs-enable-largefiles', 'lfs-multipart-upload', 'scan-cache', 'delete-cache')

LetheSec commented 9 months ago

试一试重新手动安装一下:

pip install -U huggingface_hub
SpursGoZmy commented 9 months ago

试一试重新手动安装一下:

pip install -U huggingface_hub

遇到了同样的问题,用这个解决了!速度真滴快!!

Modas-Li commented 7 months ago

未解决

yema2020 commented 5 months ago

未解决

chaofengc commented 2 months ago

尝试不同的python版本重新安装或许可以解决,尚不清楚原因

deapge commented 1 month ago

python 版本需要大于 3.7

shiwxyz commented 1 month ago

python 版本需要大于 3.7

执行上面的命令不行,你升级解决了吗?

buptlj commented 3 weeks ago

pip install huggingface_hub==0.17.0

lrybbbccc commented 2 weeks ago

我也经常遇到这个问题。可正常运行的版本: python==3.10.14 huggingface-hub==0.24.6