小龟老师

关注

Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, of

小龟老师

关注

阅读 202

2022-05-16


pycharm使用pyqt5

错误 :

Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, of

解决办法

开头加入

envpath = '/data/xx/xx/venv/lib/python3.6/site-packages/cv2/qt/plugins/platforms'
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = envpath

Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, of_javascript

亲测可用

参考:




相关推荐

西红柿上校

qt.qpa.plugin:Could not load the Qt platform plugin “xcb“

西红柿上校 50 0 0

Soy丶sauce

Qt程序报错:could not find or load the Qt platform plugin “xcb“ in ““.

Soy丶sauce 144 0 0

中间件小哥

解决This application failed to start because cannot find or load the qt platform plugin 'xcb'

中间件小哥 84 0 0

心智的年轮

IntelliJ Platform-Plugins-获取类相关信息(PsiClass)

心智的年轮 195 0 0

小时候是个乖乖

Ubuntu 22.04中解决Could not load the Qt platform plugin “xcb“问题解决方法

小时候是个乖乖 26 0 0

闲鱼不咸_99f1

pycharm使用matplotlib画图出错failed to start because it could not find or load the Qt platform plugins...

闲鱼不咸_99f1 106 0 0

秀妮_5519

解决Ubuntu系统安装QT出错的问题:qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it

秀妮_5519 86 0 0

精彩评论(0)

0 0 举报