Jupyter Notebooks in VS Code on MacOS

Published: 08 September 2024
on channel: AI Software Developer
1,704
29

Create a local environment to run Jupyter notebooks in Visual Studio Code. Why? There are free online options available, such as Jupyter-dot-org and Google Collab, so why bother?

Here are the top 5 advantages of running a local setup:
✅ Version control + team support via Github
✅ Work offline
✅ Data privacy and security
✅ Ability to remain in a familiar IDE
✅ Ability to access localhost such as localhost:11434

Plan:
Install Homebrew
Install Visual Studio Code
Create a simple Hello World Jupyter notebook
Install the dependencies and extensions in VSCode

Steps:
[ ] Launch iTerm (or default terminal app on Mac)
[. ] Install Homebrew for Mac
[ ] Command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Hom...)"
[ ] Verification command: brew commands
[. ] Install VSCode for Mac
[ ] Command: brew install --cask visual-studio-code
[. ] Create a folder for the new project
[ ] Command: mkdir python_dev
[ ] Command: cd python_dev
[ ] Command: code .
[. ] Create a “Hello World” Jupyter Notebook
[ ] Create a code block print(“hello world!”)
[ ] Click Run All
[ ] Install suggested dependencies
[. ] Install Python extension for VSCode
[ ] Optional: In VSCode, navigate to Extensions and search for Python
[. ] Install Jupyter notebooks extension for VSCode
[ ] Optional: In VSCode, navigate to Extensions, type Jupyter, select the Jupyter Notebooks extension from Microsoft
🚀 #Python #jupyternotebooks #development #ai #genai


Watch video Jupyter Notebooks in VS Code on MacOS online without registration, duration hours minute second in high quality. This video was added by user AI Software Developer 08 September 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,704 once and liked it 29 people.