【发布时间】:2019-02-14 23:34:26
【问题描述】:
我刚刚完成了有关 Python 数据科学的在线课程。 我想在 Pycharm Edu 中自己编写一些代码。我以前做过,一切正常。我通过 Pycharm 和 Linux Mint 中的控制台下载了“numpy”和“matplotlib”。当我导入 numpy 并导入 matplotlib (并且什么都不写)时,我的程序运行正常,但是当我写 “import matplotlib.pyplot as plt”它不起作用。enter image description here Screen: https://snag.gy/CPx9WG.jpg
【问题讨论】:
-
错误告诉你出了什么问题。您没有安装 tkinter。
-
非常感谢
标签: python matplotlib