记报错This application failed to start because it could not find or load the Qt platform plugin “window”. Reinstalling the application may fix this problem.Reinstarlling的解决方案
今天在使用matplotlib画图时遇到这个报错,原因是Anaconda环境中没有安装pyqt5的库,打开命令窗口输入pip list
确认是否有该库,没有的话输入pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt5
下载后重启,运行成功。