用matplot和seaborn作图,出现This application failed to start because not Qt platform plugin could be initialized的报错

用matplotlib和seaborn作图,出现这样的弹窗: 尝试过增加环境变量的方法没有解决。使用了a56爆大奖在线娱乐临时的解决方法: import matplotlib matplotlib.use('TKAgg') 如果不需要图形化界面,只需要运行后的参数可以使用: import matplotlib ma
posted @ 2023-11-30 19:47  以后指定是大牛  阅读(23)  评论(0编辑  收藏  举报