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.

Failed to start Jupyter in the environment

See original GitHub issue

Environment data

  • VS Code version: 1.64.2 (Universal)
  • Jupyter Extension version (available under the Extensions sidebar): v2022.1.1001821375
  • Python Extension version (available under the Extensions sidebar): v2022.0.1814523869
  • OS (Windows | Mac | Linux distro) and version: Mac (M1 Max chip) and Mac OS 12.1
  • Python and/or Anaconda version: Python 3.9.10
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda
  • Jupyter server running: Local

Expected behaviour

  1. Create New Jupyter Notebook
  2. Select a kernel (e.g., a conda virtual environment)
  3. Connect to the kernel and run some codes

Actual behaviour

It failed when it tried to start Jupyter in the environment. I have had no problem using Jupyter Notebook in Visual Studio Code until today after I was prompted to restart Visual Studio Code for an update.

Steps to reproduce:

  1. Create a new Jupyter Notebook
  2. Select a kernel. Here I selected my virtual environment py3point9 CleanShot 2022-02-10 at 21 57 31
  3. Try to type some codes in a cell and run the cell, and got an error - Failed to start Jupyter in the environment. CleanShot 2022-02-10 at 22 02 35
  4. The Jupyter log is provided below

Logs

Visual Studio Code (1.64.2, undefined, desktop) Jupyter Extension Version: 2022.1.1001821375. Python Extension Version: 2022.0.1814523869. User belongs to experiment group ‘jupyterTest’ User belongs to experiment group ‘jupyterEnhancedDataViewer’ Error 21:59:25: Exception while attempting zmq : [Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=89 uv=1 armv=8 libc=glibc node=14.16.0 electron=13.5.2 loaded from: /Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/node_modules/zeromq

at Function.load.path (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/node_modules/node-gyp-build/index.js:59:9)
at load (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/node_modules/node-gyp-build/index.js:21:30)
at Object.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/node_modules/zeromq/lib/native.js:6:43)
at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Module._load (internal/modules/cjs/loader.js:823:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:32271)
at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:28855)
at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:60382)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
at Object.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/node_modules/zeromq/lib/index.js:3:16)
at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Module._load (internal/modules/cjs/loader.js:823:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:32271)
at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:28855)
at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:60382)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
at Object.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:195125)
at n (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:1:186)
at d.zmqSupported (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:113:223967)
at d.isSupportedForLocalLaunch (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:113:223758)
at d.get isSupported [as isSupported] (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:113:223668)
at t.registerTypes (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:66:1057519)
at /Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:66:275217
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async /Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:785306
at async t.activate (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:784985)
at async Promise.all (index 0)]

Info 21:59:25: Experiment status for python is {“enabled”:true,“optInto”:[],“optOutFrom”:[]} Info 21:59:25: Getting activation commands for /usr/bin/python3 are not cached. May take a while. Info 21:59:25: Interrupt requested & no kernel. Info 21:59:25: Setting setActiveController for untitled:Untitled-1.ipynb?jupyter-notebook Info 21:59:25: KernelProvider switched kernel to id = .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 21:59:25: Starting Notebook in kernel.ts id = .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 21:59:25: Checking for server existence. Info 21:59:25: Checking for server usability. Info 21:59:25: Process Execution: > /usr/bin/python3 -c “import jupyter”

