:objc[93743]: Class QMacAutoReleasePoolTracker is implemented in both /Users/nanpuyue/build/FanselineImageToolbox/Source Code/venv/lib/python3.8/site-packages/cv2/.dylibs/QtCore (0x10dc94700) and /Users/nanpuyue/build/FanselineImageToolbox/Source Code/venv/lib/python3.8/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x11f2e10f8). One of the two will be used. Which one is undefined.
objc[93743]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /Users/nanpuyue/build/FanselineImageToolbox/Source Code/venv/lib/python3.8/site-packages/cv2/.dylibs/QtCore (0x10dc94778) and /Users/nanpuyue/build/FanselineImageToolbox/Source Code/venv/lib/python3.8/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x11f2e1170). One of the two will be used. Which one is undefined.
objc[93743]: Class KeyValueObserver is implemented in both /Users/nanpuyue/build/FanselineImageToolbox/Source Code/venv/lib/python3.8/site-packages/cv2/.dylibs/QtCore (0x10dc947a0) and /Users/nanpuyue/build/FanselineImageToolbox/Source Code/venv/lib/python3.8/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x11f2e1198). One of the two will be used. Which one is undefined.
objc[93743]: Class RunLoopModeTracker is implemented in both /Users/nanpuyue/build/FanselineImageToolbox/Source Code/venv/lib/python3.8/site-packages/cv2/.dylibs/QtCore (0x10dc947f0) and /Users/nanpuyue/build/FanselineImageToolbox/Source Code/venv/lib/python3.8/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x11f2e11e8). One of the two will be used. Which one is undefined.
QObject::moveToThread: Current thread (0x7f9a6ee1c450) is not the object’s thread (0x7f9a6efa4cb0).
安装 opencv-python-headless 代替 opencv-python:
pip3 uninstall opencv-python
pip3 install opencv-python-headless
最后成功解决
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)