sudo apt-get install python-tk 可以解决由于引入matplotlib.pyplot 出现的如下问题 ImportError: No module named _tkinter, please install the python-tk package