#7987 :{'text': '你好啊,我亲爱的朋友,希望你的每一天都是美好愉快的!', 'role': 'zh-CN-YunjianNeural', 'filename': 'D:/aaaaa/win-pyvideotrans-v4.15/tmp/

216.167**8 Posted at: 1 hour ago

:
{'text': '你好啊,我亲爱的朋友,希望你的每一天都是美好愉快的!', 'role': 'zh-CN-YunjianNeural', 'filename': 'D:/aaaaa/win-pyvideotrans-v4.15/tmp/14560/1791793396.4805562-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'


=
system:Windows-10-10.0.22631-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:D:/aaaaa/win-pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 Windows 预打包版打包遗漏,Azure TTS 渠道模块 videotrans.tts._azure 未被打入软件包所致。

解决方法:

  1. 从 https://pyvideotrans.com/downpackage 下载最新 v4.15 补丁包;
  2. 将补丁包内所有文件(尤其是 _internal、videotrans 文件夹和 sp.exe)完整覆盖到 D:/aaaaa/win-pyvideotrans-v4.15 目录;
  3. 如果覆盖后仍报错,请删除 _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