SciKit-Surgery / scikit-surgerybard

BARD: The Basic Augmented Reality Demo, used at MedICSS summer school.
https://scikit-surgerybard.readthedocs.io/
Other
7 stars 3 forks source link

Picking up wrong version of qt platform plugin #63

Closed thompson318 closed 3 years ago

thompson318 commented 3 years ago

cv2 comes with it's own xcb qt platform plugin. We get test failures if this library is used in preference to qt's version.

tests/algorithms/test_speech_interation.py::test_bardspeechinteractor qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/runner/work/scikit-surgerybard/scikit-surgerybard/.tox/py36/lib/python3.6/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.

thompson318 commented 3 years ago

installing libxkbcommon seemed to do the trick, not sure which version of xcb we're using now though. sudo apt-get install xvfb libxkbcommon-x11-0