Python Forum
install jupyter-nb within VSCode
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
install jupyter-nb within VSCode
#1
hello dear all

pretty new to jupiter notebook - i run MX-Linux and Visual-Studio-Code - and now i want to integrate Jupyter Notebook within VSCode - is this possible?! according to this page - i thought that it is possible:
https://marketplace.visualstudio.com/ite...ai.jupyter


the man page says:
ext install ms-toolsai.jupyter
and the following:
Launch VS Code Quick Open ( Ctrl+P ), paste the following command, and press enter.
ext install ms-toolsai.jupyter

but this does not work


[Image: 09c79a419b718e660072508dc6bcfb3b2330e6cf.png]





update: well to do this Environment Setup

we can go the way to install the Jupyter package.

either using the Python package installer (i.e., pip) by running pip install notebook or
conda package manager by running conda install -c conda-forge notebook.

i got back the following:
Requirement already satisfied: pyparsing>=2.0.2 in ./anaconda3/lib/python3.8/site-packages (from packaging->bleach->nbconvert->notebook) (2.4.7)
(base) martin@mx:~
after i wanted to start a new notebook i got back the following:

`unexpected token c in JSON at position` 
Reply
#2
I don't know anything about jupyter, but if I go into the VS Code extensions menu (View->Extensions), and search "jupyter", the extension you linked to is the first result. After clicking install and waiting for it to finish, I can create a new notebook (F1 for the menu, then type "jupyter" and click the result that says "Jupyter: Create new Jupyter notebook"). Once I do that, it wants to install a couple other things, but after that, it appears to be working fine.

Using the shell/command line shouldn't be needed.

Attached Files

Thumbnail(s)
   
Reply
#3
good day dear Nilamo,


first of all ; many many thanks for the quick reply. Great to hear from you.


i followed your advice and found out that this Jupyter-extension integates quite very well. Many thanks for your encouraging me!

Quote:I don't know anything about jupyter, but if I go into the VS Code extensions menu (View->Extensions), and search "jupyter", the extension you linked to is the first result. After clicking install and waiting for it to finish, I can create a new notebook (F1 for the menu, then type "jupyter" and click the result that says "Jupyter: Create new Jupyter notebook"). Once I do that, it wants to install a couple other things, but after that, it appears to be working fine.


thanks for the help. It workes like you allready mentioned: and we do not need to use the shell/command line

Many thanks.

this forum is a great place - and i am happy to be a part of this great community.

keep up the great work - python rocks! Smile
nilamo likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Opening an empty Jupyter notebook in VSCODE Krischu 3 1,817 Mar-09-2022, 01:57 PM
Last Post: Larz60+
  It says there is no keras in jupyter notebook. it is wrong there is a keras install Led_Zeppelin 0 1,873 Apr-27-2021, 08:29 PM
Last Post: Led_Zeppelin
  how to install pyramid.arima in jupyter notebook bntayfur 1 4,151 Aug-06-2020, 04:37 AM
Last Post: ndc85430
  Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2 Newtopython123 10 31,271 Apr-25-2019, 07:30 AM
Last Post: banu0395

Forum Jump:

User Panel Messages

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