[已解決]報錯: 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