Jupyter Notebooks in VS Code on MacOS

Опубликовано: 08 Сентябрь 2024
на канале: 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


Смотрите видео Jupyter Notebooks in VS Code on MacOS онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь AI Software Developer 08 Сентябрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,704 раз и оно понравилось 29 людям.