25,094 questions
2
votes
0
answers
40
views
Jupyter/VSCode does not recognize pip from .venv despite being properly installed
EDIT: the issue is resolved (kinda). Check GitHub discussion.. It turns out that there are possibly two problematic factors. First (my case), the newest version of Jupyter extension. When I switched ...
0
votes
1
answer
29
views
"[Errno 28] No space left on device" when trying to save a jupyter notebook
I'm currently working on a thesis project using jupyter notebook on a remote cluster. After running my code I'm not able to save anything anymore and I keep getting the following error:[Errno 28] No ...
2
votes
1
answer
52
views
Jupyter in Visual Studio Code shows “requires the pip, jupyter and notebook package” even though they are installed
I’m trying to run a .ipynb notebook in VS Code with Python 3.11.0. I have already installed the Jupyter extension and Python extension in VS Code. Everything works fine when I run the same code as a ....
-1
votes
0
answers
44
views
Error while trying to run cell in the ipynb file in VS code [closed]
I have activated my environment
I have installed the openai library by pip install openai
I have installed the kernel by pip install ipykernel
Then I tried to run this cell:
When I click on the &...
0
votes
0
answers
47
views
Jupyter notebook stuck in connecting in kernel in VS Code [duplicate]
Connecting to kernel: Python 3.12.6: Activating Python Environment 'Python 3.12.6'
I am just stuck in this process.
For the past 3 days, I have been facing this issue, even though I have deleted both ...
11
votes
1
answer
958
views
Jupyter Notebook extension Visual Studio Code "stuck in connecting to kernel"
I use Python 3.11.1 and Jupyter Notebook to run code selections or lines in the Interactive Window for debugging or coding purposes.
A few days ago, on Thursday night, October 9th, 2025, everything ...
0
votes
1
answer
26
views
Jupyter Dependency Issue
Following an update of Python and Jupyter extensions on my VS Code yesterday, my virtual environment dependencies haven't been working properly. My Vscode setup has been demanding that I install ...
2
votes
1
answer
163
views
VSCode: Running cells with '.venv (Python 3.13.5)' requires the ipykernel and pip package
I'm using VSCode version 1.105.0. I want to run some Python code in Jupyter Notebook. To do this, I need to install ipykernel, which I do after activating venv (pip install ipykernel). Next, I execute ...
0
votes
0
answers
76
views
Could the reason why I cant select any kernels in VS Code be this error? If so how do I resolve it [closed]
I am trying to run an .ipynb file and have installed Miniconda as well as created an environment as such
conda create -n <env_name> python=3.7 ipykernel jupyter
I am assuming this is ...
3
votes
1
answer
478
views
VS Code Jupyter extension fails to activate: "Typ"eError: this.vscNotebook.onDidChangeNotebookCellExecutionState is not a function
So recently I wanted to work with Jupyter notebooks in VS Code, but I ran into an activation error with the Jupyter extension.
I’m using:
VS Code version: 1.104.3
Jupyter extension version: 2025.8.0
...
-1
votes
1
answer
46
views
Why does changing a DataFrame in one Jupyter cell also change another variable? [duplicate]
I am working in Jupyter Notebook with pandas, and I noticed something strange.
In one cell , I did this:
import pandas as pd
df1 = pd.DataFrame({"A":[1,2,3]})
df2 = df1
Then in another ...
0
votes
0
answers
39
views
Unable to make python virtual env work with jupyter
I followed the instructions from https://stackoverflow.com/a/58134257/31654471:
(qiskit) C:\Users\erick> ipython kernel install --user --name=qiskit
Installed kernelspec qiskit in C:\Users\erick\...
-1
votes
0
answers
29
views
Every time I try to open Jupyter notebook on my anaconda it writes "access to file was denied" [closed]
It just doesn't open by itself and if I open it through anaconda it's writing access to file was denied
I deleted it and installed it again but nothing worked and I tried q bunch of youtube videos but ...
0
votes
1
answer
22
views
How to prevent markdown headings in a Jupyter Notebook (VSCode or JupyterLab) from appearing in the Table of Contents (TOC)
In Jupyter Notebooks (both in VS Code and JupyterLab), every markdown heading (like #, ##, etc.) automatically appears in the Table of Contents (TOC) or Outline view.
Sometimes, I want to include ...
1
vote
0
answers
47
views
How to programmatically set a default Jupyter kernel in VSCode integration tests?
We're developing a VSCode extension that works with Jupyter notebooks and need to run integration tests in CI/CD. The main issue is that when running integration tests, VSCode prompts the user to ...