question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

waiting on Jupyter session

See original GitHub issue

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

Connecting to kernel: .venv (Python 3.9.12): Waiting for Jupyter Session to be idle

is my error, i’ve reinstalled vscode, and new evns. problem solved at start of day, closed down for lunch, back after lunch and its started again. only this time, reinstall and envs has no impact.

VS Code Version

Version: 1.69.2 (Universal) Commit: 3b889b090b5ad5793f524b5d1d39fda662b96a2a Date: 2022-07-18T16:12:57.074Z (1 wk ago) Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: 10.0.139.17-electron.0 OS: Darwin arm64 21.5.0

Jupyter Extension Version

v2022.7.1001951036

Jupyter logs

Visual Studio Code (1.69.2, undefined, desktop)
Jupyter Extension Version: 2022.7.1001951036.
Python Extension Version: 2022.10.1.
Workspace folder /Users/pasta/cook/vcapo
error 16:20:59.546: Exception while attempting zmq : [Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=103 uv=1 armv=8 libc=glibc node=16.13.2 electron=18.3.5
    loaded from: /Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/node_modules/zeromq

	at Function.load.path (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/node_modules/node-gyp-build/index.js:1:3163)
	at load (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/node_modules/node-gyp-build/index.js:1:648)
	at Object.<anonymous> (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/node_modules/zeromq/lib/native.js:1:198)
	at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
	at Object.Module._extensions..js (node:internal/modules/cjs/loader:1216:10)
	at Module.load (node:internal/modules/cjs/loader:1035:32)
	at Module._load (node:internal/modules/cjs/loader:876:12)
	at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
	at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:32133)
	at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:28715)
	at Function.b._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:106:61601)
	at Module.require (node:internal/modules/cjs/loader:1059:19)
	at p (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
	at Object.<anonymous> (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/node_modules/zeromq/lib/index.js:1:144)
	at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
	at Object.Module._extensions..js (node:internal/modules/cjs/loader:1216:10)
	at Module.load (node:internal/modules/cjs/loader:1035:32)
	at Module._load (node:internal/modules/cjs/loader:876:12)
	at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
	at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:32133)
	at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:28715)
	at Function.b._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:106:61601)
	at Module.require (node:internal/modules/cjs/loader:1059:19)
	at p (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
	at Object.92747 (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:17:467763)
	at __webpack_require__ (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:17:1335736)
	at l.zmqSupported (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2368882)
	at l.isSupportedForLocalLaunch (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2368625)
	at l.get isSupported [as isSupported] (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2368535)
	at t.registerTypes (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2383334)
	at /Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:17:1341198
	at /Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:17:1341951
	at /Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:17:1341959
	at e.activate (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:17:1342081)
	at Function._callActivateOptional (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:97:17470)
	at Function._callActivate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:97:17131)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:97:14945
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async b._activate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:8180)
	at async b._waitForDepsThenActivate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:8122)
	at async b._initialize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:7486)]
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 16:20:59.880: LSP Notebooks experiment is disabled -- not in treatment group
info 16:20:59.902: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
info 16:20:59.940: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python -c "import jupyter"
> ~/cook/hmi_sepsis/.venv/bin/python -c "import jupyter"
info 16:20:59.940: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python -c "import notebook"
> ~/cook/hmi_sepsis/.venv/bin/python -c "import notebook"
info 16:20:59.941: Process Execution: > ~/cook/vcapo/.venv/bin/python -m pip list
> ~/cook/vcapo/.venv/bin/python -m pip list
info 16:21:0.43: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python -m jupyter kernelspec --version
> ~/cook/hmi_sepsis/.venv/bin/python -m jupyter kernelspec --version
info 16:21:7.432: Starting interactive window for resource '/Users/pasta/cook/vcapo/lambdas/orch/requestMgt.py'
info 16:21:7.521: Attempting to start a server because of preload conditions ...
info 16:21:7.523: Preferred Remote kernel for Interactive-1.interactive is undefined
info 16:21:7.524: Checking for server existence.
info 16:21:7.524: Checking for server usability.
info 16:21:7.524: Starting notebook server.
info 16:21:7.525: Connecting to server
info 16:21:7.525: Launching server
info 16:21:7.525: Starting Notebook
info 16:21:7.528: Generating custom default config at /var/folders/vr/hr709gyj02bckdgc2t2cypkh0000gn/T/9b71f707-10f6-497a-a33a-8abb7e322b9b/jupyter_notebook_config.py
info 16:21:7.528: Starting Jupyter Notebook
Starting Jupyter from ~/cook/hmi_sepsis/.venv/bin/python
info 16:21:7.531: Creating daemon pool for /Users/pasta/cook/hmi_sepsis/.venv/bin/python with env variables count 50
info 16:21:7.531: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 15081
> ~/cook/hmi_sepsis/.venv/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 15081
info 16:21:7.532: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 15081
> ~/cook/hmi_sepsis/.venv/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 15081
info 16:21:7.532: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 15081
> ~/cook/hmi_sepsis/.venv/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 15081
info 16:21:7.574: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/Users/pasta/cook/vcapo" --config=/var/folders/vr/hr709gyj02bckdgc2t2cypkh0000gn/T/9b71f707-10f6-497a-a33a-8abb7e322b9b/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
> ~/cook/hmi_sepsis/.venv/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/Users/pasta/cook/vcapo" --config=/var/folders/vr/hr709gyj02bckdgc2t2cypkh0000gn/T/9b71f707-10f6-497a-a33a-8abb7e322b9b/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
info 16:21:7.574: Waiting for Jupyter Notebook
info 16:21:7.598: Starting Jupyter Session id = 'startUsingPythonInterpreter:.jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9./Users/pasta/cook/vcapo/.venv/python./Users/pasta/cook/vcapo/.venv/python.-m#ipykernel_launcher' (Python Path: /Users/pasta/cook/vcapo/.venv, EnvType: Venv, EnvName: '.venv', Version: 3.9.12) for 'Interactive-1.interactive' (disableUI=false)
info 16:21:7.753: Registering dummy command feature
/Users/pasta/cook/hmi_sepsis/.venv/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/pasta/cook/vcapo' instead of '"/Users/pasta/cook/vcapo"' if you require traitlets >=5.
  warn(
info 16:21:7.846: /Users/pasta/cook/hmi_sepsis/.venv/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/pasta/cook/vcapo' instead of '"/Users/pasta/cook/vcapo"' if you require traitlets >=5.
  warn(

[I 16:21:08.050 NotebookApp] Serving notebooks from local directory: /Users/pasta/cook/vcapo
info 16:21:8.50: /Users/pasta/cook/hmi_sepsis/.venv/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/pasta/cook/vcapo' instead of '"/Users/pasta/cook/vcapo"' if you require traitlets >=5.
  warn(
[I 16:21:08.050 NotebookApp] Serving notebooks from local directory: /Users/pasta/cook/vcapo

[I 16:21:08.050 NotebookApp] Jupyter Notebook 6.4.11 is running at:
info 16:21:8.52: /Users/pasta/cook/hmi_sepsis/.venv/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/pasta/cook/vcapo' instead of '"/Users/pasta/cook/vcapo"' if you require traitlets >=5.
  warn(
[I 16:21:08.050 NotebookApp] Serving notebooks from local directory: /Users/pasta/cook/vcapo
[I 16:21:08.050 NotebookApp] Jupyter Notebook 6.4.11 is running at:

[I 16:21:08.050 NotebookApp] http://localhost:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
info 16:21:8.52: /Users/pasta/cook/hmi_sepsis/.venv/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/pasta/cook/vcapo' instead of '"/Users/pasta/cook/vcapo"' if you require traitlets >=5.
  warn(
[I 16:21:08.050 NotebookApp] Serving notebooks from local directory: /Users/pasta/cook/vcapo
[I 16:21:08.050 NotebookApp] Jupyter Notebook 6.4.11 is running at:
[I 16:21:08.050 NotebookApp] http://localhost:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609

info 16:21:8.53: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/cook/hmi_sepsis/.venv/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 16:21:08.050 NotebookApp]  or http://127.0.0.1:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
info 16:21:8.53: /Users/pasta/cook/hmi_sepsis/.venv/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/pasta/cook/vcapo' instead of '"/Users/pasta/cook/vcapo"' if you require traitlets >=5.
  warn(
[I 16:21:08.050 NotebookApp] Serving notebooks from local directory: /Users/pasta/cook/vcapo
[I 16:21:08.050 NotebookApp] Jupyter Notebook 6.4.11 is running at:
[I 16:21:08.050 NotebookApp] http://localhost:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
[I 16:21:08.050 NotebookApp]  or http://127.0.0.1:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609

info 16:21:8.54: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/cook/hmi_sepsis/.venv/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 16:21:08.050 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
info 16:21:8.55: /Users/pasta/cook/hmi_sepsis/.venv/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/pasta/cook/vcapo' instead of '"/Users/pasta/cook/vcapo"' if you require traitlets >=5.
  warn(
[I 16:21:08.050 NotebookApp] Serving notebooks from local directory: /Users/pasta/cook/vcapo
[I 16:21:08.050 NotebookApp] Jupyter Notebook 6.4.11 is running at:
[I 16:21:08.050 NotebookApp] http://localhost:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
[I 16:21:08.050 NotebookApp]  or http://127.0.0.1:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
[I 16:21:08.050 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

[C 16:21:08.054 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///Users/pasta/Library/Jupyter/runtime/nbserver-15233-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
     or http://127.0.0.1:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
info 16:21:8.56: /Users/pasta/cook/hmi_sepsis/.venv/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/pasta/cook/vcapo' instead of '"/Users/pasta/cook/vcapo"' if you require traitlets >=5.
  warn(
[I 16:21:08.050 NotebookApp] Serving notebooks from local directory: /Users/pasta/cook/vcapo
[I 16:21:08.050 NotebookApp] Jupyter Notebook 6.4.11 is running at:
[I 16:21:08.050 NotebookApp] http://localhost:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
[I 16:21:08.050 NotebookApp]  or http://127.0.0.1:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
[I 16:21:08.050 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 16:21:08.054 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///Users/pasta/Library/Jupyter/runtime/nbserver-15233-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609
     or http://127.0.0.1:8888/?token=22cbac4b0948d845eda7bb5d69c8c533880f20a98b5f9609

info 16:21:8.238: Connecting to process server
info 16:21:8.238: Connecting server kernel http://localhost:8888/
info 16:21:8.239: Creating server with url : http://localhost:8888/
info 16:21:8.242: Connection complete server
info 16:21:8.242: Server started.
info 16:21:8.258: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/cook/hmi_sepsis/.venv/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/pythonFiles/vscode_datascience_helpers/getServerInfo.py
info 16:21:8.276: Process Execution: > ~/cook/hmi_sepsis/.venv/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/cook/hmi_sepsis/.venv/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 16:21:08.298 NotebookApp] Creating new notebook in /lambdas/orch
info 16:21:8.316: installMissingDependencies /Users/pasta/cook/vcapo/.venv/bin/python, ui.disabled=false for resource '/Users/pasta/cook/vcapo/lambdas/orch/requestMgt.py'
info 16:21:8.318: Process Execution: > ~/cook/vcapo/.venv/bin/python -c "import ipykernel"
> ~/cook/vcapo/.venv/bin/python -c "import ipykernel"
info 16:21:8.334: Process Execution: > ~/cook/vcapo/.venv/bin/python -c "import pip"
> ~/cook/vcapo/.venv/bin/python -c "import pip"
info 16:21:12.417: Process Execution: > ~/cook/vcapo/.venv/bin/python -c "import pip"
> ~/cook/vcapo/.venv/bin/python -c "import pip"
info 16:21:12.434: Process Execution: > ~/cook/vcapo/.venv/bin/python -m pip install -U ipykernel
> ~/cook/vcapo/.venv/bin/python -m pip install -U ipykernel
info 16:21:12.740: Collecting ipykernel

info 16:21:12.789:   Using cached ipykernel-6.15.1-py3-none-any.whl (132 kB)

info 16:21:12.827: Collecting appnope

info 16:21:12.829:   Using cached appnope-0.1.3-py2.py3-none-any.whl (4.4 kB)

info 16:21:12.882: Collecting ipython>=7.23.1

info 16:21:12.885:   Using cached ipython-8.4.0-py3-none-any.whl (750 kB)

info 16:21:13.6: Collecting pyzmq>=17

info 16:21:13.11:   Using cached pyzmq-23.2.0-cp39-cp39-macosx_10_15_universal2.whl (1.9 MB)

info 16:21:13.53: Collecting jupyter-client>=6.1.12

info 16:21:13.57:   Using cached jupyter_client-7.3.4-py3-none-any.whl (132 kB)

info 16:21:13.150: Collecting psutil

info 16:21:13.150:   Using cached psutil-5.9.1-cp39-cp39-macosx_12_0_arm64.whl

info 16:21:13.202: Collecting tornado>=6.1

info 16:21:13.204:   Using cached tornado-6.2-cp37-abi3-macosx_10_9_universal2.whl (421 kB)

info 16:21:13.298: Collecting debugpy>=1.0

info 16:21:13.304:   Using cached debugpy-1.6.2-py2.py3-none-any.whl (4.4 MB)

info 16:21:13.344: Collecting matplotlib-inline>=0.1

info 16:21:13.347:   Using cached matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)

info 16:21:13.379: Collecting nest-asyncio

info 16:21:13.381:   Using cached nest_asyncio-1.5.5-py3-none-any.whl (5.2 kB)

info 16:21:13.419: Collecting packaging

info 16:21:13.421:   Using cached packaging-21.3-py3-none-any.whl (40 kB)

info 16:21:13.457: Collecting traitlets>=5.1.0

info 16:21:13.459:   Using cached traitlets-5.3.0-py3-none-any.whl (106 kB)

info 16:21:13.514: Collecting pexpect>4.3

info 16:21:13.517:   Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)

info 16:21:13.550: Collecting jedi>=0.16

info 16:21:13.554:   Using cached jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)

info 16:21:13.593: Collecting pickleshare

info 16:21:13.595:   Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)

info 16:21:13.662: Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0

info 16:21:13.664:   Using cached prompt_toolkit-3.0.30-py3-none-any.whl (381 kB)

info 16:21:13.667: Requirement already satisfied: setuptools>=18.5 in ./.venv/lib/python3.9/site-packages (from ipython>=7.23.1->ipykernel) (60.10.0)

info 16:21:13.700: Collecting stack-data

info 16:21:13.702:   Using cached stack_data-0.3.0-py3-none-any.whl (23 kB)

info 16:21:13.747: Collecting pygments>=2.4.0

info 16:21:13.750:   Using cached Pygments-2.12.0-py3-none-any.whl (1.1 MB)

info 16:21:13.779: Collecting backcall

info 16:21:13.782:   Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)

info 16:21:13.814: Collecting decorator

info 16:21:13.816:   Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)

info 16:21:13.853: Collecting entrypoints

info 16:21:13.855:   Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)

info 16:21:13.858: Requirement already satisfied: python-dateutil>=2.8.2 in ./.venv/lib/python3.9/site-packages (from jupyter-client>=6.1.12->ipykernel) (2.8.2)

info 16:21:13.906: Collecting jupyter-core>=4.9.2

info 16:21:13.908:   Using cached jupyter_core-4.11.1-py3-none-any.whl (88 kB)

info 16:21:13.959: Collecting pyparsing!=3.0.5,>=2.0.2

info 16:21:13.961:   Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)

info 16:21:14.1: Collecting parso<0.9.0,>=0.8.0

info 16:21:14.9:   Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)

