Python Forum
Setting up and integrating Jupyter Notebook development environment with VSC
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting up and integrating Jupyter Notebook development environment with VSC
#1
Hello Pythonistas!

I am trying to set up the Jupyter Notebook extension for VSCode but I can’t get my code snippets to run.

If you check out this YouTube clip at exactly 1 minute and 46 seconds (here - - you can pause it to see the still) this is what I am trying to accomplish.

But here is what my VSCode actually looks like: [Image: abyr9c0.jpg]

As you can see in mine, the “Play” icon to the left of my code snippet is missing. Along the top border, the other “Play All” button is missing.

In Microsoft’s official VSC doc for setting up Jupyter Notebooks, right near the top under this specific heading: “Create or open a Jupyter Notebook” their interface has way more options at the top of the cells when compared to mine. They have buttons named: "Variables", "Restart", "Interrupt". That is expected for Jupyter Notebook funcionality. Mine is missing all of that. Clearly there is something wrong with my setup.

What information could I provide to identify what the misconfiguration issue is with my VSCode environment?
Reply
#2
I was looking in other places online like Stack Overflow where users who had ms-python extension installed (which includes Jupyter functionality) and then had additionall stand-alone Jupyter Notebook extensions installed. Apparently if you have multiple installed, they can interfere with each other. So after much wrangling, I resolved to uninstalling all my Jupyter extensions and keeping only the main ms-python extension.

The issue persists.

Any idea what else I could try?

Here is VSC print out a list of currently installed extensions with version numbers:

Quote:$ code --list-extensions --show-versions

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Reply
#3
Also posted here: https://discuss.python.org/t/setting-up-...-vsc/18269.
Reply
#4
After much wrangling with official and third party VSC extenions on the marketplace, I discovered an answer that required some very straight forward 'out of the box' problem solving: I installed the VSC package in the official Snap repo.

Visual Studio Code and Python-Jupyter are now playing nice together.

The problem is with the VSC package in the repo for my native Manjaro Linux distro I am using.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up can't access data from URL in pandas/jupyter notebook aaanoushka 1 1,023 Feb-13-2022, 01:19 PM
Last Post: jefsummers
Exclamation Jupyter Notebook - Help Needed! eyadfr 1 1,101 Jan-26-2022, 06:42 PM
Last Post: jefsummers
  Help needed with Jupyter Notebook eyadfr 4 1,112 Jan-04-2022, 08:20 PM
Last Post: snippsat
  HELP! Importing json file into csv into jupyter notebook vilsef 2 1,641 Jan-22-2021, 11:06 AM
Last Post: snippsat
  How can draw a real-time marker on map using folium/leaflet Jupyter notebook C3PO 0 1,789 Dec-22-2020, 07:04 PM
Last Post: C3PO
  Python Custom Module not working in Jupyter Notebook with Pandas fid 0 1,520 Jul-04-2020, 11:05 AM
Last Post: fid
  Integrating for the volume of a torus in SciPy Nitram 2 2,733 Jan-08-2020, 04:45 PM
Last Post: Nitram
  How to change working directory in Jupyter Notebook? rajeev1729 2 20,081 Aug-25-2019, 07:25 PM
Last Post: perfringo
  to_numpy() works in jupyter notebook, but not in python script bluefrog 7 8,798 Jun-27-2019, 10:35 AM
Last Post: bluefrog
  setting environment in arcpy sunny 0 1,174 Feb-24-2019, 08:37 PM
Last Post: sunny

Forum Jump:

User Panel Messages

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