Subprocess Error: safetensors>=0.8.0 is required for a normal functioning of this module, but found safetensors==0.4.5.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 71, in run
File "videotrans\task\_stage_recogn.py", line 64, in recogn
File "videotrans\recognition\__init__.py", line 141, in run
File "videotrans\recognition\_base.py", line 101, in run
File "videotrans\recognition\_huggingface.py", line 34, in _exec
File "videotrans\recognition\_huggingface.py", line 70, in _pipe_asr
File "videotrans\configure\base.py", line 277, in _new_process
videotrans.configure.excepts.VideoTransError: Subprocess Error: safetensors>=0.8.0 is required for a normal functioning of this module, but found safetensors==0.4.5.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main
trk=[TransCreate]: uuid='a0e9d1a277', proxy_str='http://127.0.0.1:7897', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/下载/下载视频/视频/S01E87.mp4,
输出结果保存到文件夹: D:/下载/下载视频/_video_out/S01E87-mp4,
临时文件夹: D:/下载/下载视频/win-pyvideotrans-v4.05-0711/tmp/6948/a0e9d1a277
已选 清理已存在
未启用CUDA加速
语音识别:Huggingface_ASR(内置), reazon-research/japanese-wav2vec2-large-rs35kh, 发音语言: 日语, ,
翻译渠道:DeepSeek,原始语言:日语,目标语言:简体中文, 已选 发送完整字幕, settings.get('trans_thread')=10, settings.get('aitrans_thread')=50
未选 配音角色,不进行配音
字幕: 嵌入软字幕
代理地址: http://127.0.0.1:7897, precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=3483551
=
system:Windows-10-10.0.22631-SP0
version:v4.17
frozen:True
language:zh_CN
root_dir:D:/下载/下载视频/win-pyvideotrans-v4.05-0711