#8825 配音阶段出错 [OmniVoice(内置)] Subprocess Error: regex>=2025.10.22 is required for a normal functioning of this module, but foun

216.152**9 Posted at: 10 hours ago

配音阶段出错 [OmniVoice(内置)] Subprocess Error: 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
Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 155, in process_task

File "videotrans\task\dubbing.py", line 53, in dubbing

File "videotrans\task\dubbing.py", line 207, in _tts

File "videotrans\tts\__init__.py", line 132, in run

File "videotrans\tts\_base.py", line 98, in run

File "videotrans\tts\_omnivoice.py", line 42, in _exec

File "videotrans\configure\base.py", line 277, in _new_process

videotrans.configure.excepts.VideoTransError: Subprocess Error: 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
trk=[DubbingSrt]: uuid='fa2d1d95be', proxy_str='http://127.0.0.1:8800', cfg=[TaskCfgTTS]
原始输入文件名: E:/huan/tmp/12644/20261117-161511.txt,
输出结果保存到文件夹: E:/huan/output/tts,
临时文件夹: E:/huan/tmp/12644/fa2d1d95be
已启用CUDA加速
配音渠道:OmniVoice(内置), 角色:en_female_1.wav, 配音语言:th
音量:+10%, 语速:+9%, 未选 音频加速
未选 移除字幕间空隙, 未选 强制对齐字幕和声音
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
代理地址:http://127.0.0.1:8800, precent=1, hasend=False, should_recogn=False, should_trans=False, should_dubbing=True, should_hebing=False, out_ext='mp3', is_multi_role=False, ignore_align=False, output_folder=None, subs=[]


=
system:Windows-10-10.0.19045-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:E:/huan

1 Replies

#1 DeepSeek reply at 10 hours ago

这是更新补丁包覆盖不完整导致的依赖版本残留问题——你当前的 _internal 目录里 regex 仍是旧版 2023.10.3,而 OmniVoice 所依赖的 transformers 要求 regex>=2025.10.22。这与 OmniVoice 本身无关,任何内置渠道都会报同类错误。

解决步骤:

  1. 重新下载 当前版本(v4.16 或最新)的完整补丁包,解压后把其中所有文件和文件夹整体覆盖到软件目录(E:/huan),特别注意必须覆盖 _internal 文件夹和 videotrans 文件夹,不能只覆盖 sp.exe。
  2. 若覆盖后仍报同样的版本过低错误,说明存在 Python 字节码缓存:打开 E:/huan/_internal 文件夹,在搜索框搜索 __pycache__,把搜索到的所有 __pycache__ 文件夹和文件全部删除,然后再重新覆盖一遍补丁包。
  3. 若仍无法解决,直接下载 2.7GB 左右的完整主程序包(不是 260MB 补丁包)重新全量解压,配置文件 videotrans/params.json、videotrans/cfg.json 可保留覆盖,不会丢失你的设置。

补充提示:

  • 报错日志中显示 代理地址:http://127.0.0.1:8800,如果你当前并未运行该端口的代理服务,请将主界面「网络代理」文本框清空,否则后续在线配音/翻译渠道也会因此失败。
  • 另外你的配音语言是泰语(th),提醒:OmniVoice 支持多语言,但泰语配音质量以实际试听为准。

请查阅相关文档:

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