카테고리 없음

오렌지3 설치 오류

@thiskorea 2023. 5. 24. 10:31

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" 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. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. 중지됨 (코어 덤프됨)

 

해결책

이 오류는 Qt를 사용하는 애플리케이션에서 종종 발생합니다. Qt 플랫폼 플러그인 "xcb"를 로드하지 못하는 문제로 보입니다. 해결방법을 몇 가지 제시해보겠습니다.

환경변수 설정: 터미널에서 다음 명령어를 실행하여 QT_QPA_PLATFORM_PLUGIN_PATH 환경변수를 설정해 보세요. 해당 환경변수는 플랫폼 플러그인을 찾기 위한 경로를 설정합니다.

export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms


이후에 Orange3를 다시 실행해 보세요.

만약 문제가 계속된다면, 다른 해결방법을 시도해봅시다.

'libxcb-xinerama0' 패키지 설치: 'libxcb-xinerama0'라는 패키지가 설치되어 있지 않을 수도 있습니다. 이 패키지를 설치해 보세요.

sudo apt-get install libxcb-xinerama0


그런 다음 다시 Orange3를 실행해보세요.

Orange3 재설치: 문제가 여전히 지속된다면, Orange3를 재설치해 보는 것도 방법입니다. Orange3를 제거한 후 다시 설치해보세요. 아래는 Orange3를 pip를 사용해 설치하는 방법입니다:

pip uninstall orange3
pip install orange3


위의 방법들이 도움이 되지 않을 경우, 시스템에 Qt 설정이 제대로 되어 있는지 확인해 보는 것이 좋습니다. 기본적으로는 'libqt5x11extras5'와 같은 필요한 패키지가 설치되어 있는지 확인해 보세요.