info 16:21:14.40: Collecting ptyprocess>=0.5

info 16:21:14.43:   Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)

info 16:21:14.75: Collecting wcwidth

info 16:21:14.77:   Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)

info 16:21:14.84: Requirement already satisfied: six>=1.5 in ./.venv/lib/python3.9/site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.12->ipykernel) (1.16.0)

info 16:21:14.118: Collecting pure-eval

info 16:21:14.121:   Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)

info 16:21:14.159: Collecting asttokens

info 16:21:14.161:   Using cached asttokens-2.0.5-py2.py3-none-any.whl (20 kB)

info 16:21:14.189: Collecting executing

info 16:21:14.192:   Using cached executing-0.9.0-py2.py3-none-any.whl (16 kB)

info 16:21:14.292: Installing collected packages: wcwidth, pure-eval, ptyprocess, pickleshare, executing, backcall, appnope, traitlets, tornado, pyzmq, pyparsing, pygments, psutil, prompt-toolkit, pexpect, parso, nest-asyncio, entrypoints, decorator, debugpy, asttokens, stack-data, packaging, matplotlib-inline, jupyter-core, jedi, jupyter-client, ipython, ipykernel

info 16:21:16.302: Successfully installed appnope-0.1.3 asttokens-2.0.5 backcall-0.2.0 debugpy-1.6.2 decorator-5.1.1 entrypoints-0.4 executing-0.9.0 ipykernel-6.15.1 ipython-8.4.0 jedi-0.18.1 jupyter-client-7.3.4 jupyter-core-4.11.1 matplotlib-inline-0.1.3 nest-asyncio-1.5.5 packaging-21.3 parso-0.8.3 pexpect-4.8.0 pickleshare-0.7.5 prompt-toolkit-3.0.30 psutil-5.9.1 ptyprocess-0.7.0 pure-eval-0.2.2 pygments-2.12.0 pyparsing-3.0.9 pyzmq-23.2.0 stack-data-0.3.0 tornado-6.2 traitlets-5.3.0 wcwidth-0.2.5

