#5065 ModuleNotFoundError: No module named 'qwen_tts'

111.16* Posted at: 8 hours ago

:
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Users\致初春小天使\AppData\Roaming\uv\python\cpython-3.10.19-windows-x86_64-none\lib\multiprocessing\pool.py", line 125, in worker

result = (True, func(*args, **kwds))

File "H:\pyvideotrans-4.00\videotrans\process\tts_fun.py", line 30, in qwen3tts_fun

from qwen_tts import Qwen3TTSModel

ModuleNotFoundError: No module named 'qwen_tts'
"""

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

Traceback (most recent call last):
File "H:\pyvideotrans-4.00\videotrans\util\ListenVoice.py", line 16, in run

tts.run(

File "H:\pyvideotrans-4.00\videotrans\tts\__init__.py", line 181, in run

return _cls(**kwargs).run()  # type:ignore

File "H:\pyvideotrans-4.00\videotrans\tts\_base.py", line 90, in run

self._exec()

File "H:\pyvideotrans-4.00\videotrans\tts\_qwenttslocal.py", line 46, in _exec

self._new_process(callback=qwen3tts_fun,title=title,is_cuda=self.is_cuda,kwargs=kwargs)

File "H:\pyvideotrans-4.00\videotrans\configure\base.py", line 238, in _new_process

data,err = future.result()

File "H:\pyvideotrans-4.00\videotrans\process\signelobj.py", line 13, in result

return self.async_result.get(timeout=timeout)

File "C:\Users\致初春小天使\AppData\Roaming\uv\python\cpython-3.10.19-windows-x86_64-none\lib\multiprocessing\pool.py", line 774, in get

raise self._value

ModuleNotFoundError: No module named 'qwen_tts'


=
system:Windows-10-10.0.19045-SP0
version:v4.00
frozen:False
language:zh
root_dir:H:/pyvideotrans-4.00
Python: 3.10.19 (main, Oct 28 2025, 12:01:56) [MSC v.1944 64 bit (AMD64)]

1 Replies

Qwen-TTS 插件未安装。源码部署时该模块默认不包含,需要手动安装。

解决方案:

  1. 打开命令行(CMD),进入软件根目录(H:/pyvideotrans-4.00)。
  2. 执行以下任一命令(推荐第一条):

    • 单独安装:uv sync --extra qwentts
    • 安装所有可选依赖:uv sync --all-extras
  3. 等待安装完成,重新启动软件即可。

如果不需要使用 Qwen-TTS,请切换至其他配音渠道(如 Edge-TTS 或 VITS 等)以避免此错误。

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. Dondate: ko-fi.com/jianchang512

Related resource

Similar issues already exist