Connecting to existing remote server. Can't find Python Kernel
See original GitHub issueEnvironment data
- VS Code version: 1.60.0
- Jupyter Extension version: v2021.8.2031190714
- Python Extension version: v2021.9.1191016588
- OS: Catalina 10.15.7
- Python and/or Anaconda version: 3.9.6
- Type of virtual environment used: venv
- Jupyter server running: Remote
Expected behaviour
Find and attach to kernel
Actual behaviour
Prompts me to Select kernel for ‘test.ipynb’
Steps to reproduce:
- Run
jupyter-lab --no-browser
- CTRL+SHIFT+P
- “Jupyter: Specify local or remote Jupyter Server for connections”
- Click “Existing”
- Paste localhost URL
- Try running cell
Logs
jupyter-lab --no-browser [I 2021-09-06 16:53:36.870 ServerApp] jupyterlab | extension was successfully linked. [I 2021-09-06 16:53:37.082 ServerApp] nbclassic | extension was successfully linked. [I 2021-09-06 16:53:37.136 ServerApp] nbclassic | extension was successfully loaded. [I 2021-09-06 16:53:37.138 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.9/site-packages/jupyterlab [I 2021-09-06 16:53:37.138 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab [I 2021-09-06 16:53:37.143 ServerApp] jupyterlab | extension was successfully loaded. [I 2021-09-06 16:53:37.144 ServerApp] Serving notebooks from local directory: /Users/ischan/workspace/lb-requests [I 2021-09-06 16:53:37.144 ServerApp] Jupyter Server 1.9.0 is running at: [I 2021-09-06 16:53:37.144 ServerApp] http://localhost:8888/lab?token=4d0134d6bd27db80a8b41e48148e4f7f0492153ca1a2b93b [I 2021-09-06 16:53:37.144 ServerApp] or http://127.0.0.1:8888/lab?token=4d0134d6bd27db80a8b41e48148e4f7f0492153ca1a2b93b [I 2021-09-06 16:53:37.144 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2021-09-06 16:53:37.150 ServerApp]
To access the server, open this file in a browser:
file:///Users/ischan/Library/Jupyter/runtime/jpserver-1687-open.html
Or copy and paste one of these URLs:
http://localhost:8888/lab?token=4d0134d6bd27db80a8b41e48148e4f7f0492153ca1a2b93b
or http://127.0.0.1:8888/lab?token=4d0134d6bd27db80a8b41e48148e4f7f0492153ca1a2b93b
[I 2021-09-06 16:53:53.664 ServerApp] Creating new notebook in / [I 2021-09-06 16:53:53.719 ServerApp] Kernel started: f572c4b6-c7c6-43a7-ad1a-71edc479596d [W 2021-09-06 16:53:53.756 ServerApp] delete /default-01fa697e-ca16-4281-a1b0-88af3ed71d9b.ipynb [I 2021-09-06 16:53:54.361 ServerApp] Kernel shutdown: f572c4b6-c7c6-43a7-ad1a-71edc479596d
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
I have the same problem. In my case, the list of available kernels is completely empty. I can’t connect to an existing kernel, nor create a new one. I tested on different Jupyter servers, so the problem is on VS Code side. Problem several weeks ago everything worked well.
Yes now it doesn’t prompt. me to select a kernel the code cell just runs. I’ll close the issue and reopen if it resurfaces.