how to resolve?


Is this on your local machine or in the Coursera Online Labs?

  1. In my local machine first I installed jupyter and then matplotlib using PIP
    its showing the error.
  2. If i use the VS code for Jupyter notebooks iworking fine.

Make sure to start the jupyter notebook from a directory / folder that has the whole project below it.