当SSH(使用-X)进入我的Ubuntu16.04服务器时,我得到了_tkinter.TclError: couldn't connect to display "localhost:10.0",运行这个脚本
from os import path
from wordcloud import WordCloud
import matplotlib as mpl
import matplotlib.pyplot as plt
mpl.use('Agg')
d = path.dirname(__file__)
text = open(path.join(