#3608 TaskCfgTTS(is_cuda=False, uuid='432fbcfa36', cache_folder='/Users/juzhihai/videotrans/pyvideotrans/tmp/11875/432fbcfa36'

61.221* Posted at: 1 day ago 👁22

配音阶段出错 [Qwen3-TTS(本地)] ModuleNotFoundError: No module named 'qwen_tts'
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/Users/juzhihai/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/concurrent/futures/process.py", line 246, in _process_worker

r = call_item.fn(*call_item.args, **call_item.kwargs)

File "/Users/juzhihai/videotrans/pyvideotrans/videotrans/process/tts_fun.py", line 34, 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 "/Users/juzhihai/videotrans/pyvideotrans/videotrans/task/job.py", line 213, in run

trk.dubbing()

File "/Users/juzhihai/videotrans/pyvideotrans/videotrans/task/_dubbing.py", line 51, in dubbing

self._tts()

File "/Users/juzhihai/videotrans/pyvideotrans/videotrans/task/_dubbing.py", line 221, in _tts

tts.run(

File "/Users/juzhihai/videotrans/pyvideotrans/videotrans/tts/__init__.py", line 346, in run

QwenttsLocal(**kwargs).run()

File "/Users/juzhihai/videotrans/pyvideotrans/videotrans/tts/_base.py", line 136, in run

self._exec()

File "/Users/juzhihai/videotrans/pyvideotrans/videotrans/tts/_qwenttslocal.py", line 53, in _exec

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

File "/Users/juzhihai/videotrans/pyvideotrans/videotrans/configure/_base.py", line 284, in _new_process

_rs = future.result()

File "/Users/juzhihai/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/concurrent/futures/_base.py", line 458, in result

return self.__get_result()

File "/Users/juzhihai/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result

raise self._exception

ModuleNotFoundError: No module named 'qwen_tts'
TaskCfgTTS(is_cuda=False, uuid='432fbcfa36', cache_folder='/Users/juzhihai/videotrans/pyvideotrans/tmp/11875/432fbcfa36', target_dir='/Users/juzhihai/videotrans/pyvideotrans/output/tts', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code='zh-cn', target_sub='/Users/juzhihai/Desktop/2026.srt', target_wav='/Users/juzhihai/videotrans/pyvideotrans/output/tts/2026.wav', target_wav_output=None, name='/Users/juzhihai/Desktop/2026.srt', noextname='2026', basename='2026.srt', ext='srt', dirname='/Users/juzhihai/Desktop', shound_del_name=None, tts_type=1, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Vivian', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=False)


=
system:macOS-15.0-arm64-arm-64bit
version:v3.98
frozen:False
language:zh
root_dir:/Users/juzhihai/videotrans/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]

1 Replies

这是由于 Qwen3-TTS(本地) 配音渠道所需的 Python 依赖包 qwen_tts 未安装导致的。

解决方案:

  1. 打开终端,进入你的 pyVideoTrans 源码目录(例如 /Users/juzhihai/videotrans/pyvideotrans)。
  2. 使用 uv 包管理器安装缺失的依赖。运行以下命令:
    uv add qwen-tts
  3. 安装完成后,重启 pyVideoTrans 软件,再次尝试使用 Qwen3-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