0

I've just finished an online course about python for Data Science. I wanted to code something by my own in Pycharm Edu. I had done this before and everything was working. I downloaded "numpy" and "matplotlib" via Pycharm and console in Linux Mint. When I import numpy and import matplotlib ( and write nothing else ) my program is running properly, but when I write "import matplotlib.pyplot as plt" it is not working.enter image description here Screen: https://snag.gy/CPx9WG.jpg

3
  • 3
    stackoverflow.com/questions/36327134/… Commented Sep 10, 2018 at 13:57
  • The error tells you what is wrong. You do not have tkinter installed. Commented Sep 10, 2018 at 13:57
  • Thanks you so much Commented Sep 10, 2018 at 14:03

1 Answer 1

0

You have to install tkinter

apt-get install python-tk

Docs found here: Tkinter

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.