#3664 TaskCfgSTT(is_cuda=True, uuid='a12b026d21', cache_folder='/media/charlie/Tub8/Vids/pyvideotrans/tmp/149271/a12b026d21',

104.234* Posted at: 1 day ago 👁29

ASR Error [Qwen-ASR(Local)] ModuleNotFoundError: No module named 'qwen_asr'
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/charlie/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/concurrent/futures/process.py", line 246, in _process_worker

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

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/process/stt_fun.py", line 806, in qwen3asr_fun

from qwen_asr import Qwen3ASRModel

ModuleNotFoundError: No module named 'qwen_asr'
"""

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

Traceback (most recent call last):
File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/task/job.py", line 105, in run

trk.recogn()

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/task/_speech2text.py", line 159, in recogn

raw_subtitles = run(

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/recognition/__init__.py", line 243, in run

return QwenasrlocalRecogn(**kwargs).run()

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/recognition/_base.py", line 143, in run

res = self._exec()

File "/media/charlie/Tub8/Vids/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 "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/configure/_base.py", line 285, in _new_process

_rs = future.result()

File "/home/charlie/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/concurrent/futures/_base.py", line 458, in result

return self.__get_result()

File "/home/charlie/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result

raise self._exception

ModuleNotFoundError: No module named 'qwen_asr'
TaskCfgSTT(is_cuda=True, uuid='a12b026d21', cache_folder='/media/charlie/Tub8/Vids/pyvideotrans/tmp/149271/a12b026d21', target_dir='/media/charlie/Tub8/Vids/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='/media/charlie/Tub8/Vids/pyvideotrans/output/recogn/Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho].srt', target_wav=None, target_wav_output=None, name='/media/charlie/Tub8/Books/Magick/Videos/Sefer_Yetzirah_Spanish/Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho].mp4', noextname='Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho]', basename='Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho].mp4', ext='mp4', dirname='/media/charlie/Tub8/Books/Magick/Videos/Sefer_Yetzirah_Spanish', shound_del_name=None, detect_language='es', recogn_type=2, model_name='1.7B', shibie_audio='/media/charlie/Tub8/Vids/pyvideotrans/tmp/149271/a12b026d21/Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho]-1773775806.7450163.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)


=
system:Linux-6.8.0-94-generic-x86_64-with-glibc2.35
version:v3.98
frozen:False
language:en
root_dir:/media/charlie/Tub8/Vids/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:42:18) [Clang 21.1.4 ]

1 Replies

The error is caused by the missing qwen_asr Python module required for the Qwen-ASR (Local) speech recognition channel.

To resolve this, you need to install the qwen-asr package. Since you are using a source deployment on Linux with uv, follow these steps:

  1. Activate your project environment (if using uv in a virtual environment).
  2. Install the package by running the following command in your terminal:

    uv add qwen-asr

    or, if you prefer using pip within the uv environment:

    uv run pip install qwen-asr
  3. Restart the pyVideoTrans application (uv run sp.py).

After installation, the Qwen-ASR (Local) channel should function correctly.

请查阅相关文档:

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