Skip to content

[BUG] 当前版本(0.9.0)debian13无法补全依赖 #88

Description

@4YStudio

问题描述

请看日志```
raceback (most recent call last):
File "webview/guilib.py", line 39, in import_gtk
File "pyimod02_importers.py", line 457, in exec_module
File "webview/platforms/gtk.py", line 28, in
ModuleNotFoundError: No module named 'gi'
2026-05-27 11:09:29 | ERROR | 窗口创建失败:
You must have either QT or GTK with Python extensions installed in order to use pywebview.

Windows: 安装 Edge WebView2
Mac: 系统 >= 10.13
Linux: apt install webkit2gtk-4.0

============================================================
错误: 窗口创建失败

窗口创建失败:
You must have either QT or GTK with Python extensions installed in order to use pywebview.

Windows: 安装 Edge WebView2
Mac: 系统 >= 10.13
Linux: apt install webkit2gtk-4.0

2026-05-27 11:09:29 | INFO | atexit cleanup triggered
2026-05-27 11:09:29 | INFO | Stopping all channels...



但是:
在 Debian 13 (Trixie) 中,官方已经完全移除了 webkit2gtk-4.0(因为它依赖于已废弃的 libsoup2),并全面转向了 webkit2gtk-4.1(基于 libsoup3)和 webkitgtk-6.0。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions