Last answered:

03 Apr 2023

Posted on:

06 Mar 2022

0

Code is not working - Macbook

Hey guys here is the error,
the code is sadly not working.
Would really appreciate your help.
The theory part of this course was amazing but in the practical stuff somehow nothing works. There is always a bug or something missing idk. Would really appreciate your help

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
/var/folders/cl/v_17p0097dl02vs0kjrbw3gm0000gn/T/ipykernel_5819/3438773142.py in <module>
      3 
      4 # matplotlib and mpl_toolkits are not necessary. We employ them for the sole purpose of visualizing the results.
----> 5 import matplotlib.pyplot as plt
      6 from mpl_toolkits.mplot3d import Axes3D

ModuleNotFoundError: No module named 'matplotlib'
1 answers ( 0 marked as helpful)
Posted on:

03 Apr 2023

0

That just means that in the environment that you have created, matplotlib is not installed. In the conda prompt for your environment type:


pip install matplotlib


and when you refresh the environment the module will have been installed and you should no longer encounter the error

Submit an answer