Python Forum
Setting up and integrating Jupyter Notebook development environment with VSC - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Setting up and integrating Jupyter Notebook development environment with VSC (/thread-37974.html)



Setting up and integrating Jupyter Notebook development environment with VSC - Drone4four - Aug-17-2022

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?


RE: Setting up and integrating Jupyter Notebook development environment with VSC - Drone4four - Aug-18-2022

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]



RE: Setting up and integrating Jupyter Notebook development environment with VSC - ndc85430 - Aug-18-2022

Also posted here: https://discuss.python.org/t/setting-up-and-integrating-jupyter-notebook-development-environment-with-vsc/18269.


RE: Setting up and integrating Jupyter Notebook development environment with VSC - Drone4four - Sep-12-2022

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.