#3584 尝试使用工具/选项中的“实时语音转文字”功能时报错

149.34* Posted at: 3 days ago 👁26

点击“启动实时转录”时弹出错误报告:
traceback(most recent call last)
flie “videotrans\component\realtime_stt.py”, line 396, in toggle_transcription
flie “videotrans\component\realtime_stt.py”, line 393, in check_model_exist
modulenotfounderror: no module named tools
image

没找到模组,也许我需要使用该功能时,应该额外下载一些东西?

1 Replies

该错误是由于缺少 tools 模块导致的,这是实时语音转文字功能所需的依赖项。

解决方案:

  1. 请确保你使用的是 pyVideoTrans v3.97 完整版。如果之前下载的是“补丁包”,请重新下载完整版安装包。
  2. 如果已经是完整版,请检查软件根目录下是否存在 tools 文件夹。如果缺失,可能是下载不完整,请重新下载完整版并解压。
  3. 如果问题依旧,请尝试从官方渠道重新下载最新版本的完整安装包。

参考文档:

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.

Related resource