#3665 TaskCfgSTT(is_cuda=True, uuid='fc629d8f91', cache_folder='/media/charlie/Tub8/Vids/pyvideotrans/tmp/150132/fc629d8f91',

104.234* Posted at: 1 day ago 👁25

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='fc629d8f91', cache_folder='/media/charlie/Tub8/Vids/pyvideotrans/tmp/150132/fc629d8f91', 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/150132/fc629d8f91/Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho]-1773776190.7226312.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 occurs because the required Python module qwen_asr is not installed in your environment.

To resolve this, you need to install the qwen_asr package. Since you are using uv on Linux, follow these steps:

  1. Install the missing package: Open a terminal in your pyVideoTrans project directory (where sp.py is located) and run the following command:

    uv add qwen_asr

    This command will add the qwen_asr package to your project's dependencies and install it.

  2. Restart the software: After the installation is complete, close and restart pyVideoTrans (run uv run sp.py again).

If the qwen_asr package is not available on PyPI or you encounter further installation issues, you may need to install it from its source repository (e.g., GitHub). In that case, consult the official documentation for Qwen-ASR for specific installation instructions.

请查阅相关文档:

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