#4028 : concurrent.futures.process._RemoteTraceback: """ Traceback (most recent call last): File "concurrent\futures\proces

95.85* Posted at: 7 hours ago 👁27

:
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "concurrent\futures\process.py", line 246, in _process_worker
File "videotrans\process\tts_fun.py", line 34, in qwen3tts_fun
ModuleNotFoundError: No module named 'qwen_tts'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 380, in run
File "videotrans\tts\_base.py", line 137, in run
File "videotrans\tts\_qwenttslocal.py", line 53, in _exec
File "videotrans\configure\_base.py", line 285, in _new_process
File "concurrent\futures\_base.py", line 458, in result
File "concurrent\futures\_base.py", line 403, in __get_result
ModuleNotFoundError: No module named 'qwen_tts'


=
system:Windows-10-10.0.19045-SP0
version:v3.98
frozen:True
language:zh
root_dir:A:/BaiduNetdiskDownload/py

1 Replies

这是由于使用了 Qwen-TTS(本地) 配音渠道,但软件环境中缺少必要的 qwen_tts 依赖模块。

解决方案:

  1. 切换配音渠道:在软件主界面的“配音渠道”中,暂时切换到其他可用的渠道,例如免费的 Edge-TTS(免费) 或已配置好的其他 TTS 服务。
  2. 安装缺失模块:如果您必须使用 Qwen-TTS(本地),需要手动安装其依赖。由于您使用的是 Windows 预打包版(sp.exe),通常无法直接通过 pip 安装。请按照以下步骤操作:

    • 前往 Qwen-TTS 官方项目页面(如 https://github.com/QwenLM/Qwen-TTS)查看其安装要求。
    • 通常,您需要在一个独立的 Python 环境中,使用 pip install qwen-tts 命令来安装该模块。
    • 安装后,您需要确保 pyVideoTrans 能调用到这个环境。对于预打包版,这通常比较复杂,可能需要您改用 源码部署 方式运行软件,并在该环境中安装所有依赖(包括 qwen-tts)。
  3. 使用替代方案:考虑使用其他支持本地部署且集成更完善的 TTS 渠道,例如 F5-TTSGPT-SoVITSCosyVoice。这些渠道在知识库中有独立的部署和配置指南。

建议:
对于大多数用户,最简单的解决方法是执行第1步,暂时更换配音渠道以完成当前任务。如果您不熟悉 Python 环境管理,不建议强行安装 qwen_tts 模块到预打包版中。

请查阅相关文档:

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