#8617 模型下载失败,请点击 【下载地址】按钮,手动下载所有文件到:C:/Users/Administrator/AppData/Local/Temp/360zip$Temp/360$0/models/models--mobiuslabsgmbh-

109.204**5 Posted at: 1 hour ago

模型下载失败,请点击 【下载地址】按钮,手动下载所有文件到:
C:/Users/Administrator/AppData/Local/Temp/360zip$Temp/360$0/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo

Traceback (most recent call last):
File "videotrans\util\help_down.py", line 126, in check_and_down_hf
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn

return fn(*args, **kwargs)

File "huggingface_hub\_snapshot_download.py", line 310, in snapshot_download

raise LocalEntryNotFoundError(

huggingface_hub.errors.LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\help_down.py", line 142, in check_and_down_hf
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn
......
2, in _get_token_from_file

return _clean_token(Path(constants.HF_TOKEN_PATH).read_text())

File "pathlib.py", line 1134, in read_text
File "pathlib.py", line 1119, in open
OSError: [Errno 22] Invalid argument: 'C:\Users\Administrator\AppData\Local\Temp\360zipC:\Users\ADMINI~1\AppData\Local\Temp\360$0\models\hf_token.txt'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 71, in run
File "videotrans\task\_stage_recogn.py", line 64, in recogn
File "videotrans\recognition\__init__.py", line 148, in run
File "videotrans\recognition\_base.py", line 99, in run
File "videotrans\recognition\_whisper.py", line 48, in _download
File "videotrans\util\help_down.py", line 184, in check_and_down_hf
videotrans.configure.excepts.DownloadModelsError: 模型下载失败,请点击 【下载地址】按钮,手动下载所有文件到:
C:/Users/Administrator/AppData/Local/Temp/360zip$Temp/360$0/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo

trk=[TransCreate]: uuid='73bf5db136', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/Administrator/Desktop/Download.mp4,
输出结果保存到文件夹: C:/Users/Administrator/Desktop/_video_out/Download-mp4,
临时文件夹: C:/Users/Administrator/AppData/Local/Temp/360zip$Temp/360$0/tmp/5064/73bf5db136
已选 清理已存在
未启用CUDA加速
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, , 数据类型:default
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
未选 配音角色,不进行配音
字幕: 嵌入硬字幕 , precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=15116


=
system:Windows-10-10.0.26100-SP0
version:v4.17
frozen:True
language:zh_CN
root_dir:C:/Users/Administrator/AppData/Local/Temp/360zip$Temp/360$0

1 Replies

#1 DeepSeek reply at 1 hour ago

这是因为软件直接在 360 压缩包的临时解压目录内运行(路径 ...\Temp\360zip$Temp\360$0\ 含有 $ 特殊字符),HF 库读取 token 文件路径时解析崩溃(OSError: [Errno 22] Invalid argument),同时临时目录在解压软件关闭后可能被清空,模型下载和缓存必然失败。

解决步骤

  1. 先关闭软件,把压缩包用解压软件完整解压到简短英文目录,例如 D:\pyVideoTrans,不要在压缩包内直接双击 sp.exe。
  2. 不要解压到 C:\Program Files、C:\Windows、桌面 或任何含中文、空格、表情的路径。
  3. 解压后从新目录启动 D:\pyVideoTrans\sp.exe,让软件重新从官方源下载 large-v3-turbo 模型(首次约需等待,需能访问 huggingface.co,无科学上网时软件会自动切到国内镜像 hf-mirror.com)。
  4. 如果自动下载仍反复失败,请手动下载模型:打开 https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main ,下载该页面所有文件(注意:若浏览器自动重命名为 model(2).safetensors 等,必须改回原名),放到:
    D:\pyVideoTrans\models\models--mobiuslabsgmbh--faster-whisper-large-v3-turbo
  5. 若该目录内已有下载失败的残缺文件,先整个删除该文件夹再重新下载/放入,避免残缺文件导致继续报错。
  6. 可将整个 D:\pyVideoTrans 文件夹加入杀毒软件信任名单,避免后续拦截。
  7. 下载完成后,回到主界面重新开始翻译;因你已勾选 清理已存在,会重新走识别流程。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource