#4386 TaskCfgSTT(is_cuda=True, uuid='aa9e13113a', cache_folder='E:/haokang/win-pyvideotrans-v3.91_20251220_225815/tmp/10568/aa

34.177* Posted at: 3 hours ago 👁13

语音识别阶段出错 [Qwen-ASR(本地)] ModuleNotFoundError: No module named 'qwen_asr'
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "concurrent\futures\process.py", line 246, in _process_worker
File "videotrans\process\stt_fun.py", line 806, in qwen3asr_fun
ModuleNotFoundError: No module named 'qwen_asr'
"""

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

Traceback (most recent call last):
File "videotrans\task\job.py", line 105, in run
File "videotrans\task\_speech2text.py", line 159, in recogn
File "videotrans\recognition\__init__.py", line 259, in run
File "videotrans\recognition\_base.py", line 143, in run
File "videotrans\recognition\_qwenasrlocal.py", line 48, 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_asr'
TaskCfgSTT(is_cuda=True, uuid='aa9e13113a', cache_folder='E:/haokang/win-pyvideotrans-v3.91_20251220_225815/tmp/10568/aa9e13113a', target_dir='E:/haokang/win-pyvideotrans-v3.91_20251220_225815/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='E:/haokang/win-pyvideotrans-v3.91_20251220_225815/output/recogn/TR06_お姉ちゃんのASMR気持ちよすぎ…っ!.srt', target_wav=None, target_wav_output=None, name='E:/haokang/asmr/RJ01531826/本編/TR06_お姉ちゃんのASMR気持ちよすぎ…っ!.wav', noextname='TR06_お姉ちゃんのASMR気持ちよすぎ…っ!', basename='TR06_お姉ちゃんのASMR気持ちよすぎ…っ!.wav', ext='wav', dirname='E:/haokang/asmr/RJ01531826/本編', shound_del_name=None, detect_language='ja', recogn_type=2, model_name='1.7B', shibie_audio='E:/haokang/win-pyvideotrans-v3.91_20251220_225815/tmp/10568/aa9e13113a/TR06_お姉ちゃんのASMR気持ちよすぎ…っ!-1777748512.5026238.wav', remove_noise=False, enable_diariz=True, nums_diariz=0, rephrase=0, fix_punc=False)


=
system:Windows-10-10.0.22621-SP0
version:v3.98
frozen:True
language:zh
root_dir:E:/haokang/win-pyvideotrans-v3.91_20251220_225815

1 Replies

这是由于软件缺少 qwen_asr 模块,通常是因使用了不完整的补丁包或环境损坏导致的。

解决方案:

  1. 重新下载最新完整版:前往 pyvideotrans.com/downpackage 获取 v3.99 完整软件包(.7z 压缩包),不要只下载补丁。
  2. 正确解压:将完整包解压到非系统盘、无中文和特殊符号的路径(例如 D:\pyVideoTrans),不要直接覆盖到旧版本文件夹。
  3. 清理旧缓存:在解压后的新软件目录中,勾选“清理已生成”选项,确保不使用旧缓存。
  4. 临时替代方案:在问题未解决前,可将“语音识别渠道”改为 faster-whisper(本地) 并选择模型 large-v3(需 NVIDIA 显卡 + CUDA 加速,或内存 ≥16G)。
注:Qwen-ASR(本地) 第一次使用需自动下载模型文件,如网络不畅可参照 在线下载AI模型失败的解决办法 手动部署。

请查阅相关文档:

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