在windows下使用运行程序时遇到如下报错:
qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: direct2d, minimal, offscreen, windows.
解决方法:
将 \Anaconda3\Lib\site-packages\PySide2\plugins\platforms\ 目录下的所有文件
复制到 \Anaconda3\Library\plugins\platforms\ 目录下,替换之前的文件即可。