mlbox ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running
真是巨大的坑,按照网上说的,matplotlib.use('agg'),修改matplotlibrc文件中的backend,plt.switch_backend('Agg'),%matplotlib inline统统失效,包括在启动Jupyter时设置环境变量export MPLBACKEND=Ag