/usr/bin/python3 -c “import jupyter” Info 21:59:25: Process Execution: > /usr/bin/python3 -c “import notebook” /usr/bin/python3 -c “import notebook” Info 21:59:26: Find preferred kernel for untitled:Untitled-1.ipynb?jupyter-notebook with metadata {“orig_nbformat”:4,“language_info”:{“name”:“python”}} & preferred interpreter /usr/bin/python3 Info 21:59:26: findKernel found Python 3.8.9 64-bit Info 21:59:26: PreferredConnection: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher found for NotebookDocument: untitled:Untitled-1.ipynb?jupyter-notebook Info 21:59:26: TargetController found ID: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher for document untitled:Untitled-1.ipynb?jupyter-notebook Info 21:59:26: Setting controller affinity for untitled:Untitled-1.ipynb?jupyter-notebook .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher Info 21:59:26: Creating controller for jupyter-notebook with interpreter /usr/bin/python3 Info 21:59:26: Process Execution: > /usr/bin/python3 -m pip list /usr/bin/python3 -m pip list Info 21:59:26: Process Execution: > /usr/bin/python3 -m jupyter kernelspec --version /usr/bin/python3 -m jupyter kernelspec --version Info 21:59:26: Process Execution: > /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/getJupyterKernelspecVersion.py /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/getJupyterKernelspecVersion.py Info 21:59:26: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -m pip list /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -m pip list Info 21:59:26: Registering dummy command feature Info 21:59:26: Got activated conda env vars ourselves for /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python in 325 Info 21:59:26: Starting notebook server. Info 21:59:26: Connecting to server Info 21:59:26: Launching server Info 21:59:26: Starting Notebook Info 21:59:26: Generating custom default config at /var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/12fa29af-9a3f-4ca4-9ad3-6babd54e7cea/jupyter_notebook_config.py Info 21:59:26: Starting Jupyter Notebook Starting Jupyter from /usr/bin/python3 with command line --no-browser --notebook-dir=“/” --config=/var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/12fa29af-9a3f-4ca4-9ad3-6babd54e7cea/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0 Info 21:59:26: Creating daemon pool for /usr/bin/python3 with env variables count 0 Info 21:59:26: Process Execution: > /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 Info 21:59:26: Process Execution: > /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 Info 21:59:26: Process Execution: > /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 Error 21:59:31: Failed to start the Daemon, StdErr: Traceback (most recent call last): File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 130, in main daemon_cls.start_daemon(queue_handler, args.ppid) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py”, line 221, in start_daemon server = cls(stdin, stdout, ppid) TypeError: init() takes 3 positional arguments but 4 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 194, in _run_module_as_main return _run_code(code, main_globals, None, File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 87, in _run_code exec(code, run_globals) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 139, in <module> main() File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 135, in main raise Exception(“Failed to start daemon”) Exception: Failed to start daemon

Error 21:59:31: Failed to start the Daemon, ProcEndEx [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Failed to start the Daemon, Ex [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Pinging Daemon Failed, Class name = d, completed in 5006ms, has a falsy return value, Arg 1: {}, Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Failed to create daemon, Class name = d, completed in 5009ms, has a falsy return value, , Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Failed to create the daemon service, defaulting to activated environment [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Failed to create the daemon service, defaulting to activated environment [Error: Timeout waiting for daemon to start at Timeout.onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Info 21:59:31: Process Execution: > /usr/bin/python3 -m jupyter notebook --no-browser --notebook-dir=“/” --config=/var/folders/3/n7ch46517q395_b8dkhngclh0000gn/T/12fa29af-9a3f-4ca4-9ad3-6babd54e7cea/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0

/usr/bin/python3 -m jupyter notebook --no-browser --notebook-dir=“/” --config=/var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/12fa29af-9a3f-4ca4-9ad3-6babd54e7cea/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0 Info 21:59:31: Waiting for Jupyter Notebook Error 21:59:31: Failed to start the Daemon, StdErr: Traceback (most recent call last): File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 130, in main daemon_cls.start_daemon(queue_handler, args.ppid) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py”, line 221, in start_daemon server = cls(stdin, stdout, ppid) TypeError: init() takes 3 positional arguments but 4 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 194, in _run_module_as_main return _run_code(code, main_globals, None, File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 87, in _run_code exec(code, run_globals) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 139, in <module> main() File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 135, in main raise Exception(“Failed to start daemon”) Exception: Failed to start daemon

Error 21:59:31: Failed to start the Daemon, ProcEndEx [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Failed to start the Daemon, Ex [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Pinging Daemon Failed, Class name = d, completed in 5011ms, has a falsy return value, Arg 1: {}, Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Failed to create daemon, Class name = d, completed in 5013ms, has a falsy return value, , Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Failed to start the Daemon, StdErr: Traceback (most recent call last): File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 130, in main daemon_cls.start_daemon(queue_handler, args.ppid) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py”, line 221, in start_daemon server = cls(stdin, stdout, ppid) TypeError: init() takes 3 positional arguments but 4 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 194, in _run_module_as_main return _run_code(code, main_globals, None, File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 87, in _run_code exec(code, run_globals) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 139, in <module> main() File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 135, in main raise Exception(“Failed to start daemon”) Exception: Failed to start daemon

Error 21:59:31: Failed to start the Daemon, ProcEndEx [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Failed to start the Daemon, Ex [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Pinging Daemon Failed, Class name = d, completed in 5012ms, has a falsy return value, Arg 1: {}, Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 21:59:31: Failed to create daemon, Class name = d, completed in 5013ms, has a falsy return value, , Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found. Info 21:59:31: usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found.

Error 21:59:31: failed to create INotebook in kernel, UI Disabled = true [i [Error]: Jupyter server crashed. Unable to connect. Error code from jupyter: 1 usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found.

at t.JupyterConnectionWaiter.rejectStartPromise (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:519420)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:520072)
at t.n (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16688)
at t.__tryOrUnsub (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16930)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16823)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:15287)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:14986)
at ChildProcess.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:24:97233)
at Object.onceWrapper (events.js:422:26)
at ChildProcess.emit (events.js:327:22)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)] {

category: ‘jupyterconnection’ } Error 21:59:31: failed to start INotebook in kernel, UI Disabled = true [i [Error]: Jupyter server crashed. Unable to connect. Error code from jupyter: 1 usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found.

at t.JupyterConnectionWaiter.rejectStartPromise (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:519420)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:520072)
at t.n (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16688)
at t.__tryOrUnsub (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16930)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16823)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:15287)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:14986)
at ChildProcess.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:24:97233)
at Object.onceWrapper (events.js:422:26)
at ChildProcess.emit (events.js:327:22)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)] {

category: ‘jupyterconnection’ } Info 21:59:31: Registering dummy command feature Error 21:59:54: Live Notebook not available for untitled:Untitled-1.ipynb?jupyter-notebook Info 22:02:28: Execute Cells request 0 Info 22:02:28: Execute Cell 0 untitled:Untitled-1.ipynb?jupyter-notebook Info 22:02:28: Starting Notebook in kernel.ts id = .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 22:02:28: Checking for server existence. Info 22:02:28: Checking for server usability. Info 22:02:28: Starting notebook server. Info 22:02:28: Connecting to server Info 22:02:28: Launching server Info 22:02:28: Starting Notebook Info 22:02:28: Generating custom default config at /var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/f0256c30-fe52-4ada-8d1d-6b9881a4f72d/jupyter_notebook_config.py Info 22:02:28: Starting Jupyter Notebook Starting Jupyter from /usr/bin/python3 with command line --no-browser --notebook-dir=“/” --config=/var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/f0256c30-fe52-4ada-8d1d-6b9881a4f72d/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0 Info 22:02:28: Creating daemon pool for /usr/bin/python3 with env variables count 0 Info 22:02:28: Process Execution: > /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801

/usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 Info 22:02:28: Process Execution: > /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 Info 22:02:28: Process Execution: > /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 3801 Error 22:02:33: Failed to start the Daemon, StdErr: Traceback (most recent call last): File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 130, in main daemon_cls.start_daemon(queue_handler, args.ppid) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py”, line 221, in start_daemon server = cls(stdin, stdout, ppid) TypeError: init() takes 3 positional arguments but 4 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 194, in _run_module_as_main return _run_code(code, main_globals, None, File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 87, in _run_code exec(code, run_globals) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 139, in <module> main() File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 135, in main raise Exception(“Failed to start daemon”) Exception: Failed to start daemon

Error 22:02:33: Failed to start the Daemon, ProcEndEx [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Failed to start the Daemon, Ex [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Pinging Daemon Failed, Class name = d, completed in 5002ms, has a falsy return value, Arg 1: {}, Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Failed to create daemon, Class name = d, completed in 5005ms, has a falsy return value, , Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Failed to create the daemon service, defaulting to activated environment [Error: Timeout waiting for daemon to start at Timeout.onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Info 22:02:33: Process Execution: > /usr/bin/python3 -m jupyter notebook --no-browser --notebook-dir=“/” --config=/var/folders/3/n7ch46517q395_b8dkhngclh0000gn/T/f0256c30-fe52-4ada-8d1d-6b9881a4f72d/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0

/usr/bin/python3 -m jupyter notebook --no-browser --notebook-dir=“/” --config=/var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/f0256c30-fe52-4ada-8d1d-6b9881a4f72d/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0 Info 22:02:33: Waiting for Jupyter Notebook Error 22:02:33: Failed to start the Daemon, StdErr: Traceback (most recent call last): File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 130, in main daemon_cls.start_daemon(queue_handler, args.ppid) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py”, line 221, in start_daemon server = cls(stdin, stdout, ppid) TypeError: init() takes 3 positional arguments but 4 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 194, in _run_module_as_main return _run_code(code, main_globals, None, File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 87, in _run_code exec(code, run_globals) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 139, in <module> main() File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 135, in main raise Exception(“Failed to start daemon”) Exception: Failed to start daemon

Error 22:02:33: Failed to start the Daemon, ProcEndEx [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Failed to start the Daemon, Ex [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Pinging Daemon Failed, Class name = d, completed in 5009ms, has a falsy return value, Arg 1: {}, Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Failed to create daemon, Class name = d, completed in 5010ms, has a falsy return value, , Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Failed to start the Daemon, StdErr: Traceback (most recent call last): File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 130, in main daemon_cls.start_daemon(queue_handler, args.ppid) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py”, line 221, in start_daemon server = cls(stdin, stdout, ppid) TypeError: init() takes 3 positional arguments but 4 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 194, in _run_module_as_main return _run_code(code, main_globals, None, File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py”, line 87, in _run_code exec(code, run_globals) File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 139, in <module> main() File “/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/pythonFiles/vscode_datascience_helpers/daemon/main.py”, line 135, in main raise Exception(“Failed to start daemon”) Exception: Failed to start daemon

Error 22:02:33: Failed to start the Daemon, ProcEndEx [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Failed to start the Daemon, Ex [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Pinging Daemon Failed, Class name = d, completed in 5009ms, has a falsy return value, Arg 1: {}, Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 22:02:33: Failed to create daemon, Class name = d, completed in 5011ms, has a falsy return value, , Return Value: undefined [Error: Timeout waiting for daemon to start at Timeout._onTimeout (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:490231) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found. Info 22:02:33: usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found.

Error 22:02:33: failed to create INotebook in kernel, UI Disabled = false [i [Error]: Jupyter server crashed. Unable to connect. Error code from jupyter: 1 usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found.

at t.JupyterConnectionWaiter.rejectStartPromise (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:519420)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:520072)
at t.n (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16688)
at t.__tryOrUnsub (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16930)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16823)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:15287)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:14986)
at ChildProcess.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:24:97233)
at Object.onceWrapper (events.js:422:26)
at ChildProcess.emit (events.js:327:22)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)] {

category: ‘jupyterconnection’ } Warn 22:02:33: Kernel Error [i [Error]: Jupyter server crashed. Unable to connect. Error code from jupyter: 1 usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found.

at t.JupyterConnectionWaiter.rejectStartPromise (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:519420)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:520072)
at t.n (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16688)
at t.__tryOrUnsub (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16930)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16823)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:15287)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:14986)
at ChildProcess.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:24:97233)
at Object.onceWrapper (events.js:422:26)
at ChildProcess.emit (events.js:327:22)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)] {

category: ‘jupyterconnection’ } Error 22:02:33: failed to start INotebook in kernel, UI Disabled = false [i [Error]: Jupyter server crashed. Unable to connect. Error code from jupyter: 1 usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found.

at t.JupyterConnectionWaiter.rejectStartPromise (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:519420)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:520072)
at t.n (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16688)
at t.__tryOrUnsub (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16930)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16823)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:15287)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:14986)
at ChildProcess.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:24:97233)
at Object.onceWrapper (events.js:422:26)
at ChildProcess.emit (events.js:327:22)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)] {

category: ‘jupyterconnection’ } Error 22:02:33: Failed to execute cells in CellExecutionQueue [i [Error]: Jupyter server crashed. Unable to connect. Error code from jupyter: 1 usage: jupyter.py [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]

Jupyter: Interactive Computing

positional arguments: subcommand the subcommand to launch

optional arguments: -h, --help show this help message and exit –version show the versions of core jupyter packages and exit –config-dir show Jupyter config dir –data-dir show Jupyter data dir –runtime-dir show Jupyter runtime dir –paths show all Jupyter paths. Add --json for machine-readable format. –json output paths as machine-readable json –debug output debug information about paths

Available subcommands:

Jupyter command jupyter-notebook not found.

at t.JupyterConnectionWaiter.rejectStartPromise (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:519420)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:51:520072)
at t.n (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16688)
at t.__tryOrUnsub (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16930)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:16823)
at t._complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:15287)
at t.complete (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:16:14986)
at ChildProcess.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.1.1001821375/out/client/extension.js:24:97233)
at Object.onceWrapper (events.js:422:26)
at ChildProcess.emit (events.js:327:22)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)] {

category: ‘jupyterconnection’ } Info 22:02:33: Cancel pending cells Info 22:02:33: Cell 0 executed with state Idle

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:28 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
EricCHChangcommented, Mar 16, 2022

Hi @DonJayamanne , I installed the pre-release version of Jupyter Notebook and added the command "jupyter.disablePythonDaemon": true. Things are working (both in usr/bin/python3 and my virtual environment). Please see the output log below.

Visual Studio Code (1.65.2, undefined, desktop) Jupyter Extension Version: 2022.3.1000762011. Python Extension Version: 2022.2.1924087327. User belongs to experiment group ‘jupyterTest’ User belongs to experiment group ‘jupyterEnhancedDataViewer’ Error 13:59:42: Exception while attempting zmq : [Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=89 uv=1 armv=8 libc=glibc node=14.16.0 electron=13.5.2 loaded from: /Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/node_modules/zeromq

at Function.load.path (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/node_modules/node-gyp-build/index.js:1:2741)
at load (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/node_modules/node-gyp-build/index.js:1:625)
at Object.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/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 (internal/modules/cjs/loader.js:1155:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Module._load (internal/modules/cjs/loader.js:823:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.n._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:32148)
at Function._._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:28737)
at Function.g._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:60372)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
at Object.<anonymous> (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/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 (internal/modules/cjs/loader.js:1155:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Module._load (internal/modules/cjs/loader.js:823:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.n._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:32148)
at Function._._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:28737)
at Function.g._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:60372)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
at Object.92747 (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:3938458)
at __webpack_require__ (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:4606171)
at u.zmqSupported (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:1026035)
at u.isSupportedForLocalLaunch (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:1025778)
at u.get isSupported [as isSupported] (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:1025688)
at t.registerTypes (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:334624)
at /Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:419953
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async /Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:4607746
at async e.activate (/Users/eric/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:4607423)
at async Promise.all (index 0)]

