Cannot open jupyter notebook in VSCode

17,147

If Python extension is available, (if not install that extension) in VSCode, while the jupyter style file (cells beginning with # %%) is active:

  1. Press Ctrl+Shift+P
  2. Type: Export Current Python File as Jupyter Notebook
Share:
17,147
erocoar
Author by

erocoar

🇳🇱 🇩🇪

Updated on June 04, 2022

Comments

  • erocoar
    erocoar almost 2 years

    I recently switched to Visual Studio Code and would like to use Jupyter Notebooks. I have installed the ms-python extension, and also the jupyter package, as described here.

    However, after reloading, I did not have a command Python: Create Blank New Jupyter Notebook, and if I open existing notebooks, the HTML/CSS is shown instead of an actual notebook view. I haven't found anything related to this problem online yet.