#3310 Try: `pip install transformers -U` or `pip install -e '.[dev]'` if you're working with git main

54.219* Posted at: 2 days ago 👁25

:
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "concurrent\futures\process.py", line 243, in _process_worker
File "videotrans\process\tts_fun.py", line 39, in qwen3tts_fun
File "D:\Program Files\_internal\qwen_tts\__init__.py", line 21, in

from .inference.qwen3_tts_model import Qwen3TTSModel, VoiceClonePromptItem

File "D:\Program Files\_internal\qwen_tts\inference\qwen3_tts_model.py", line 27, in

from transformers import AutoConfig, AutoModel, AutoProcessor

File "pyimod02_importers.py", line 457, in exec_module
File "transformers\__init__.py", line 27, in

from . import dependency_versions_check

File "pyimod02_importers.py", line 457, in exec_module
File "transformers\dependency_versions_check.py", line 57, in

require_version_core(deps[pkg])

File "transformers\utils\versions.py", line 117, in require_version_core

return require_version(requirement, hint)

File "transformers\utils\versions.py", line 111, in require_version

_compare_versions(op, got_ver, want_ver, requirement, pkg, hint)

File "transformers\utils\versions.py", line 44, in _compare_versions

raise ImportError(

ImportError: tokenizers>=0.22.0,

2 Replies

这是由于 Qwen-TTS (本地) 配音渠道依赖的 tokenizers 库版本不匹配导致的。软件内置的 tokenizers 版本 (0.20.1) 低于 Qwen-TTS 模块要求的版本 (>=0.22.0, <=0.23.0)。

解决方案

  1. 根据知识库 FAQ 6.7 条,如果软件版本低于 v3.97,请先升级。您的版本已是 v3.97,因此请执行下一步。
  2. 由于您是 Windows 预打包版用户,无法直接使用 pip 命令升级库。请按以下步骤操作:
    a. 前往软件官网下载最新的 完整包 (而非补丁包)。
    b. 将新下载的完整包解压到一个全新的、无中文/空格的路径(例如 D:\pyVideoTrans_new)。
    c. 将旧目录(D:\Program Files)中的 _video_out(输出文件)和 models(已下载的模型)文件夹复制到新目录中,覆盖同名文件夹。
    d. 从新目录启动 sp.exe 进行测试。

原因说明:预打包版 (frozen:True) 的所有依赖库都已封装。当内置库版本与特定功能模块(如 Qwen-TTS)的要求冲突时,需要更新整个软件包来获取兼容的库版本。

请查阅相关文档:

是不是从 huggingface 下载的,建议从百度网盘重新下载, huggingface可能不是最新

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.

Related resource