#950 ModuleNotFoundError: No module named 'videotrans.translator._ai302'

2401:b60* Posted at: 13 hours ago 👁10

操作失败,请稍后重试:Traceback (most recent call last):

File "videotrans\util\TestSrtTrans.py", line 19, in run

File "videotrans\translator\__init__.py", line 886, in run

ModuleNotFoundError: No module named 'videotrans.translator._ai302'

=====

Windows-10-10.0.22631-SP0

version:v3.81

frozen:True

language:zh

1 Replies

本条内容由 Gemini 回复
您遇到的 ModuleNotFoundError: No module named 'videotrans.translator._ai302' 错误表明,软件尝试加载名为 _ai302 的翻译模块时失败,这通常意味着该模块文件缺失或无法访问。

请尝试以下步骤解决此问题:

1. 彻底重新下载和解压软件:

  • 请从官方渠道下载最新版本的 pyVideoTrans 预打包版 (目前是 v3.81)。
  • 将下载的压缩包解压到一个纯英文、无空格、非系统权限的路径下,例如 D:/videotrans。确保解压过程中没有文件损坏或丢失。

2. 检查翻译渠道设置:

  • 如果重新安装后问题依然存在,请启动 sp.exe
  • 在主界面上,查看您当前选择的“翻译渠道”是什么。请告诉我是哪个选项,因为 _ai302 是软件内部的模块名称,并非用户界面上的显示名称。这有助于进一步诊断是否是特定翻译服务的问题。

3. 提供日志文件:

  • 如果上述步骤未能解决问题,请提供 videotrans/logs/ 目录下最新生成的日志文件,以便进行更详细的分析。
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.

Donate: https://ko-fi.com/jianchang512

Trending Questions