objc[13122]: Class QMacAutoReleasePoolTracker is implemented in both /usr/local/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x117007700) and /usr/local/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x12f986030). One of the two will be used. Which one is undefined.
之前程序运行一直正常,今天安装了opencv-contrib-python包后就显示上述问题,意思就是现在有两个QtCore,程序不知道使用哪一个,有没有大神出来指点一下。
我安装opencv-contrib-python的原因是 cv2.face.LBPHFaceRecognizer_create()抛出异常,网上说是需要安装opencv-contrib-python包。