Info 13:59:42: Old kernelspecs (created by Jupyter extension) stored in directory /Users/eric/Library/Jupyter/kernels/__old_vscode_kernelspecs Info 13:59:42: Experiment status for python is {“enabled”:true,“optInto”:[],“optOutFrom”:[]} Info 13:59:42: Getting activation commands for /usr/bin/python3 are not cached. May take a while. Info 13:59:42: Process Execution: > /usr/bin/python3 -m pip list

/usr/bin/python3 -m pip list Info 13:59:43: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -c “import jupyter” /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -c “import jupyter” Info 13:59:43: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -c “import notebook” /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -c “import notebook” Info 13:59:43: Got activated conda env vars ourselves for /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python in 280 Info 13:59:43: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -m jupyter kernelspec --version /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -m jupyter kernelspec --version Info 13:59:48: Creating controller for jupyter-notebook with interpreter /usr/bin/python3 Info 13:59:48: Find preferred kernel for untitled:Untitled-1.ipynb?jupyter-notebook with metadata {“orig_nbformat”:4,“language_info”:{“name”:“python”}} & preferred interpreter /usr/bin/python3 Info 13:59:48: findKernel found Python 3.8.9 64-bit Info 13:59:48: PreferredConnection: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher found for NotebookDocument: untitled:Untitled-1.ipynb?jupyter-notebook Info 13:59:48: TargetController found ID: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher for document untitled:Untitled-1.ipynb?jupyter-notebook Info 13:59:48: Setting controller affinity for untitled:Untitled-1.ipynb?jupyter-notebook .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher Info 13:59:48: Interrupt requested & no kernel. Info 13:59:48: Setting setActiveController for untitled:Untitled-1.ipynb?jupyter-notebook Info 13:59:48: KernelProvider switched kernel to id = .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 13:59:48: Starting Notebook in kernel.ts id = .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 13:59:48: Checking for server existence. Info 13:59:48: Checking for server usability. Info 13:59:48: Starting notebook server. Info 13:59:48: Connecting to server Info 13:59:48: Launching server Info 13:59:48: Starting Notebook Info 13:59:48: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -m pip list /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -m pip list Info 13:59:48: Generating custom default config at /var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/410dd870-bb47-4e28-a366-91cab2863f47/jupyter_notebook_config.py Info 13:59:48: Starting Jupyter Notebook Starting Jupyter from /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python with command line --no-browser --notebook-dir=“/Users/eric/Documents/IMI_BigDataCompetition_2022” --KernelManager.autorestart=False --config=/var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/410dd870-bb47-4e28-a366-91cab2863f47/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0 Info 13:59:48: Not using daemon support for /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python Info 13:59:48: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -m jupyter notebook --no-browser --notebook-dir=“/Users/eric/Documents/IMI_BigDataCompetition_2022” --KernelManager.autorestart=False --config=/var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/410dd870-bb47-4e28-a366-91cab2863f47/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0 /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -m jupyter notebook --no-browser --notebook-dir=“/Users/eric/Documents/IMI_BigDataCompetition_2022” --KernelManager.autorestart=False --config=/var/folders/3_/n7ch46517q395_b8dkhngclh0000gn/T/410dd870-bb47-4e28-a366-91cab2863f47/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0 Info 13:59:48: Waiting for Jupyter Notebook Info 13:59:48: Registering dummy command feature Info 13:59:48: Registering dummy command feature /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/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/eric/Documents/IMI_BigDataCompetition_2022’ instead of ‘“/Users/eric/Documents/IMI_BigDataCompetition_2022”’ if you require traitlets >=5. warn( Info 13:59:49: /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/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/eric/Documents/IMI_BigDataCompetition_2022’ instead of ‘“/Users/eric/Documents/IMI_BigDataCompetition_2022”’ if you require traitlets >=5. warn(

Info 13:59:49: Not using daemon support for /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python [W 2022-03-16 13:59:49.243 LabApp] ‘notebook_dir’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘config_file’ was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose. Info 13:59:49: /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/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/eric/Documents/IMI_BigDataCompetition_2022’ instead of ‘“/Users/eric/Documents/IMI_BigDataCompetition_2022”’ if you require traitlets >=5. warn( [W 2022-03-16 13:59:49.243 LabApp] ‘notebook_dir’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘config_file’ was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose.

[W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. Info 13:59:49: /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/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/eric/Documents/IMI_BigDataCompetition_2022’ instead of ‘“/Users/eric/Documents/IMI_BigDataCompetition_2022”’ if you require traitlets >=5. warn( [W 2022-03-16 13:59:49.243 LabApp] ‘notebook_dir’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘config_file’ was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.

[I 2022-03-16 13:59:49.246 LabApp] JupyterLab extension loaded from /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/lib/python3.9/site-packages/jupyterlab [I 2022-03-16 13:59:49.246 LabApp] JupyterLab application directory is /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/share/jupyter/lab Info 13:59:49: /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/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/eric/Documents/IMI_BigDataCompetition_2022’ instead of ‘“/Users/eric/Documents/IMI_BigDataCompetition_2022”’ if you require traitlets >=5. warn( [W 2022-03-16 13:59:49.243 LabApp] ‘notebook_dir’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘config_file’ was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [I 2022-03-16 13:59:49.246 LabApp] JupyterLab extension loaded from /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/lib/python3.9/site-packages/jupyterlab [I 2022-03-16 13:59:49.246 LabApp] JupyterLab application directory is /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/share/jupyter/lab

[I 13:59:49.249 NotebookApp] Serving notebooks from local directory: /Users/eric/Documents/IMI_BigDataCompetition_2022 [I 13:59:49.249 NotebookApp] Jupyter Notebook 6.4.8 is running at: Info 13:59:49: /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/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/eric/Documents/IMI_BigDataCompetition_2022’ instead of ‘“/Users/eric/Documents/IMI_BigDataCompetition_2022”’ if you require traitlets >=5. warn( [W 2022-03-16 13:59:49.243 LabApp] ‘notebook_dir’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘config_file’ was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [I 2022-03-16 13:59:49.246 LabApp] JupyterLab extension loaded from /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/lib/python3.9/site-packages/jupyterlab [I 2022-03-16 13:59:49.246 LabApp] JupyterLab application directory is /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/share/jupyter/lab [I 13:59:49.249 NotebookApp] Serving notebooks from local directory: /Users/eric/Documents/IMI_BigDataCompetition_2022 [I 13:59:49.249 NotebookApp] Jupyter Notebook 6.4.8 is running at:

[I 13:59:49.249 NotebookApp] http://localhost:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e [I 13:59:49.249 NotebookApp] or http://127.0.0.1:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e [I 13:59:49.249 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). Info 13:59:49: /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/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/eric/Documents/IMI_BigDataCompetition_2022’ instead of ‘“/Users/eric/Documents/IMI_BigDataCompetition_2022”’ if you require traitlets >=5. warn( [W 2022-03-16 13:59:49.243 LabApp] ‘notebook_dir’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘config_file’ was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [I 2022-03-16 13:59:49.246 LabApp] JupyterLab extension loaded from /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/lib/python3.9/site-packages/jupyterlab [I 2022-03-16 13:59:49.246 LabApp] JupyterLab application directory is /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/share/jupyter/lab [I 13:59:49.249 NotebookApp] Serving notebooks from local directory: /Users/eric/Documents/IMI_BigDataCompetition_2022 [I 13:59:49.249 NotebookApp] Jupyter Notebook 6.4.8 is running at: [I 13:59:49.249 NotebookApp] http://localhost:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e [I 13:59:49.249 NotebookApp] or http://127.0.0.1:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e [I 13:59:49.249 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

Info 13:59:49: Not using daemon support for /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python [C 13:59:49.251 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/eric/Library/Jupyter/runtime/nbserver-54108-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e
 or http://127.0.0.1:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e

Info 13:59:49: /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/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/eric/Documents/IMI_BigDataCompetition_2022’ instead of ‘“/Users/eric/Documents/IMI_BigDataCompetition_2022”’ if you require traitlets >=5. warn( [W 2022-03-16 13:59:49.243 LabApp] ‘notebook_dir’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘config_file’ was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-03-16 13:59:49.243 LabApp] ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [I 2022-03-16 13:59:49.246 LabApp] JupyterLab extension loaded from /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/lib/python3.9/site-packages/jupyterlab [I 2022-03-16 13:59:49.246 LabApp] JupyterLab application directory is /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/share/jupyter/lab [I 13:59:49.249 NotebookApp] Serving notebooks from local directory: /Users/eric/Documents/IMI_BigDataCompetition_2022 [I 13:59:49.249 NotebookApp] Jupyter Notebook 6.4.8 is running at: [I 13:59:49.249 NotebookApp] http://localhost:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e [I 13:59:49.249 NotebookApp] or http://127.0.0.1:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e [I 13:59:49.249 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 13:59:49.251 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/eric/Library/Jupyter/runtime/nbserver-54108-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e
 or http://127.0.0.1:8888/?token=da28c153e4fe538775c4950aab790ac30bae6f724537bc3e

Info 13:59:49: Not using daemon support for /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python Info 13:59:49: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py

/opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py Info 13:59:49: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py Info 13:59:49: Connecting to process server Info 13:59:49: Connecting server kernel http://localhost:8888/ Info 13:59:49: Creating server with settings : {“baseUrl”:“http://localhost:8888/“,“appUrl”:”",“wsUrl”:“ws://localhost:8888/”,“token”:“da28c153e4fe538775c4950aab790ac30bae6f724537bc3e”,“appendToken”:true,“init”:{“cache”:“no-store”,“credentials”:"same-origin”}} Info 13:59:49: Connection complete server Info 13:59:49: Server started. [I 13:59:49.545 NotebookApp] Creating new notebook in Info 13:59:49: installMissingDependencies /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python Info 13:59:49: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -c “import ipykernel” /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -c “import ipykernel” Info 13:59:49: Spec argv[0] updated from ‘/opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python’ to ‘/opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python’ Info 13:59:49: Adding env Variable PYTHONNOUSERSITE to /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python Info 13:59:49: Starting a new session for kernel id = .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher, name = python3910jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145 [I 13:59:49.702 NotebookApp] Kernel started: 4c39b193-71e5-442d-a2ee-b9ca1595c76f, name: python3910jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145 Info 13:59:49: Waiting for idle on (kernel): 4c39b193-71e5-442d-a2ee-b9ca1595c76f -> unknown [W 13:59:49.712 NotebookApp] delete /Untitled-1-jvsc-3fd9982a-f99e-4fb6-9172-4f286c9fc316.ipynb Info 13:59:49: Got activated conda env vars ourselves for /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python in 261 Info 13:59:49: Finished waiting for idle on (kernel): 4c39b193-71e5-442d-a2ee-b9ca1595c76f -> idle Info 13:59:49: Started session for kernel .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 13:59:49: Finished connecting kernel .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 13:59:50: Executing silently Code (idle) = import site\nsite.addsitedir(site.getusersitepackages())\n__vsc_ipynb_file__ = “Untitled-1.ipynb”\n%con Info 13:59:50: Executing silently Code (completed) = import site\nsite.addsitedir(site.getusersitepackages())\n__vsc_ipynb_file__ = “Untitled-1.ipynb”\n%con Info 13:59:50: Waiting for idle on (kernel): 4c39b193-71e5-442d-a2ee-b9ca1595c76f -> idle Info 13:59:50: Finished waiting for idle on (kernel): 4c39b193-71e5-442d-a2ee-b9ca1595c76f -> idle Info 13:59:53: Execute Cells request 0 Info 13:59:53: Execute Cell 0 untitled:Untitled-1.ipynb?jupyter-notebook Info 13:59:53: Cell 0 executed with state Success Info 14:00:08: Setting setActiveController for untitled:Untitled-2.ipynb?jupyter-notebook Info 14:00:08: Creating controller for jupyter-notebook with interpreter /usr/bin/python3 Info 14:00:08: KernelProvider switched kernel to id = .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 14:00:08: Starting Notebook in kernel.ts id = .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 14:00:08: Find preferred kernel for untitled:Untitled-2.ipynb?jupyter-notebook with metadata {“orig_nbformat”:4,“language_info”:{“name”:“python”}} & preferred interpreter /usr/bin/python3 Info 14:00:08: findKernel found Python 3.8.9 64-bit Info 14:00:08: PreferredConnection: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher found for NotebookDocument: untitled:Untitled-2.ipynb?jupyter-notebook Info 14:00:08: TargetController found ID: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher for document untitled:Untitled-2.ipynb?jupyter-notebook Info 14:00:08: Setting controller affinity for untitled:Untitled-2.ipynb?jupyter-notebook .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher [I 14:00:08.759 NotebookApp] Creating new notebook in Info 14:00:08: installMissingDependencies /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python Info 14:00:08: Process Execution: > /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -c “import ipykernel” /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python -c “import ipykernel” Info 14:00:08: Spec argv[0] updated from ‘/opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python’ to ‘/opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python’ Info 14:00:08: Adding env Variable PYTHONNOUSERSITE to /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python Info 14:00:08: Starting a new session for kernel id = .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher, name = python3910jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145 [I 14:00:08.931 NotebookApp] Kernel started: 01cb7e4c-fd6c-4f65-bc1d-0613f954c931, name: python3910jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145 Info 14:00:08: Waiting for idle on (kernel): 01cb7e4c-fd6c-4f65-bc1d-0613f954c931 -> unknown [W 14:00:08.939 NotebookApp] delete /Untitled-2-jvsc-6646de68-cb29-4089-aabc-11a1353a1c58.ipynb Info 14:00:09: Not using daemon support for /opt/homebrew/Caskroom/miniforge/base/envs/py3point9/bin/python Info 14:00:09: Finished waiting for idle on (kernel): 01cb7e4c-fd6c-4f65-bc1d-0613f954c931 -> idle Info 14:00:09: Started session for kernel .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 14:00:09: Finished connecting kernel .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher Info 14:00:09: Executing silently Code (idle) = import site\nsite.addsitedir(site.getusersitepackages())\n__vsc_ipynb_file__ = “Untitled-2.ipynb”\n%con Info 14:00:09: Executing silently Code (completed) = import site\nsite.addsitedir(site.getusersitepackages())\n__vsc_ipynb_file__ = “Untitled-2.ipynb”\n%con Info 14:00:09: Waiting for idle on (kernel): 01cb7e4c-fd6c-4f65-bc1d-0613f954c931 -> idle Info 14:00:09: Finished waiting for idle on (kernel): 01cb7e4c-fd6c-4f65-bc1d-0613f954c931 -> idle Info 14:00:15: Setting setActiveController for untitled:Untitled-2.ipynb?jupyter-notebook Info 14:00:15: Disposing kernel .jvsc74a57bd0700ac6e335b065ddf9d832a001c53909e820dd41dce3fb4d6ebfc5b2caece145./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python./opt/homebrew/Caskroom/miniforge/base/envs/py3point9/python.-m#ipykernel_launcher for notebook untitled:Untitled-2.ipynb?jupyter-notebook due to selection of another kernel or closing of the notebook Info 14:00:15: Dispose kernel untitled:Untitled-2.ipynb?jupyter-notebook Info 14:00:15: Interrupt requested & no kernel. Info 14:00:15: KernelProvider switched kernel to id = .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher Info 14:00:15: Starting Notebook in kernel.ts id = .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher [I 14:00:15.047 NotebookApp] Kernel shutdown: 01cb7e4c-fd6c-4f65-bc1d-0613f954c931 [I 14:00:15.050 NotebookApp] Creating new notebook in Info 14:00:15: installMissingDependencies /usr/bin/python3 Info 14:00:15: Process Execution: > /usr/bin/python3 -c “import ipykernel” /usr/bin/python3 -c “import ipykernel” Info 14:00:17: Execute Cells request 0 Info 14:00:17: Execute Cell 0 untitled:Untitled-2.ipynb?jupyter-notebook Info 14:00:17: RegisterKernel for .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher into ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/temp/jupyter/kernels/python389jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6/kernel.json Info 14:00:17: Spec argv[0] updated from ‘python’ to ‘/usr/bin/python3’ Info 14:00:17: Starting a new session for kernel id = .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher, name = python389jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6 [I 14:00:17.919 NotebookApp] Kernel started: 171ba411-49a2-43d9-9511-b4cd42056c6e, name: python389jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6 Info 14:00:17: Waiting for idle on (kernel): 171ba411-49a2-43d9-9511-b4cd42056c6e -> unknown [W 14:00:17.925 NotebookApp] delete /Untitled-2-jvsc-c962a62e-9fd0-4da9-9761-0d8ddc21b173.ipynb Info 14:00:18: Finished waiting for idle on (kernel): 171ba411-49a2-43d9-9511-b4cd42056c6e -> idle Info 14:00:18: Started session for kernel .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher Info 14:00:18: Finished connecting kernel .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher Info 14:00:18: Executing silently Code (idle) = import site\nsite.addsitedir(site.getusersitepackages())\n__vsc_ipynb_file__ = “Untitled-2.ipynb”\n%con Info 14:00:18: Executing silently Code (completed) = import site\nsite.addsitedir(site.getusersitepackages())\n__vsc_ipynb_file__ = “Untitled-2.ipynb”\n%con Info 14:00:18: Waiting for idle on (kernel): 171ba411-49a2-43d9-9511-b4cd42056c6e -> idle Info 14:00:18: Finished waiting for idle on (kernel): 171ba411-49a2-43d9-9511-b4cd42056c6e -> idle Info 14:00:18: Cell 0 executed with state Success

1reaction
DonJayamannecommented, Feb 21, 2022

Hmm, this is weird

  • What’s the output in the terminal for the command /usr/bin/python3 -m pip install jupyter notebook --force-reinstall --user?
  • Try running /usr/bin/python3 -m pip install jupyter notebook --force-reinstall without the --user flag
  • Finally run jupyter again /usr/bin/python3 -m jupyter notebook --no-browser --notebook-dir="/Users/eric/Documents/IMI_BigDataCompetition_2022" --NotebookApp.iopub_data_rate_limit=10000000000.0

Thank you very much for your patience, I’d like to get to the bottom of this, this is very unusual.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to start the kernel on jupyter notebook - Stack Overflow
The fix for me - somehow a folder that contained f2py.exe (Numpy - on top of which Pandas is built) was not in...
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 ... Open Base Environment and select your directory....
Read more >
How to fix Kernel Error or broken Python in Jupyter Notebook
TL;DW BELOW! If you delete or upgrade your python version, you might get a Kernel Error when trying to use Jupyter Notebooks!
Read more >
Launching Jupyter ALWAYS results in Kernel Failure
This error is usually an indication that the selected kernel specification (aka, kernelspec) is referencing a module that is no longer available ......
Read more >
"Failed to start the Kernel" error occurred when starting ... - IBM
Using Hadoop environment, "Failed to start the Kernel" error occurred when launch Jupyter Notebook with JEG kernel. This problem occurred when login to...
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