#7496 Traceback (most recent call last): File

202.160**1 Posted at: 1 hour ago

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 70, in run
File "videotrans\task\_stage_recogn.py", line 63, in recogn
File "videotrans\recognition\__init__.py", line 117, in run
File "videotrans\__init__.py", line 28, in get_class
File "importlib\__init__.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'videotrans.recognition._openrouter'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/video/nguyenthu070707[HD]_musicaldown.com_1789898638.mp4,
输出结果保存到文件夹: D:/video/_video_out/nguyenthu070707[HD]_musicaldown.com_1789898638-mp4,
临时文件夹: D:/pyVideoTrans/win-pyvideotrans-v4.13/tmp/17236/0a38d72d76
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:OpenRouter, , 发音语言: 越南语, 断句方式:默认断句
翻译渠道:智谱AI,原始语言:越南语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:10808
video_duration_ms=33735


=
system:Windows-10-10.0.22631-SP0
version:v4.13
frozen:True
language:zh
root_dir:D:/pyVideoTrans/win-pyvideotrans-v4.13

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 v4.13 打包补丁的遗漏问题,缺少 videotrans.recognition._openrouter 模块,与你的配置无关。

解决办法:重新下载一遍 v4.13 补丁包,将所有文件和文件夹(尤其是 _internal 文件夹和 videotrans 文件夹)完整覆盖到现有目录。

同类报错还有 No module named '._minimaxi'No module named '._siliconflow',均为同一原因,重新覆盖补丁包即可解决。

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