Qt Session management error with matplotlib.pyplot.plot

后端 未结 2 524
悲&欢浪女
悲&欢浪女 2021-01-17 12:00

All of a sudden, whenever I call matplotlib.pyplot.plot (within a unix OS), the following error is printed to the screen:

Qt: Sessi         


        
相关标签:
2条回答
  • 2021-01-17 12:32

    Make sure you use "su -" and not just "su"

    0 讨论(0)
  • 2021-01-17 12:36

    The answer to the question is, yes, there is a solution that doesn't require editing the sudoers file. I noticed that in the .cache directory of my home directory, there was a matplotlib directory and a sessions directory.

    I deleted these.

    The problem was resolved.

    I remain unsure why the error arose in the first place.

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