python导入matplotlib模块出错

我的系统是linux mint。用新立得软件包安装了numpy和matplotlib。在导入matplotlib.pyplot时出错。说是没有python3-tk包。

于是就在shell中装了一下。

sudo apt-get install python3-tk

之后就可以导入了。

posted @ 2016-07-15 11:32  金明爱python  阅读(1266)  评论(0编辑  收藏  举报