Qt报错解决办法

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
相关推荐
weixin199701080168 小时前
《跨境二手ERP的3种对接模式:自研API / SaaS中间件 / 平台认证服务商,怎么选?》(附Python源码)
开发语言·python·中间件
传奇开心果编程10 小时前
【Rust入门知识点学与练】第24课:Trait 基础
开发语言·学习·rust
lqj_本人14 小时前
WinPcap 鸿蒙 PC 适配全记录:从 NPF 原始抓包到 VPN_TUN 与 libpcap 双通路
qt·华为·harmonyos
言乐616 小时前
Python加速器4跨境网络加速器
运维·服务器·开发语言·网络·python
金金计较.16 小时前
Go语言-3
java·开发语言·golang
张小凡vip17 小时前
python--爬虫--经验积累的遇到的坑
开发语言·爬虫·python
Quz17 小时前
QML StackView:三种入栈方式(Item、Component 与 URL)
qt
Wang's Blog17 小时前
Java框架快速入门: Spring Security+OAuth2之云服务集成与多因子认证设计
java·开发语言·spring
Quz17 小时前
QML StackView:入栈、出栈、替换与批量操作
qt
门思科技18 小时前
LoRaWAN 网络容量估算:一个 SX1302 网关到底能带多少设备
开发语言·网络·php