Jupyter failing to start with custom command line arguments
See original GitHub issueEnvironment data
- VS Code version: 1.63.1(Universal)
- Jupyter Extension version (available under the Extensions sidebar): 2021.11.1001550889.
- Python Extension version (available under the Extensions sidebar): 2021.12.1559732655.
- OS (Windows | Mac | Linux distro) and version: M1 MBP Monterey 12.0.1
- Python and/or Anaconda version: 3.8.12
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): NA
- Jupyter server running: Local
Expected behaviour
ZMQ install verified
Actual behaviour
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/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/node_modules/zeromq
Steps to reproduce
I actually don’t know how did this happen, I just run the notebook as usual then suddenly I met this problem. I think I installed ZMQ correctly through MacPorts I was using it without any problem last night! I compared the output with my M1 Mac mini, and Mac mini shows the expected behavior while my MBP failed.
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
Jupyter Extension Version: 2021.11.1001550889.
Python Extension Verison: 2021.12.1559732655.
Info 20:01:14: Experimentation service retrieved: [object Object]
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Error 20:01:14: 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/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/node_modules/zeromq
at Function.load.path (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/node_modules/node-gyp-build/index.js:59:9)
at load (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/node_modules/node-gyp-build/index.js:21:30)
at Object.<anonymous> (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/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:1316)
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.t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:114:32222)
at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:114:28887)
at Function.f._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:104:61699)
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/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/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:1316)
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.t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:114:32222)
at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:114:28887)
at Function.f._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:104:61699)
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/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:189136)
at n (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:1:186)
at d.zmqSupported (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:104:269062)
at d.isSupportedForLocalLaunch (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:104:268710)
at d.get isSupported [as isSupported] (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:104:268620)
at t.registerTypes (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:1067484)
at /Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:245321
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at /Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:746357
at t.activate (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:746036)
at async Promise.all (index 0)
Info 20:01:14: Freferred kernel connection found in cache .jvsc74a57bd07a792fcb311f9eb9f3c1b942a8c87ada8484712b89b670347c16a1088e0a1f69./opt/local/python./opt/local/python.-m#ipykernel_launcher
Info 20:01:14: PreferredConnection: .jvsc74a57bd07a792fcb311f9eb9f3c1b942a8c87ada8484712b89b670347c16a1088e0a1f69./opt/local/python./opt/local/python.-m#ipykernel_launcher found for NotebookDocument: ~/Library/Mobile Documents/com~apple~CloudDocs/Research/PulsarTiming/GENSIMDATA/Mollweide_auto.ipynb
Info 20:01:14: Early registration of controller for Kernel connection .jvsc74a57bd07a792fcb311f9eb9f3c1b942a8c87ada8484712b89b670347c16a1088e0a1f69./opt/local/python./opt/local/python.-m#ipykernel_launcher
Info 20:01:14: TargetController found ID: .jvsc74a57bd07a792fcb311f9eb9f3c1b942a8c87ada8484712b89b670347c16a1088e0a1f69./opt/local/python./opt/local/python.-m#ipykernel_launcher for document ~/Library/Mobile Documents/com~apple~CloudDocs/Research/PulsarTiming/GENSIMDATA/Mollweide_auto.ipynb
Info 20:01:14: Setting controller affinity for ~/Library/Mobile Documents/com~apple~CloudDocs/Research/PulsarTiming/GENSIMDATA/Mollweide_auto.ipynb .jvsc74a57bd07a792fcb311f9eb9f3c1b942a8c87ada8484712b89b670347c16a1088e0a1f69./opt/local/python./opt/local/python.-m#ipykernel_launcher
Info 20:01:14: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 20:01:14: Creating controller for jupyter-notebook with interpreter /opt/local/bin/python
Info 20:01:14: Process Execution: > /opt/local/bin/python -m pip list
> /opt/local/bin/python -m pip list
Info 20:01:14: Process Execution: > /opt/local/bin/python -c "import jupyter"
> /opt/local/bin/python -c "import jupyter"
Info 20:01:14: Process Execution: > /opt/local/bin/python -c "import notebook"
> /opt/local/bin/python -c "import notebook"
Info 20:01:15: Process Execution: > /opt/local/bin/python -m jupyter kernelspec --version
> /opt/local/bin/python -m jupyter kernelspec --version
Info 20:01:15: Registering dummy command feature
Info 20:01:59: Setting setActiveController for ~/Library/Mobile Documents/com~apple~CloudDocs/Research/PulsarTiming/GENSIMDATA/Mollweide_auto.ipynb
Info 20:01:59: Execute Cells request 1
Info 20:01:59: Execute Cell 1 ~/Library/Mobile Documents/com~apple~CloudDocs/Research/PulsarTiming/GENSIMDATA/Mollweide_auto.ipynb
Info 20:01:59: Starting Notebook in kernel.ts id = .jvsc74a57bd07a792fcb311f9eb9f3c1b942a8c87ada8484712b89b670347c16a1088e0a1f69./opt/local/python./opt/local/python.-m#ipykernel_launcher
Info 20:01:59: KernelProvider switched kernel to id = .jvsc74a57bd07a792fcb311f9eb9f3c1b942a8c87ada8484712b89b670347c16a1088e0a1f69./opt/local/python./opt/local/python.-m#ipykernel_launcher
Info 20:01:59: Checking for server existence.
Info 20:01:59: Checking for server usability.
Info 20:01:59: Starting notebook server.
Info 20:01:59: Connecting to server
Info 20:01:59: Launching server
Info 20:01:59: Starting Notebook
Info 20:01:59: Starting Jupyter Notebook
Starting Jupyter from /opt/local/bin/python with command line --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --port 8890
Info 20:01:59: Creating daemon pool for /opt/local/bin/python with env variables count 0
Info 20:01:59: Process Execution: > /opt/local/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /opt/local/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 20:01:59: Process Execution: > /opt/local/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /opt/local/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 20:01:59: Process Execution: > /opt/local/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /opt/local/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 20:01:59: Process Execution: > /opt/local/bin/python (daemon) -m jupyter notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 "--port 8890"
> /opt/local/bin/python (daemon) -m jupyter notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 "--port 8890"
Info 20:01:59: Waiting for Jupyter Notebook
[C 20:01:59.761 NotebookApp] No such file or directory: /--port 8890
Info 20:01:59: [C 20:01:59.761 NotebookApp] No such file or directory: /--port 8890
Error 20:01:59: Failed to run jupyter as observable with args notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --port 8890 p [Error]: Traceback (most recent call last):
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py", line 54, in _decorator
return func(self, *args, **kwargs)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 108, in m_exec_module_observable
self._start_notebook(args, cwd, env)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 162, in _start_notebook
app.launch_new_instance()
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 264, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance
app.initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 2143, in initialize
super().initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 235, in initialize
self.parse_command_line(argv)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 1621, in parse_command_line
self.exit(1)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 836, in exit
sys.exit(exit_status)
SystemExit: 1
at /Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:38:116218 {
category: 'daemon'
}
Failed to run jupyter as observable with args notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --port 8890
Info 20:01:59: [C 20:01:59.761 NotebookApp] No such file or directory: /--port 8890
Failed to run jupyter as observable with args notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --port 8890
Error 20:01:59: failed to create INotebook in kernel, UI Disabled = false i [Error]: Traceback (most recent call last):
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py", line 54, in _decorator
return func(self, *args, **kwargs)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 108, in m_exec_module_observable
self._start_notebook(args, cwd, env)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 162, in _start_notebook
app.launch_new_instance()
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 264, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance
app.initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 2143, in initialize
super().initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 235, in initialize
self.parse_command_line(argv)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 1621, in parse_command_line
self.exit(1)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 836, in exit
sys.exit(exit_status)
SystemExit: 1
[C 20:01:59.761 NotebookApp] No such file or directory: /--port 8890
Failed to run jupyter as observable with args notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --port 8890
at t.JupyterConnectionWaiter.rejectStartPromise (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:173832)
at t._error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:174453)
at t.__tryOrUnsub (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:15091)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:14492)
at t._error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:13369)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:13063)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:64066)
at /Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:38:116419 {
category: 'jupyterconnection'
}
Error 20:01:59: failed to start INotebook in kernel, UI Disabled = false i [Error]: Traceback (most recent call last):
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py", line 54, in _decorator
return func(self, *args, **kwargs)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 108, in m_exec_module_observable
self._start_notebook(args, cwd, env)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 162, in _start_notebook
app.launch_new_instance()
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 264, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance
app.initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 2143, in initialize
super().initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 235, in initialize
self.parse_command_line(argv)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 1621, in parse_command_line
self.exit(1)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 836, in exit
sys.exit(exit_status)
SystemExit: 1
[C 20:01:59.761 NotebookApp] No such file or directory: /--port 8890
Failed to run jupyter as observable with args notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --port 8890
at t.JupyterConnectionWaiter.rejectStartPromise (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:173832)
at t._error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:174453)
at t.__tryOrUnsub (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:15091)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:14492)
at t._error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:13369)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:13063)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:64066)
at /Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:38:116419 {
category: 'jupyterconnection'
}
Error 20:01:59: DataScience Error i [Error]: Traceback (most recent call last):
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py", line 54, in _decorator
return func(self, *args, **kwargs)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 108, in m_exec_module_observable
self._start_notebook(args, cwd, env)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 162, in _start_notebook
app.launch_new_instance()
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 264, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance
app.initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 2143, in initialize
super().initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 235, in initialize
self.parse_command_line(argv)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 1621, in parse_command_line
self.exit(1)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 836, in exit
sys.exit(exit_status)
SystemExit: 1
[C 20:01:59.761 NotebookApp] No such file or directory: /--port 8890
Failed to run jupyter as observable with args notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --port 8890
at t.JupyterConnectionWaiter.rejectStartPromise (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:173832)
at t._error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:174453)
at t.__tryOrUnsub (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:15091)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:14492)
at t._error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:13369)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:13063)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:64066)
at /Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:38:116419 {
category: 'jupyterconnection'
}
Error 20:01:59: Failed to execute cells in CellExecutionQueue i [Error]: Traceback (most recent call last):
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py", line 54, in _decorator
return func(self, *args, **kwargs)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 108, in m_exec_module_observable
self._start_notebook(args, cwd, env)
File "/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/pythonFiles/vscode_datascience_helpers/jupyter_daemon.py", line 162, in _start_notebook
app.launch_new_instance()
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 264, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance
app.initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 2143, in initialize
super().initialize(argv)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 88, in inner
return method(app, *args, **kwargs)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py", line 235, in initialize
self.parse_command_line(argv)
File "/Users/qyq/Library/Python/3.8/lib/python/site-packages/notebook/notebookapp.py", line 1621, in parse_command_line
self.exit(1)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/traitlets/config/application.py", line 836, in exit
sys.exit(exit_status)
SystemExit: 1
[C 20:01:59.761 NotebookApp] No such file or directory: /--port 8890
Failed to run jupyter as observable with args notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --port 8890
at t.JupyterConnectionWaiter.rejectStartPromise (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:173832)
at t._error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:174453)
at t.__tryOrUnsub (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:15091)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:14492)
at t._error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:13369)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:13063)
at t.error (/Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:16:64066)
at /Users/qyq/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:38:116419 {
category: 'jupyterconnection'
}
Info 20:01:59: Cancel pending cells
Info 20:01:59: Cell 1 executed with state Idle
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Passing command line arguments to argv in jupyter/ipython ...
A workaround is to make the jupyter notebook read the arguments from a file. From the command line, modify the file and run...
Read more >Config file and command line options - The Jupyter Notebook
The notebook server can be run with a variety of command line arguments. A list of available options can be found below in...
Read more >Working with Jupyter Notebooks in Visual Studio Code
To select an environment, use the Python: Select Interpreter command from the Command Palette (Ctrl+Shift+P).
Read more >Jupyter Notebook Documentation - Read the Docs
You can start running a notebook server from the command line using ... Starting with Jupyter Notebook 5.0, you can customize the command ......
Read more >Configuring AWS Glue interactive sessions for Jupyter and ...
Jupyter Magics are commands that can be run at the beginning of a cell or as a whole cell body. Magics start with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try it like this:
You need an ‘=’ between
port
and8890
I’m getting a similar issue on M1, Monterey, in a workspace with a virtualenv.
@rchiodo, do you prefer a separate issue?
Jupyter log