Python Forum
Opening an empty Jupyter notebook in VSCODE
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Opening an empty Jupyter notebook in VSCODE
#1
Hi, I'm new to this forum.

I installed VSCODE 1.65.1 (macOS BigSur) with python and Jupyter. I'm able to drag and drop an .ipynb file into the editor area. So far so good.
A side question: everytime I do so I have to choose the kernel environment. How can I make the once chosen kernel/Python environment permanent for all notebooks?

How do I open an empty notebook in the VSCODE GUI from the Jupyter extension?

Thanks for helping.

Christoph
Reply
#2

  1. Open VSCode
  2. On left panel, click extensions icon (four squares with one offset from group)
  3. Click three dot icon right of extension menu (...)
  4. Check that Jupyter is present (Views->Jupyter). if so continue at step 5, otherwise:
    • In search box type 'Jup'
    • Right click on "Jupyter notebook support, interactive" icon, select install
  5. Create a new '.ipynb' file in your workspace -- or -- from command line (ctrl+Shift+P) type Jupyter:Create New Blank Notebook'
Reply
#3
Jupyter notebook Support is already installed and I'm able to open .ipynb files (File menu).
But what do you mean by "5.Create a new '.ipynb' file in your workspace "?

The CMD-SHIFT-P portion works.
Reply
#4
both work
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  My code works on Jupyter Lab/Notebook, but NOT on Visual Code Editor jst 4 1,045 Nov-15-2023, 06:56 PM
Last Post: jst
  Navigating file directories and paths inside Jupyter Notebook Mark17 5 718 Oct-29-2023, 12:40 PM
Last Post: Mark17
  How to programmatically stop a program in Jupyter Notebook? Mark17 11 37,214 Feb-12-2023, 01:41 PM
Last Post: jp21in
Thumbs Up Python 3 Jupyter notebook ternary plot data nicholas 0 948 Jan-21-2023, 05:01 PM
Last Post: nicholas
  Graphs from Jupyter notebook to word Scott 0 890 Nov-28-2022, 06:16 AM
Last Post: Scott
  How to do line continuation in Jupyter Notebook? Mark17 4 5,512 Sep-22-2021, 04:22 PM
Last Post: ibreeden
  Jupyter Notebook as IDE bytecrunch 0 1,615 Sep-12-2021, 07:41 PM
Last Post: bytecrunch
  It says there is no keras in jupyter notebook. it is wrong there is a keras install Led_Zeppelin 0 1,890 Apr-27-2021, 08:29 PM
Last Post: Led_Zeppelin
  importing matplotlib in jupyter notebook Led_Zeppelin 4 3,474 Feb-25-2021, 07:28 PM
Last Post: snippsat
  install jupyter-nb within VSCode apollo 2 2,186 Feb-05-2021, 10:34 AM
Last Post: apollo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020