#3906 :concurrent.futures.process._RemoteTraceback: """Traceback (most recent call last): File "concurrent\futures\process.py

150.109* Posted at: 2 hours ago 👁8

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

from .inference.qwen3_tts_model import Qwen3TTSModel, VoiceClonePromptItem

File "D:\pyvideotrans\_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 16, in

from .utils.versions import require_version, require_version_core

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

from .chat_template_utils import DocstringParsingException, TypeHintParsingException, get_json_schema

File "pyimod02_importers.py", line 457, in exec_module
File "transformers\utils\chat_template_utils.py", line 51, in

from PIL.Image import Image

File "pyimod02_importers.py", line 457, in exec_module
File "PIL\Image.py", line 103, in
ImportError: The _imaging extension was built for another version of Pillow or PIL:
Core version: 12.1.0
Pillow version: 12.1.1
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 366, in run
File "videotrans\tts\_base.py", line 138, in run
File "videotrans\tts\_qwenttslocal.py", line 53, in _exec
File "videotrans\configure\_base.py", line 285, in _new_process
File "concurrent\futures\_base.py", line 458, in result
File "concurrent\futures\_base.py", line 403, in __get_result
ImportError: The _imaging extension was built for another version of Pillow or PIL:
Core version: 12.1.0
Pillow version: 12.1.1

1 Replies

这是由于 Pillow 库版本不匹配导致的内部模块冲突。

  1. 请重新下载完整的 pyVideoTrans 软件包(而非仅升级补丁包)。
  2. 将完整包解压到一个全新的、路径中不含中文或特殊符号的目录(例如 D:\pyVideoTrans_new)。
  3. 如果您有需要保留的配置文件,可以从旧目录的 config 文件夹中复制 config.ini 到新目录的相同位置。
  4. 启动新目录中的 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.

Related resource