#6803 Traceback (most recent call last): File

149.33.**6 Posted at: 15 hours ago

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 106, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 100, in _tts
File "videotrans\tts\__init__.py", line 228, in run
File "videotrans\tts\_base.py", line 105, in run
File "videotrans\tts\_f5tts.py", line 57, in _exec
File "pyimod02_importers.py", line 457, in exec_module
File "videotrans\process\f5_tts.py", line 23, in
File "pyimod02_importers.py", line 457, in exec_module
File "f5_tts\api.py", line 11, in

from f5_tts.infer.utils_infer import (

File "pyimod02_importers.py", line 457, in exec_module
File "f5_tts\infer\utils_infer.py", line 28, in

from transformers import pipeline

File "F:\VideoTrans\_internal\transformers\__init__.py", line 30, in

from . import dependency_versions_check

File "F:\VideoTrans\_internal\transformers\dependency_versions_check.py", line 56, in

require_version_core(deps[pkg])

File "F:\VideoTrans\_internal\transformers\utils\versions.py", line 116, in require_version_core

return require_version(requirement, hint)

File "F:\VideoTrans\_internal\transformers\utils\versions.py", line 110, in require_version

_compare_versions(op, got_ver, want_ver, requirement, pkg, hint)

File "F:\VideoTrans\_internal\transformers\utils\versions.py", line 43, in _compare_versions

raise ImportError(

ImportError: regex>=2025.10.22 is required for a normal functioning of this module, but found regex==2023.10.3.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: E:/迅雷云盘/43.末日无限迷宫:开局设计精绝古城(74集)Ai短剧/1.mp4,
输出结果保存到文件夹: E:/迅雷云盘/43.末日无限迷宫:开局设计精绝古城(74集)Ai短剧/_video_out/1-mp4,
临时文件夹: F:/VideoTrans/tmp/30880/76e6c6c544
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:openai-whisper(内置), tiny, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:简体中文,目标语言:英语, 未选 发送完整字幕
配音渠道:F5-TTS(内置), 角色:zh_female_tw.wav, 配音语言:英语, 已选 二次语音识别

[已选中 二次语音识别,但不会生效,因已选择 嵌入双字幕,需保证原始和目标字幕时间轴一致,而二次语音识别会重新生成时间轴不同的目标字幕]

音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕(双) 目标语言在上双字幕
已选 仅输出mp4
代理地址:http://127.0.0.1:10808


=
system:Windows-10-10.0.26200-SP0
version:v4.09
frozen:True
language:zh
root_dir:F:/VideoTrans

1 Replies

#1 DeepSeek reply at 15 hours ago

这是 F5-TTS 内置配音渠道的依赖版本冲突 导致的。具体原因:F5-TTS 依赖的 transformers 库要求 regex>=2025.10.22,但你当前软件环境中的 regex 版本是 2023.10.3,版本过低导致模块无法加载。

解决方案(按顺序尝试):

  1. 重新下载最新完整版并覆盖
    当前路径 F:/VideoTrans 是预打包版。请前往官网下载最新的完整版压缩包(约2.7GB,不是补丁包),解压后覆盖到 F:/VideoTrans 目录,确保所有第三方依赖(包括 regex)被正确更新。覆盖时不要删除 videotrans 目录下的 params.jsoncfg.json 配置文件,以免丢失你的设置。
  2. 换用其他配音渠道(推荐)
    如果不需要强制使用 F5-TTS 的特定音色,可直接在主界面将「配音渠道」切换为 Edge-TTSQwen3-TTS / OmniVoice 均可,无需处理依赖问题。
  3. 若必须使用 F5-TTS

    • 确认你下载的是最新 v4.10 版本,而非旧版;
    • 若仍是 v4.09,请务必将软件升级到 v4.10;
    • 升级后若问题依旧,尝试手动删除 F:/VideoTrans/_internal/regex 相关目录,再重新下载完整包覆盖。

请查阅相关文档:

Thinking...
Post Your Reply
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