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

58.48* Posted at: 1 hour 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 91, 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]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: E:/ICT VIP/ICT Forex - Market Maker Primer Course-20250817T085822Z-1-001/ICT Forex - Market Maker Primer Course/ICT Forex - 4 The ICT Asian Killzone .mp4,
输出结果保存到文件夹: E:/ICT VIP/ICT Forex - Market Maker Primer Course-20250817T085822Z-1-001/ICT Forex - Market Maker Primer Course/_video_out/ICT Forex - 4 The ICT Asian Killzone -mp4,
临时文件夹: D:/pyvideotrans/win-pyvideotrans-v4.03/tmp/11476/430498b49b
未选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:openai-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:LLM重新断句
翻译渠道:OpenAI ChatGPT,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunjian(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入硬字幕(双) 目标语言在上双字幕
代理地址:


=
system:Windows-10-10.0.19045-SP0
version:v4.06
frozen:True
language:zh
root_dir:D:/pyvideotrans/win-pyvideotrans-v4.03

1 Replies

这是由于 llvmlite 库版本与当前环境不兼容导致的依赖错误,通常发生于补丁包覆盖了完整版或依赖文件被损坏。

解决方案

  1. 重新下载完整版压缩包(约2.6GB),解压到全新的全英文路径(例如 D:\pyVideoTrans),不要使用补丁包覆盖。
  2. 如果仍想使用 openai-whisper,请在语音识别渠道中切换为 faster-whisper(本地内置) 并选择 large-v3 模型,可绕过该依赖问题。
  3. 若问题依旧,请删除 videotrans/ 下的 cfg.jsonparams.json 等配置文件,让软件恢复初始状态后重试。

请查阅相关文档:

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