Failed to start Jupyter in the environment
See original GitHub issueEnvironment 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
- Create New Jupyter Notebook
- Select a kernel (e.g., a conda virtual environment)
- 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:
- Create a new Jupyter Notebook
- Select a kernel. Here I selected my virtual environment py3point9
- Try to type some codes in a cell and run the cell, and got an error -
Failed to start Jupyter in the environment
. - 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:
- Created 2 years ago
- Comments:28 (14 by maintainers)
Top GitHub Comments
Hi @DonJayamanne , I installed the pre-release version of Jupyter Notebook and added the command
"jupyter.disablePythonDaemon": true
. Things are working (both inusr/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
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
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]
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]
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
Hmm, this is weird
/usr/bin/python3 -m pip install jupyter notebook --force-reinstall --user
?/usr/bin/python3 -m pip install jupyter notebook --force-reinstall
without the--user
flag/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.