[已解决]报错: qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it ...

原因
在学习python界面图形PySide2,正常安装后出现报错

报错内容

qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it ...

解决

将如下文件

\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

复制(或覆盖)到这个文件夹即可

\Anaconda3\Library\plugins\platforms\

from:
https://www.jianshu.com/p/1bd2175d63bf
https://stackoverflow.com/questions/41994485/error-could-not-find-or-load-the-qt-platform-plugin-windows-while-using-matplo

posted @ 2020-08-04 11:23  hank-li  阅读(6242)  评论(0编辑  收藏  举报