Class RunLoopModeTracker is implemented in both /Users/user/anaconda3/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x11015b7f0) and /Users/user/anaconda3/lib/libQt5Core.5.9.7.dylib (0x123fe4a80). One of the two will be used. Which one is undefined.
QObject::moveToThread: Current thread (0x7fce73539d20) is not the object's thread (0x7fce736b90a0).
Cannot move to target thread (0x7fce73539d20)
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.
qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
위와같은 문제로 파이썬 opencv 파일이 실행 되지않았습니다.
해외 검색을 통해보니 다양한 해결방법이나오고 그 해결방법이 하나로 모여지지 않아 굉장히 당황했습니다.
이와 같은 에러는 저는 conda와 pip에 깔려있는 opencv를 전부지우고 다시 설치하면서 해결하였습니다.
conda uninstall opencv-python
pip uninstall opencv
와 같이 가능한 모든 opencv를 지우시고 다시 맨처음부터
conda install opencv 와같이 라이브 러리를 설치해보세요.
저는 이방법으로 해결했습니다.
감사합니다.
Available platform plugins are: cocoa, minimal, offscreen.
Abort trap: 6
'IT관련 정보' 카테고리의 다른 글
[0장]라즈베리파이4 얼굴추적 얼굴인식 트래킹 구현준비 (1) | 2020.04.14 |
---|---|
라즈베리파이 opencv -215 assertion faild error 'cv::resize' 에러 해결법 (0) | 2020.04.09 |
인벤터 스케치 z축 이동, 복사 2d 스케치 3d로 (0) | 2019.12.12 |
맥북프로 15인치 2012 ~ 2019년까지 CPU모음. (3) | 2019.05.01 |
맥북프로 2012 mid 레티나 15인치 청소+곰써멀구리스 재도포 후기 (1) | 2019.04.21 |
댓글