#8063 YunjianNeural', 'filename': '/win-pyvideotrans-v4.15/tmp/27200/1791880829.70094-azure.wav', 'tts_type': 32}Traceback (mo

61.242**2 Posted at: 1 hour ago

YunjianNeural', 'filename': '/win-pyvideotrans-v4.15/tmp/27200/1791880829.70094-azure.wav', 'tts_type': 32}
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 117, in run
File "videotrans\__init__.py", line 31, 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.tts._azure'

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 Windows 预打包版内部模块缺失导致的问题(打包时遗漏了 videotrans.tts._azure 模块),并非使用配置错误。

解决方法:

  1. 下载最新版的 补丁包(v4.16 或当前最新)并覆盖到原软件目录,覆盖时必须完整覆盖所有文件和文件夹,尤其是 videotrans 整个文件夹。
  2. 若只覆盖补丁包后仍报错,请直接下载 完整版压缩包(约 2.7GB)重新解压使用。
  3. 覆盖前建议先删除旧目录 _internal 文件夹内所有 __pycache__ 缓存(可搜索并删除),避免旧缓存干扰。
  4. 覆盖后重新启动 sp.exe,再试听 Azure 配音。
若已经是最新版仍报错,说明可能是其他模块冲突,请提供软件版本号、操作系统、以及 logs/ 目录下最新日志的底部约 30 行内容,以便进一步分析。

请查阅相关文档:

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