#6006 Subprocess Error: module 'llvmlite.binding' has no attribute 'get_host_cpu_name'Traceback (most recent call last):

23.249* Posted at: 18 hours ago

Subprocess Error: module 'llvmlite.binding' has no attribute 'get_host_cpu_name'
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 47, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 205, in run
File "videotrans\recognition\_base.py", line 92, in run
File "videotrans\recognition\_whisper.py", line 36, in _exec
File "videotrans\recognition\_whisper.py", line 85, in _openai
File "videotrans\configure\base.py", line 272, in _new_process
videotrans.configure.excepts.VideoTransError: Subprocess Error: module 'llvmlite.binding' has no attribute 'get_host_cpu_name'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/Windows Downloads 2/_video_out/Dark Knight Director Christopher Nolan on ‘Oppenheimer’ I Summit Series with Ari Melber_1080p.mp4,
输出结果保存到文件夹: E:/win-pyvideotrans-v3.91_20251220_225815/Dark Knight Director Christopher Nolan on ‘Oppenheimer’ I Summit Series with Ari Melber_1080p-mp4,
临时文件夹: E:/win-pyvideotrans-v3.91_20251220_225815/tmp/42980/fa16dd5c21
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:openai-whisper(本地内置), model_name: large-v3, 发音语言: 英语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: 嵌入软字幕(双) 目标语言在上双字幕
代理地址:http://127.0.0.1:7897


=
system:Windows-10-10.0.26200-SP0
version:v4.06
frozen:True
language:zh
root_dir:E:/win-pyvideotrans-v3.91_20251220_225815

1 Replies

这是 llvmlite 库版本与当前运行环境不兼容导致的错误,get_host_cpu_name 属性在较新版本中已被移除或改名,常见于 openai-whisper 在子进程中加载 torch/numba 时触发。

解决方案(按优先级顺序尝试)

  1. 重新下载并覆盖完整版
    打开 官方下载页面,下载 2.6GB 的完整压缩包(不要用补丁包),解压到纯净英文路径(如 D:\pyVideoTrans)后直接运行 sp.exe,不要覆盖旧版。
  2. 切换语音识别渠道
    在软件主界面将「语音识别」改为 faster-whisper(本地内置),模型选择 large-v3,该渠道不依赖 openai-whisper 的依赖链,可避开此错误。
  3. 检查杀毒软件与文件完整性
    若步骤1无效,请将软件根目录加入杀毒软件/Windows Defender 白名单,然后重新解压完整包。

如果仍无法解决,请提供 logs/ 目录下最新日志文件的完整内容(复制约30行)以便进一步分析。

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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource