使用labelme出错 You might be loading two sets of Qt binaries into the same process.

如题,使用labelme报错。
You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.

Class QMacAutoReleasePoolTracker is implemented in both /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore (0x109258978) and /usr/local/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x11aac5700). One of the two will be used. Which one is undefined.

原因是我在安装labelme时安装过qt,但在之后的opencv的安装包中也有qt,解决方法很简单,把报错中的qtcore删除就正常了。在这里插入图片描述