matplotlib.pyplot报错的一种解决方案

在用matplotlib.pyplot作图时报错(python3.6.4,)
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.
解决方案,Python安装Pyqt后,可正常画图。
pip install pyqt5

猜你喜欢

转载自blog.csdn.net/a34140974/article/details/80773944