[Python] PyQt5 설치 및 (Could not find the Qt platform plugin "windows" in ") 오류 해결하기


[Python] PyQt5 설치 및 (Could not find the Qt platform plugin "windows" in ") 오류 해결하기

관련 오류 qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. PyQt5 설치하기 # "venv" 환경에서 하면 좋습니다. pip install pyqt5 pip install pyqt5-tools 윈도우의 경우 환경변수 설정 환경변수 # 시스템 환경 변수에 추가 QT_QPA_PLATFORM_PLUGIN_PATH 경로...\venv\Lib\site-packages\PyQt5\Qt\plugins\platforms # 이후 컴퓨터 재부팅 후 디버그 하게 되면 정상적으로 될겁니다....


#pyqt #pyqt5 #python

원문링크 : [Python] PyQt5 설치 및 (Could not find the Qt platform plugin "windows" in ") 오류 해결하기