matplotlib 初次编译无法运行

终端

解决方案:vim ~/.matplotlib/matplotlibrc  

输入backend: TkAgg 保存
原文地址:https://www.cnblogs.com/-yun/p/8512457.html