# How to run jupyter notebooks in local?

**URL:** <https://community.deeplearning.ai/t/how-to-run-jupyter-notebooks-in-local/404086>\
**Category:** Supervised ML: Regression and Classification\
**Tags:** week-module-1\
**Created:** [August 1, 2023, 5:49am UTC](https://community.deeplearning.ai/t/how-to-run-jupyter-notebooks-in-local/404086 "2023-08-01T05:49:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajeswary\_N](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@Rajeswary\_N](https://community.deeplearning.ai/u/Rajeswary_N)\
**Post date:** [August 1, 2023, 5:49am UTC](https://community.deeplearning.ai/t/how-to-run-jupyter-notebooks-in-local/404086/1 "2023-08-01T05:49:58Z")

</div>

I have saved the jupyter notebooks provided in the course, but I am not able to run them in local. I am trying to run them in visual studio code.

---

<div class="post-metadata">

**Author:** ![Nydia](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@Nydia](https://community.deeplearning.ai/u/Nydia)\
**Post date:** [August 1, 2023, 5:54am UTC](https://community.deeplearning.ai/t/how-to-run-jupyter-notebooks-in-local/404086/2 "2023-08-01T05:54:30Z")

</div>

Hi, @Rajeswary_N can you please share the error message?

---

<div class="post-metadata">

**Author:** ![Rajeswary\_N](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@Rajeswary\_N](https://community.deeplearning.ai/u/Rajeswary_N)\
**Post date:** [August 1, 2023, 6:02am UTC](https://community.deeplearning.ai/t/how-to-run-jupyter-notebooks-in-local/404086/3 "2023-08-01T06:02:08Z")

</div>

Setup error like No module named ‘numpy’ or ‘matplotlib’. Do you know about what setup to do in local environment, and what IDE could be best, to run this in local?

---

<div class="post-metadata">

**Author:** ![Nydia](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@Nydia](https://community.deeplearning.ai/u/Nydia)\
**Post date:** [August 1, 2023, 6:07am UTC](https://community.deeplearning.ai/t/how-to-run-jupyter-notebooks-in-local/404086/4 "2023-08-01T06:07:44Z")

</div>

Running the notebooks locally would mean that you have to install all the needed dependencies first.

Your errors could mean two things:

- You have not installed in your system matplotlib and numpy. This can be solved by: pip install numpy, pip install matplotlb
- If matplotlib and numpy are installed, then the system cannot find the path to these libraries.

The IDE should not matter at all

---

<div class="post-metadata">

**Author:** ![Rajeswary\_N](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@Rajeswary\_N](https://community.deeplearning.ai/u/Rajeswary_N)\
**Post date:** [August 1, 2023, 6:23am UTC](https://community.deeplearning.ai/t/how-to-run-jupyter-notebooks-in-local/404086/5 "2023-08-01T06:23:34Z")

</div>

I tried to install python, it turned out that I had python3. So, used pip3 to install numpy and matplotlib. It is now stuck at "No module named ‘lab\_utils\_uni’ ". file named lab\_utils\_uni.py is present in the same directory. Is there something I can do?

---

<div class="post-metadata">

**Author:** ![Rajeswary\_N](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@Rajeswary\_N](https://community.deeplearning.ai/u/Rajeswary_N)\
**Post date:** [August 1, 2023, 6:29am UTC](https://community.deeplearning.ai/t/how-to-run-jupyter-notebooks-in-local/404086/6 "2023-08-01T06:29:35Z")

</div>

I closed and reopened the file. It is working now. Thank you for your guidance.

---

<div class="post-metadata">

**Author:** ![Sebastien\_Dubal](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Sebastien\_Dubal](https://community.deeplearning.ai/u/Sebastien_Dubal)\
**Post date:** [August 8, 2023, 9:25am UTC](https://community.deeplearning.ai/t/how-to-run-jupyter-notebooks-in-local/404086/7 "2023-08-08T09:25:21Z")

</div>

Just use anaconda
