Unsolved qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
-
You should rather check your conda environment. That library should not be broken inside it.
-
The environment variables look like this, but I still can't find what went wrong. -
Not the environment variables, the conda environment content itself.
-
@SGaist
Sorry I misunderstood.But how to check if there is a problem with the library?
I also created soft links in it.But that doesn't seem to work -
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.
-
@SGaist
I have downloaded the .rpm file and use the following command to install it.rpm2cpio XCB util - wm - 0.4.1-5. El7. Aarch64. RPM | cpio - idvm
But I didn't instaill it in the conda.Should I install them in the conda environment?
-
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.
-
@SGaist
You mean I can't use the soft link instead of original file in the 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.
-
@SGaist I have created a new conda environment. But the problem remains unresolved.The entire process of creating an environment from scratch is as follows.
-
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..