qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
-
@austom said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:
QFactoryLoader::QFactoryLoader() looking at "/data/home/ldx022/miniconda3/envs/bio/plugins/platforms/libxcb-icccm.so.4"
QElfParser: '/data/home/ldx022/miniconda3/envs/bio/plugins/platforms/libxcb-icccm.so.4' is not an ELF object (file too small)
"'/data/home/ldx022/miniconda3/envs/bio/plugins/platforms/libxcb-icccm.so.4' is not an ELF object (file too small)"
not a pluginThank you for your reply.
You mean this section?
I have created a corresponding soft link for libxcb-icccm.so.4 to the corresponding file in the corresponding folder.But it doesn't work at all.
-
You should rather check your conda environment. That library should not be broken inside it.
-
Not the environment variables, the conda environment content itself.
-
The main issue from your picture seems that the library seems to be missing. You only have one link and not the final library itself.
-
-
Wait, the original error was that there was an issue with the library file. Now you are modifying your system installation while I am suggesting to check the content of your conda environment.
-
No, I mean you should search why your environment was corrupted rather than trying to force it working using libraires from somewhere else.
One simple way would be to create a new environment from scratch to see if you have the same issue.
-
Please stop installing system packages in your conda environment. The goal of a new environnement is to start debugging your issue from scratch.
So please, create a new environment without installing anything other than conda packages.
-
On Linux, the xcb QPA (Qt Platform Abstraction) platform plugin is used. It provides the basic functionality needed by Qt GUI and Qt Widgets to run against X11. Its library dependencies are described the following table..