qt.qpa.xcb: could not connect to display
redaghanem opened this issue · 1 comments
redaghanem commented
Hi, thanks for sharing your code
I get this error when try to run
!python demo.py
i use google colab
qt.qpa.xcb: could not connect to display
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.
bm1905 commented
Basically you cannot run qt in the cloud.
More description here:
https://stackoverflow.com/questions/56491808/could-not-connect-to-any-x-display-google-colab-run-time