Python App - Xcb Plugin Fail
My setting: Python 2.7 with anaconda Recently I have installed OpenCV 3.0 and when I try to do simple image display or I want to run python samples that come with OpenCV, there is
Solution 1:
Qt5 works fine with OpenCV 3.1.0. This is what worked for me for resolving the "xcb" error.
Apparently the Anaconda qt
and pyqt
packages (v4) were shadowing the system v5 version.
If you want to work with Qt5 try removing these via:
conda remove qt
conda remove pyqt
(Ubuntu 16.04, OpenCV 3.1.0, Anaconda 4.1.1, Qt 5)
Solution 2:
Okey, I have figured it out.
During cmake I set flag -D WITH_QT=OFF
since I read somewhere that it doesnt work for Qt5.x
Post a Comment for "Python App - Xcb Plugin Fail"