his application failed to start because it could not find or load the Qt platform plugin "windows"

電腦重裝了一下系統,之後anaconda中的PySide 就不好使了一直報下面錯誤。

his application failed to start because it could not find or load the Qt platform plugin “windows”
Reinstalling the application may fix this problem.

按照提示重裝了一下發現不行。於是去網上搜。試了一大堆方法最後終於成功了。

方法

If installed PyQt5 and PySide2, I solved problem

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\

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章