解决方案:QObject::moveToThread: Current thread (***) is not the

报错信息:
QObject::moveToThread: Current thread (0x5651ebdaa180) is not the object’s thread (0x5651eba7e2a0).
Cannot move to target thread (0x5651ebdaa180)
在这里插入图片描述解决方案:
openCV降级
卸载pip uninstall opencv-python
安装pip install opencv-python==4.1.2.30

网上一些说法需要在前面加sudo 根据自己的环境而异 我的环境加sudo会报错
返回列表
Python问题QObject::moveToThread...Cannot move to target thread

dawei

【声明】:石嘴山站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。