KgOfHedgehogs KgOfHedgehogs - 9 months ago 22
Python Question

PyQt5 "xcb" not found

I created an app with Qt designer. When I launching my app It throws this error:

This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.
Aborted (core dumped)


Error throws then program executes this line:

app = QtWidgets.QApplication(sys.argv)


This is looks like there is some missing dependencies. How to fix this problem?

I tried to reinstall
libxcb
, but this didn't help.

P.S.: I'm using manjaro linux and python 3.5.2.

P.P.S.: I get this error then tried to launch
ipython qtconsole

Answer Source

The problem was in that I installed anaconda with sudo, and with sudo all works fine. I reinstalled anaconda without sudo and now all is ok