#7353 Subprocess Error: regex>=2025.10.22 is required for a normal functioning of this module, but found regex==2023.10.3.Try:

2409**3098 Posted at: 1 hour ago

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:
{'text': '你好啊,我亲爱的朋友,希望你的每一天都是美好愉快的!', 'rate': '+0%', 'role': 'zh_female_tw.wav', 'filename': 'E:/pyvideotrans/tmp/15480/listen_voice/3-zh-cn-1789553840.8464885.wav', 'tts_type': 3, 'language': 'zh-cn', 'volume': '+0%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 233, in run
File "videotrans\tts\_base.py", line 103, in run
File "videotrans\tts\_omnivoice.py", line 41, in _exec
File "videotrans\configure\base.py", line 270, 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


=
system:Windows-10-10.0.22631-SP0
version:v4.11
frozen:True
language:zh
root_dir:E:/pyvideotrans

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 OmniVoice 配音渠道调用的 transformers 库与已安装的 regex 库版本不匹配导致的依赖冲突。

解决方案:

  1. 升级软件版本:你当前为 v4.11,此问题在 v4.12 中已通过升级 transformers 依赖得到修复。请前往官网下载最新完整包或补丁包覆盖安装。

  2. 若暂时无法升级,可尝试手动升级 regex 库(仅源码部署有效):

    uv add "regex>=2025.10.22"

    或在软件根目录执行 pip install "regex>=2025.10.22"(视部署方式而定)。

  3. 若你是预打包版(frozen:True),无法通过 pip 修复,必须升级到 v4.12 版本

请查阅相关文档:

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