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

报错信息:
QObject::moveToThread: Current thread (0x5651ebdaa180) is not the object’s thread (0x5651eba7e2a0).
Cannot move to target thread (0x5651ebdaa180)
解决方案:QObject::moveToThread: Current thread (***) is not the object‘s thread_第1张图片解决方案:
openCV降级
卸载pip uninstall opencv-python
安装pip install opencv-python==4.1.2.30

网上一些说法需要在前面加sudo 根据自己的环境而异 我的环境加sudo会报错

你可能感兴趣的:(tricks,ubuntu,linux,python,opencv)