TeamISLAND-public / SW_AlphaPose

It is a first project of making demo type which is included with several GUI programming and also computer vision technology to make sure that user feels comfortable with editing and decorating their effects
Apache License 2.0
1 stars 2 forks source link

main_gui.py is not executed in mac #45

Open kdh0324 opened 4 years ago

kdh0324 commented 4 years ago
objc[1043]: Class QMacAutoReleasePoolTracker is implemented in both /Users/kimdaeho/ZZAZZ/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x101f71060) and /Users/kimdaeho/ZZAZZ/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x12daf0700). One of the two will be used. Which one is undefined.
objc[1043]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /Users/kimdaeho/ZZAZZ/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x101f710d8) and /Users/kimdaeho/ZZAZZ/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x12daf0778). One of the two will be used. Which one is undefined.
objc[1043]: Class KeyValueObserver is implemented in both /Users/kimdaeho/ZZAZZ/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x101f71100) and /Users/kimdaeho/ZZAZZ/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x12daf07a0). One of the two will be used. Which one is undefined.
objc[1043]: Class RunLoopModeTracker is implemented in both /Users/kimdaeho/ZZAZZ/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (0x101f71150) and /Users/kimdaeho/ZZAZZ/lib/python3.7/site-packages/cv2/.dylibs/QtCore (0x12daf07f0). One of the two will be used. Which one is undefined.
QObject::moveToThread: Current thread (0x7f8168804cd0) is not the object's thread (0x7f816b808480).
Cannot move to target thread (0x7f8168804cd0)

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 "/Users/kimdaeho/ZZAZZ/lib/python3.7/site-packages/cv2/qt/plugins" 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.

Available platform plugins are: cocoa, minimal, offscreen, webgl.

zsh: abort      python main_gui.py

This is code in terminal when I execute "python main_gui.py"

SangbumChoi commented 4 years ago

일단은 제가 맥 terminal이 아니라서 그 부분에 대한 해결은 같이 하는데 테스트는 대호님밖에 안될것 같아요 참고로 우분투에서는 몇번의 시도끝에 성공한 적은 있습니다

kdh0324 commented 4 years ago

https://github.com/canonical/multipass/issues/1248