파이썬 코드 실행시 다음과 같은 에러가 발생했다.
u.so: cannot open shared object file: No such file or directory
warn(f"Failed to load image Python extension: {e}")
QObject::moveToThread: Current thread (0x564263947640) is not the object's thread (0x564268332560).
Cannot move to target thread (0x564263947640)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/stans/anaconda3/envs/keti-gui-3d/lib/python3.9/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: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.
Aborted (core dumped)
그 경우 아래 방법으로 해결된다.
pip uninstall opencv-python
pip install opencv-python-headless
감사합니다ㅠㅠㅠㅠ