配音阶段出错 [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 Qwen3TTSModelModuleNotFoundError: 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._exceptionModuleNotFoundError: 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 ]