电脑重装了一下系统,之后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\