Jupyter Notebook VSCode installation on Windows11

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
let's say how to use jupyter notebooks from within Visual Studio code first we're going to install python which I'm going to download from python.org and when I hover over downloads here you can download for Windows and the latest version at the time of this recording is 3.10.7 and the python installer was downloaded let's install it and make sure that you add python to the system's path by checking the second box over here and let's install great so python is installed let's now install Visual Studio code which I'm going to download from code.visualstudio.com and of course I'm going to download for Windows and the visual studio code installer was downloaded let's install Visual Studio code great and visual studio code was installed let's launch it and now let's open the extensions tab and I'm going to look for python and the extension we want is the first one by Microsoft this one so let's go ahead and install it and the installation of this extension will take about a minute or two great and the extension was installed let's now close Visual Studio code and I'm going to create a new folder on my computer that is going to serve as a python workspace and I just call it python workspace and let's now reopen Visual Studio code and let's now open our new workspace folder so file and open folder let's open the command palette by pressing Ctrl shift p or we can just choose the view menu and then command palette and here I'm going to look for Notebook and the first option is to create a new Jupiter notebook that's what we want so let's hit enter and the new Jupiter notebook was created let's save it by Ctrl s and let's just call it example notebook and here we can see it on the left on the visual studio code Explorer let's write a simple hello world line in the code block and let's also add a markdown block and of course I can reorder the blocks by just dragging them around so let's for example move the markdown to the top of the page but if I now try to run the code block I get this Arrow running cells with python requires notebook and jupyter package luckily all you have to do to fix it is click on install and the block runs successfully and we got the output as expected
Info
Channel: Abstract programmer
Views: 2,525
Rating: undefined out of 5
Keywords:
Id: bIrHDQqG7b8
Channel Id: undefined
Length: 3min 57sec (237 seconds)
Published: Sun Oct 30 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.