電腦重裝了一下系統,之後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\