You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive the following error when trying to run the basic setup of pywebview. I already have python3-gi, libweb2kitgtk-4.1-0, libweb2kitgtk-4.1-dev and libweb2kitgtk-4.1 installed. I also have all the other dependencies installed.
[pywebview] GTK cannot be loaded
Traceback (most recent call last):
File "/media/vaidik/Projects/aegis/.venv/lib/python3.12/site-packages/webview/guilib.py", line 37, in import_gtk
import webview.platforms.gtk as guilib
File "/media/vaidik/Projects/aegis/.venv/lib/python3.12/site-packages/webview/platforms/gtk.py", line 21, in<module>
import gi
ModuleNotFoundError: No module named 'gi'
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb"in"" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
aes219
changed the title
ModuleNotFoundError: No module named 'gi
ModuleNotFoundError: No module named 'gi'
May 22, 2024
Specification
Description
I receive the following error when trying to run the basic setup of pywebview. I already have
python3-gi
,libweb2kitgtk-4.1-0
,libweb2kitgtk-4.1-dev
andlibweb2kitgtk-4.1
installed. I also have all the other dependencies installed.The text was updated successfully, but these errors were encountered: