Issue with tkinter, python and seaborn: _tkinter.TclError: no display name and no $DISPLAY environment variable

后端 未结 1 1543
轻奢々
轻奢々 2021-01-25 05:12

The story

pandas, numpy, seaborn, matplotlib are installed on the system without errors. I took this code example from http://seaborn.pydata.org/example

1条回答
  •  半阙折子戏
    2021-01-25 06:07

    At the beginning of the file

    import matplotlib
    matplotlib.use('Agg')
    

    0 讨论(0)
提交回复
热议问题