anaconda环境安装qt报错解决办法
报错:thresholdGap: 20 pointsShape: 164142
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "/home/tianhailong/anaconda3/envs/edge_algorithm/lib/python3.8/site-packages/cv2/qt/plugins"
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
解决办法:
python
udo apt-get install libxcb-xinerama0
pip install PyQt5 --force-reinstall
export QT_QPA_PLATFORM=xcb
set QT_QPA_PLATFORM=xcb