Search code examples
visual-studio-codejupyter-notebookjupyter-labpython-3.9

Open JupyterNotebook from VScode into the Browser


I have opened my .ipynb file with vscode (Python 3.9 Interpreter - installed jupyterlab), it's connected locally, how can I open it through the browser? what is the default port?


Solution

  • Type: jupyter notebook in vscode terminal (Ctrl + Shift + ~) and it will start Jupyter in browser of your preference.

    If jupyter not installed type: pip install jupyter in elevated powershell or however you prefer to do installs.

    If pip not installed: python -m pip install -U pip

    if python not installed I prefer to install with chocolatey and walkthrough is on their site. https://docs.python-guide.org/starting/install3/win/#install3-windows