info 16:21:16.303: WARNING: You are using pip version 22.0.4; however, version 22.2 is available.
You should consider upgrading via the '/Users/pasta/cook/vcapo/.venv/bin/python -m pip install --upgrade pip' command.

info 16:21:16.356: Process Execution: > ~/cook/vcapo/.venv/bin/python -c "import ipykernel"
> ~/cook/vcapo/.venv/bin/python -c "import ipykernel"
info 16:21:17.218: Process Execution: > ~/cook/vcapo/.venv/bin/python -m pip list
> ~/cook/vcapo/.venv/bin/python -m pip list
info 16:21:17.218: RegisterKernel for .jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9./Users/pasta/cook/vcapo/.venv/python./Users/pasta/cook/vcapo/.venv/python.-m#ipykernel_launcher into /Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/temp/jupyter/kernels/python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9/kernel.json
info 16:21:17.220: Spec argv[0] updated from 'python' to '/Users/pasta/cook/vcapo/.venv/bin/python'
[I 16:21:17.253 NotebookApp] Kernel started: d036c309-12ec-47e5-9077-5da2a8240d03, name: python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9
info 16:21:17.261: Waiting for idle on (kernel): d036c309-12ec-47e5-9077-5da2a8240d03 -> unknown
[W 16:21:17.263 NotebookApp] delete /lambdas/orch/requestMgt.py-jvsc-c0fbe164-67e6-4574-9993-2373d2ae1673fe28b690-82a3-4eae-92a6-dc9718e75764.ipynb
[I 16:21:20.242 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
[I 16:21:23.259 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
[I 16:21:26.302 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
[I 16:21:29.328 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
[I 16:21:32.350 NotebookApp] KernelRestarter: restarting kernel (5/5), new random ports
[W 16:21:35.373 NotebookApp] KernelRestarter: restart failed
[W 16:21:35.373 NotebookApp] Kernel d036c309-12ec-47e5-9077-5da2a8240d03 died, removing from map.
error 16:22:17.261: Failed to change kernel [TypeError: Cannot read properties of null (reading 'statusChanged')
	at S.waitForIdleOnSession (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:1922009)
	at async S.createNewKernelSession (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2248597)
	at async S.connect (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2247418)
	at async u.startNew (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2255802)
	at async a (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202015)
	at async _.createNotebookInstance (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202178)
	at async _.createNotebook (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2203183)]
warn 16:22:17.270: Error occurred while trying to start the kernel, options.disableUI=false [a [Error]: Kernel .venv (Python 3.9.12) is not usable. Check the Jupyter output tab for more information.
	at S.createNewKernelSession (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2248821)
	at async S.connect (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2247418)
	at async u.startNew (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2255802)
	at async a (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202015)
	at async _.createNotebookInstance (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202178)
	at async _.createNotebook (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2203183)] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/temp/jupyter/kernels/python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9/kernel.json',
      interpreterPath: '/Users/pasta/cook/vcapo/.venv/bin/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9',
      argv: [Array],
      language: 'python',
      executable: 'python',
      display_name: "Python 3.9.12 ('.venv': venv)",
      metadata: [Object],
      env: {}
    },
    interpreter: {
      id: '/Users/pasta/cook/vcapo/.venv/bin/python',
      sysPrefix: '/Users/pasta/cook/vcapo/.venv',
      envType: 'Venv',
      envName: '.venv',
      envPath: [w],
      architecture: 3,
      sysVersion: '3.9.12 (main, Mar 26 2022, 15:44:31) \n' +
        '[Clang 13.1.6 (clang-1316.0.21.2)]',
      version: [Object],
      displayName: "Python 3.9.12 ('.venv': venv)",
      detailedDisplayName: "Python 3.9.12 ('.venv': venv)",
      uri: [w]
    },
    id: '.jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9./Users/pasta/cook/vcapo/.venv/python./Users/pasta/cook/vcapo/.venv/python.-m#ipykernel_launcher'
  }
}
warn 16:22:17.271: Kernel Error, context = start [a [Error]: Kernel .venv (Python 3.9.12) is not usable. Check the Jupyter output tab for more information.
	at S.createNewKernelSession (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2248821)
	at async S.connect (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2247418)
	at async u.startNew (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2255802)
	at async a (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202015)
	at async _.createNotebookInstance (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202178)
	at async _.createNotebook (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2203183)] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/temp/jupyter/kernels/python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9/kernel.json',
      interpreterPath: '/Users/pasta/cook/vcapo/.venv/bin/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9',
      argv: [Array],
      language: 'python',
      executable: 'python',
      display_name: "Python 3.9.12 ('.venv': venv)",
      metadata: [Object],
      env: {}
    },
    interpreter: {
      id: '/Users/pasta/cook/vcapo/.venv/bin/python',
      sysPrefix: '/Users/pasta/cook/vcapo/.venv',
      envType: 'Venv',
      envName: '.venv',
      envPath: [w],
      architecture: 3,
      sysVersion: '3.9.12 (main, Mar 26 2022, 15:44:31) \n' +
        '[Clang 13.1.6 (clang-1316.0.21.2)]',
      version: [Object],
      displayName: "Python 3.9.12 ('.venv': venv)",
      detailedDisplayName: "Python 3.9.12 ('.venv': venv)",
      uri: [w]
    },
    id: '.jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9./Users/pasta/cook/vcapo/.venv/python./Users/pasta/cook/vcapo/.venv/python.-m#ipykernel_launcher'
  }
}
[W 16:22:17.264 NotebookApp] Timeout waiting for kernel_info reply from d036c309-12ec-47e5-9077-5da2a8240d03
info 16:22:17.275: Process Execution: > ~/cook/vcapo/.venv/bin/python -c "import ipykernel"
> ~/cook/vcapo/.venv/bin/python -c "import ipykernel"
[E 16:22:17.266 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: d036c309-12ec-47e5-9077-5da2a8240d03)
info 16:22:17.372: Dispose Kernel 'Interactive-1.interactive' associated with '/Users/pasta/cook/vcapo/lambdas/orch/requestMgt.py'
error 16:22:17.373: Error in execution (get message for cell) [a [Error]: Kernel .venv (Python 3.9.12) is not usable. Check the Jupyter output tab for more information.
	at S.createNewKernelSession (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2248821)
	at async S.connect (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2247418)
	at async u.startNew (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2255802)
	at async a (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202015)
	at async _.createNotebookInstance (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202178)
	at async _.createNotebook (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2203183)] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/temp/jupyter/kernels/python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9/kernel.json',
      interpreterPath: '/Users/pasta/cook/vcapo/.venv/bin/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9',
      argv: [Array],
      language: 'python',
      executable: 'python',
      display_name: "Python 3.9.12 ('.venv': venv)",
      metadata: [Object],
      env: {}
    },
    interpreter: {
      id: '/Users/pasta/cook/vcapo/.venv/bin/python',
      sysPrefix: '/Users/pasta/cook/vcapo/.venv',
      envType: 'Venv',
      envName: '.venv',
      envPath: [w],
      architecture: 3,
      sysVersion: '3.9.12 (main, Mar 26 2022, 15:44:31) \n' +
        '[Clang 13.1.6 (clang-1316.0.21.2)]',
      version: [Object],
      displayName: "Python 3.9.12 ('.venv': venv)",
      detailedDisplayName: "Python 3.9.12 ('.venv': venv)",
      uri: [w]
    },
    id: '.jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9./Users/pasta/cook/vcapo/.venv/python./Users/pasta/cook/vcapo/.venv/python.-m#ipykernel_launcher'
  }
}
warn 16:22:17.374: DataScience Error [a [Error]: Kernel .venv (Python 3.9.12) is not usable. Check the Jupyter output tab for more information.
	at S.createNewKernelSession (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2248821)
	at async S.connect (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2247418)
	at async u.startNew (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2255802)
	at async a (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202015)
	at async _.createNotebookInstance (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2202178)
	at async _.createNotebook (/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/out/extension.node.js:2:2203183)] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/Users/pasta/.vscode/extensions/ms-toolsai.jupyter-2022.7.1001951036/temp/jupyter/kernels/python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9/kernel.json',
      interpreterPath: '/Users/pasta/cook/vcapo/.venv/bin/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'python3912jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9',
      argv: [Array],
      language: 'python',
      executable: 'python',
      display_name: "Python 3.9.12 ('.venv': venv)",
      metadata: [Object],
      env: {}
    },
    interpreter: {
      id: '/Users/pasta/cook/vcapo/.venv/bin/python',
      sysPrefix: '/Users/pasta/cook/vcapo/.venv',
      envType: 'Venv',
      envName: '.venv',
      envPath: [w],
      architecture: 3,
      sysVersion: '3.9.12 (main, Mar 26 2022, 15:44:31) \n' +
        '[Clang 13.1.6 (clang-1316.0.21.2)]',
      version: [Object],
      displayName: "Python 3.9.12 ('.venv': venv)",
      detailedDisplayName: "Python 3.9.12 ('.venv': venv)",
      uri: [w]
    },
    id: '.jvsc74a57bd00abf02d85f5bc12769b19ecb11f5bb228bbec50b9320fe8d88fb4c3a54b65bc9./Users/pasta/cook/vcapo/.venv/python./Users/pasta/cook/vcapo/.venv/python.-m#ipykernel_launcher'
  }
}
info 16:26:39.836: Attempting to start a server because of preload conditions ...

