[Python/Anaconda3/QT 오류] This application failed to start because it could not find or load the Qt platform plugin "windows"
하ㅠㅠ 별.. 진짜.. 너무 짜증..ㅠㅠ
갑자기 spyder가 안켜져서 anaconda prompt로 이것저것 해봤는데
pip install pyside가 안됐다.
또 한참 찾아보니 파이썬 3.5 이상이면 pyside2 를 받으면 된다고한다.
그래서 받았는데 또 안돼! 대신 오류메시지가 달라졌다.
This application failed to start because it could not find or load the Qt platform plugin "windows 기타등등"
Reinstalling the application may fix this problem.
정말 엄청난 구글링과 이짓저짓.. QT_어쩌고 하는 환경변수도 설정해보고 했는데 다 안되고 얘가 됐다 흑흑흑흑....흑흑..... 진짜 힘들다..
내가 2년 전에 데이터사이언스 연습해본다고 받았던 파이썬과
오늘 Anaconda3 받으면서 같이 받아지는 파이썬 버전이 다른데 받아지면서 수정이 덜 됐었나보다. Anaconda3\Library\plugins\platforms 안의 dll파일들 마지막 수정일이 2년 전이었다. 그래서 아까 새로 받은 pyside2의 dll파일을 복사해서 붙여넣었더니 해결됐다 ㅠㅠ 흑흑흑 힘들었다..
If you are running PyQt5 and PySide2, this solved the problem for me:
Copy the following files:
\Anaconda3\Lib\site-packages\PySide2\plugins\platforms\qminimal.dll
\Anaconda3\Lib\site-packages\PySide2\plugins\platforms\qoffscreen.dll
\Anaconda3\Lib\site-packages\PySide2\plugins\platforms\qwindows.dll
to:
\Anaconda3\Library\plugins\platforms\
https://stackoverflow.com/questions/41994485/how-to-fix-could-not-find-or-load-the-qt-platform-plugin-windows-while-using-m
Comments
Post a Comment