[已解决]报错: 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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM