_tkinter.TclError: no display name and no $DISPLAY environment variable时间:2022-06-20 23:51:21在引入pyplot、pylab之前,要先更改matplotlib的后端模式为”Agg” 参考:https://www.cnblogs.com/students/p/8963420.html