-
Notifications
You must be signed in to change notification settings - Fork 350
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from posternotebook-executionKernels issues (start/restart/switch/execution, install ipykernel)Kernels issues (start/restart/switch/execution, install ipykernel)
Description
Applies To
- Notebooks (.ipynb files)
- Interactive Window and/or Cell Scripts (.py files with #%% markers)
What happened?
When running restarting a kernel within VS Code the restart hangs until VS Code is restarted. This happens when running notebooks in Windows or WSL.
Using uv for package management
VS Code Version
Version: 1.105.1 (user setup) Commit: 7d842fb85a0275a4a8e4d7e040d2625abbf7f084 Date: 2025-10-14T22:33:36.618Z Electron: 37.6.0 ElectronBuildId: 12502201 Chromium: 138.0.7204.251 Node.js: 22.19.0 V8: 13.8.258.32-electron.0 OS: Windows_NT x64 10.0.26100
Jupyter Extension Version
2025.9.1
Jupyter logs
Below is the output when it resets correctly. When it hangs on reset there are no logs generated
2:47:34.888 [info] Restart requested ~/folder/project/research/opensearch_and_agents/zdev.ipynb
12:47:34.902 [info] Process Execution: ~/folder/project/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
12:47:34.925 [info] Process Execution: ~/folder/project/.venv/bin/python -m ipykernel_launcher --f=/run/user/1000/jupyter/runtime/kernel-v3a2315f63e5f3c5cbb3c16f5d41ddb1350e16372b.json
> cwd: ~/folder/project/research/opensearch_and_agents
12:47:35.336 [info] Restarted 975165b4-a01a-4f61-a653-5ae52d367da1Coding Language and Runtime Version
Python 3.11.11 and Python 3.11.9
Language Extension Version (if applicable)
2025.16.0
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from posternotebook-executionKernels issues (start/restart/switch/execution, install ipykernel)Kernels issues (start/restart/switch/execution, install ipykernel)