'Can we install and use Qt platform and its plugins in Ubuntu 20 server for HPC-AI
While running a TensorFlow based Deep learning model in Graph mode execution, I got the error:
qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/username/.conda/envs/slt/lib/python3.9/site-packages/cv2/qt/plugins" 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: xcb, eglfs, minimal, minimalegl, offscreen, vnc. Aborted (core dumped)
I am running my code on a server via a local remote host and it's a ubuntu 20 Server-based single user os. ( That is no GUI Based Desktop Manager).
What is the above error mean?
If I'm not wrong and according to my understanding, QT Platform and its plugins are not installed. So how to install the QT Platform in the ubuntu server if my assumption is correct.
If not how to solve the above error. Can anyone please help me out
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
