Cpp, Numerical Computation, Programming, Computer Science, Computation.
to first check your version of Python and path. You need to install also for the version of Python you have (for example using pip) the matplotlib. #on terminal type :~$ whereis python //you receive version of Python and paths :~$ pip3 install matplotlib //Python 3 :~$ pip install matplotlib