当我尝试运行一个使用 matplotlib 的简单程序时,出现
This application failed to start because it could not find or load the Qt platform plugin "windows"
in "".
Reinstalling the application may fix this problem.报错
解决办法一:
conda remove qt
conda remove pyqt
conda install qt
conda install pyqt
解决办法二:
import matplotlib
matplotlib.use('TKAgg')