你好,matplotlib是需要tkinter来做一些事情。从出错的情况上看,你的python安装不全,至少这个tkinter的库没有。两个办法一个是你去找这个tkinter的包来安装一下。另外一个就是remove python然后从官网上面下载一个全的python重新安装一次。
python执行说没有tkinter如何解决?如图
你好,matplotlib是需要tkinter来做一些事情。从出错的情况上看,你的python安装不全,至少这个tkinter的库没有。
两个办法一个是你去找这个tkinter的包来安装一下。
另外一个就是remove python然后从官网上面下载一个全的python重新安装一次。2019-05-10