语音识别阶段出错 [Qwen-ASR(本地)] ModuleNotFoundError: No module named 'qwen_asr'
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Users\Leo Fan\AppData\Roaming\uv\python\cpython-3.10.19-windows-x86_64-none\lib\concurrent\futures\process.py", line 246, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)File "C:\pyvideotrans\videotrans\process\stt_fun.py", line 806, in qwen3asr_fun
from qwen_asr import Qwen3ASRModelModuleNotFoundError: No module named 'qwen_asr'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\pyvideotrans\videotrans\task\job.py", line 105, in run
trk.recogn()File "C:\pyvideotrans\videotrans\task\_speech2text.py", line 159, in recogn
raw_subtitles = run(File "C:\pyvideotrans\videotrans\recognition\__init__.py", line 259, in run
return QwenasrlocalRecogn(**kwargs).run()File "C:\pyvideotrans\videotrans\recognition\_base.py", line 143, in run
res = self._exec()File "C:\pyvideotrans\videotrans\recognition\_qwenasrlocal.py", line 48, in _exec
jsdata=self._new_process(callback=qwen3asr_fun,title=title,is_cuda=self.is_cuda,kwargs=kwargs)File "C:\pyvideotrans\videotrans\configure\_base.py", line 285, in _new_process
_rs = future.result()File "C:\Users\Leo Fan\AppData\Roaming\uv\python\cpython-3.10.19-windows-x86_64-none\lib\concurrent\futures\_base.py", line 458, in result
return self.__get_result()File "C:\Users\Leo Fan\AppData\Roaming\uv\python\cpython-3.10.19-windows-x86_64-none\lib\concurrent\futures\_base.py", line 403, in __get_result
raise self._exceptionModuleNotFoundError: No module named 'qwen_asr'
TaskCfgSTT(is_cuda=True, uuid='f3fddebb3c', cache_folder='C:/pyvideotrans/tmp/52228/f3fddebb3c', target_dir='C:/SOFT/pyvideotrans/output/recogn', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='C:/SOFT/pyvideotrans/output/recogn/R_MIC_260405-124558.srt', target_wav=None, target_wav_output=None, name='K:/26404-411/R_MIC_260405-124558.mp3', noextname='R_MIC_260405-124558', basename='R_MIC_260405-124558.mp3', ext='mp3', dirname='K:/26404-411', shound_del_name=None, detect_language='zh-cn', recogn_type=2, model_name='1.7B', shibie_audio='C:/pyvideotrans/tmp/52228/f3fddebb3c/R_MIC_260405-124558-1776391035.7747345.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)
=
system:Windows-10-10.0.22631-SP0
version:v3.99
frozen:False
language:zh
root_dir:C:/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:37:08) [MSC v.1944 64 bit (AMD64)]