Notebook with VS Code
It is simple to get Jupyter or Colab notebooks running inside Visual Studio Code.
Install the necessary Jupyter notebook extensions in VS Code
Install the Jupyter module in Conda Python Environment
Open or Make a *.ipynb file
Run the code
1. Install VSC Extensions to Enable Jupyter Notebooks
Once you have VSC installed you’ll just need to install a few extensions for VSC to support Jupyter notebooks. You’ll need to install six extensions.
Python (author: Microsoft)
Pylance (author: Microsoft)
Jupyter (author: Microsoft)
Jupyter Keymap (author: Microsoft)
Jupter Notebook Renderers (author: Microsoft)
2. Install the Jupyter Module in Conda Python Environment
Need an environment to install the jupyter
module
If Conda Environment exists, you can skip this
Install the
jupyter
module.
3. Open or Make a .ipynb file and Run
Lets use a test code (*.ipynb) created in Colab.
Download the file as *.ipynb.
Open the downloaded file in VSCODE and Run
Select Python Interpreter as
py37
or where you have installed Jupyter
Last updated