Coding Language and Runtime Version

python 3.9.12

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
johnkneedeecommented, Jul 25, 2022

it turns out that a i had a file email.py that crashed it. renamed it to workEmail.py and fixed it.

0reactions
DonJayamannecommented, Jul 25, 2022

e, and I cannot seem to be able to kill it.

Kill what? If you are referring to this folder, /Users/pasta/cook/hmi_sepsis/.venv, then I’d suggest deleting that folder completely and reloading VS Code and trying again. Please send the logs once that folder has been deleted and you still run into issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to start kernel - Waiting for Jupiter Session to be Idle ...
I logged into the jupyter URL via browser and was able to see Notebook running so it's like commands are being sent but...
Read more >
VS Code using Jupyter: Connecting to kernel: Python 3.6.9
I am having trouble running my import statement in VS code Jupyter. I split them into individual cells. I find ...
Read more >
How to Fix Kernel Error in Jupyter Notebook
So, a kernel error occurs when Jupyter fails to connect with a specific version of Python. When the system encounters difficulties locating the ......
Read more >
Working with Jupyter code cells in the Python Interactive window
Within the Python Interactive window, it's possible to view, inspect, and filter the variables within your current Jupyter session. Select the Variables ...
Read more >
What to do when things go wrong - The Jupyter Notebook
If you're using a menu shortcut or Anaconda launcher to start it, try opening a terminal or command prompt and running the command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found