原因
在學習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
