matplotlib error - no module named tkinter

后端 未结 16 1674
被撕碎了的回忆
被撕碎了的回忆 2020-11-28 04:10

I tried to use the matplotlib package via Pycharm IDE on windows 10. when I run this code:

from matplotlib import pyplot

I get the followin

16条回答
  •  Happy的楠姐
    2020-11-28 04:38

    On Centos, the package names and commands are different. You'll need to do:

    sudo yum install tkinter
    

    To fix the problem.

提交回复
热议问题