# Code not working

**URL:** <https://community.deeplearning.ai/t/code-not-working/893916>\
**Category:** Supervised ML: Regression and Classification\
**Tags:** week-module-2, coursera-platform\
**Created:** [July 20, 2026, 7:52am UTC](https://community.deeplearning.ai/t/code-not-working/893916 "2026-07-20T07:52:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jagannath\_Biswas](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@Jagannath\_Biswas](https://community.deeplearning.ai/u/Jagannath_Biswas)\
**Post date:** [July 20, 2026, 7:52am UTC](https://community.deeplearning.ai/t/code-not-working/893916/1 "2026-07-20T07:52:31Z")

</div>

**In the course of Machine Learning by Andrew NG, optional lab for feature scaling & learning rate, in week 2 of the course, I met with a serious problem regarding the code. A python module named " lab\_utils\_multi.py" is not working. Even I have downloaded it from Lab Files at top right and saved it in the same folder where my python code is saved. Need help**

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [July 20, 2026, 8:33am UTC](https://community.deeplearning.ai/t/code-not-working/893916/2 "2026-07-20T08:33:53Z")

</div>

From what you’ve described, it seems you’re trying to run the lab in your own local environment. This can be tricky because you need all the lab files (not just `lab_utils_multi.py`) in the same folder, and your Python environment should use compatible library versions. I’m not sure where that information is listed, as I haven’t recreated the labs locally myself.
