#7536 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/tiktok-1790033285316.mp4,
输出结果保存到文件夹: D:/video/_video_out/tiktok-1790033285316-mp4,
临时文件夹: D:/pyVideoTrans/tmp/13736/7a2312abcc
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:OpenRouter, , 发音语言: 越南语, 断句方式:默认断句
翻译渠道:OpenRouter,原始语言:越南语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕
代理地址:http://127.0.0.1:10808
video_duration_ms=13203


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

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 v4.13 打包时遗漏了部分渠道模块文件导致的,videotrans/recognition/_openrouter.py 等文件未打入补丁包。

解决方法:重新下载 v4.13 补丁包,完整覆盖到软件目录(确保所有文件和文件夹都覆盖,尤其 _internal 文件夹、videotrans 文件夹和 sp.exe)。

若覆盖后仍报同类错误(如 ._minimaxi._siliconflow),请进入旧版本的 _internal 文件夹内搜索 __pycache__,将其全部删除,再重新覆盖补丁包。

请查阅相关文档:

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