#5938 Subprocess Error: cannot import name 'GGUF_CONFIG_MAPPING' from 'transformers4576.integrations' (D:\win-videotrans-2.43\

38.65* Posted at: 1 day ago

Subprocess Error: cannot import name 'GGUF_CONFIG_MAPPING' from 'transformers4576.integrations' (D:\win-videotrans-2.43\_internal\transformers4576\integrations\__init__.py):
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 207, in run
File "videotrans\tts\_base.py", line 95, in run
File "videotrans\tts\_qwenttslocal.py", line 54, in _exec
File "videotrans\configure\base.py", line 272, in _new_process
videotrans.configure.excepts.VideoTransError: Subprocess Error: cannot import name 'GGUF_CONFIG_MAPPING' from 'transformers4576.integrations' (D:\win-videotrans-2.43\_internal\transformers4576\integrations\__init__.py)


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

1 Replies

cannot import name 'GGUF_CONFIG_MAPPING' 是由于软件升级后,旧版本的 transformers 文件夹残留冲突导致的。

解决步骤:

  1. 关闭软件。
  2. 进入软件安装目录下的 _internal 文件夹(例如 D:\win-videotrans-2.43\_internal)。
  3. 删除名为 transformerstransformers4576 的文件夹。
  4. 重新下载最新完整版压缩包(2.6GB+),解压覆盖到原目录。
  5. 启动 sp.exe 即可正常使用。

参考文档:

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