Query from line" lab_utils_command"

plt.style.use(‘./deeplearning.mplstyle’)
from lab_utils_uni import plt_house_x, plt_contour_wgrad, plt_divergence, plt_gradients.

OSError: './deeplearning.mplstyle' is not a valid package style, path of style file, URL of style file, or library style name (library styles are listed in `style.available`)

how to resolve and downlode.

Which course are you attending, and on what platform? (Coursera or learn.deeplearning.ai)?

coursera.

machine learning by Andrew ag

Which week and assignment?

Gradient descent, week 1.

Please help me i am unable to run code.

My error is this…

In[7], line 4
      2 import numpy as np
      3 import matplotlib.pyplot as plt
----> 4 from lab_utils_uni import plt_house_x, plt_contour_wgrad, plt_divergence, plt_gradients

ModuleNotFoundError: No module named 'lab_utils_uni'

I just tested that optional lab (C1_W1_Lab04_Gradient_Descent_Soln), and did not have any troubles.

I noticed that you deleted the plt.style.use(…) line. Do not do that.

Are you using the Coursera platform, or did you download the notebook file and are using some other platform?

Thank you TMosh…,

i am using some other platform. Thank you once again.

You’ll need to download all of the resources, not just the notebook.