语音识别阶段出错 [openai-whisper(本地)] 程序内部错误:module 'llvmlite.binding' has no attribute 'get_host_cpu_name'
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 34, in openai_whisper
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "whisper\__init__.py", line 13, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "whisper\model.py", line 14, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "whisper\transcribe.py", line 21, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "whisper\timing.py", line 7, in
File "D:\win-pyvideotrans-v3.95\_internal umba\__init__.py", line 73, in
from numba.core import configFile "D:\win-pyvideotrans-v3.95\_internal umba\core\config.py", line 585, in
_env_reloader = _EnvReloader()File "D:\win-pyvideotrans-v3.95\_internal umba\core\config.py", line 119, in init
self.reset()File "D:\win-pyvideotrans-v3.95\_internal umba\core\config.py", line 123, in reset
self.update(force=True)File "D:\win-pyvideotrans-v3.95\_internal umba\core\config.py", line 152, in update
self.process_environ(new_environ)File "D:\win-pyvideotrans-v3.95\_internal umba\core\config.py", line 389, in process_environ
ENABLE_AVX = _readenv("NUMBA_ENABLE_AVX", int, avx_default)File "D:\win-pyvideotrans-v3.95\_internal umba\core\config.py", line 183, in _readenv
return default() if callable(default) else defaultFile "D:\win-pyvideotrans-v3.95\_internal umba\core\config.py", line 379, in avx_default
cpu_name = CPU_NAME or ll.get_host_cpu_name()AttributeError: module 'llvmlite.binding' has no attribute 'get_host_cpu_name'
"""
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 272, in run
File "videotrans\recognition\_base.py", line 143, in run
File "videotrans\recognition\_overall.py", line 31, in _exec
File "videotrans\recognition\_overall.py", line 73, in _openai
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
AttributeError: module 'llvmlite.binding' has no attribute 'get_host_cpu_name'
TaskCfgSTT(is_cuda=True, uuid='3ef002e9fb', cache_folder='D:/win-pyvideotrans-v3.95/tmp/26756/3ef002e9fb', target_dir='D:/win-pyvideotrans-v3.95/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='D:/win-pyvideotrans-v3.95/output/recogn/1.01-01-Introduction(Av649823517,P1).srt', target_wav=None, target_wav_output=None, name='F:/zmm/xdhs/1.01-01-Introduction(Av649823517,P1).mp4', noextname='1.01-01-Introduction(Av649823517,P1)', basename='1.01-01-Introduction(Av649823517,P1).mp4', ext='mp4', dirname='F:/zmm/xdhs', shound_del_name=None, detect_language='en', recogn_type=1, model_name='large-v3-turbo', shibie_audio='D:/win-pyvideotrans-v3.95/tmp/26756/3ef002e9fb/1.01-01-Introduction(Av649823517,P1)-1777158147.1372137.wav', remove_noise=True, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)
=
system:Windows-10-10.0.22621-SP0
version:v3.98
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.95