RHEL7出现tkinter.TclError: no display name and no $DISPLAY environment variable
生活随笔
收集整理的這篇文章主要介紹了
RHEL7出现tkinter.TclError: no display name and no $DISPLAY environment variable
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
tkinter.TclError: no display name and no $DISPLAY environment variable
解決方案:
/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc
中的
一句配置文件如下:
backend : Agg
即可
總結
以上是生活随笔為你收集整理的RHEL7出现tkinter.TclError: no display name and no $DISPLAY environment variable的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CNN的卷积运算为何使用互相关而不是卷积
- 下一篇: git diff中的---和+++的含义