在Ubuntu环境下运行下面代码:

import matplotlib as plt

出现以下错误:

No module named '_tkinter'

解决方法:

sudo apt-get install python3-tk

相关文章:

  • 2021-06-30
  • 2022-12-23
  • 2021-07-17
  • 2021-05-23
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-20
  • 2021-10-09
  • 2022-12-23
  • 2021-09-03
  • 2021-10-24
  • 2022-12-23
相关资源
相似解决方案