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.

Cannot run Cadabra2 kernel in vscode

See original GitHub issue

Environment data

  • VS Code version: vscode insider x64-1.59.0 in win10
  • Jupyter Extension version (available under the Extensions sidebar): v2021.8.1025925145
  • Python Extension version (available under the Extensions sidebar): v2021.6.944021595
  • OS (Windows | Mac | Linux distro) and version: WLS2 Ubuntu 18.04
  • Python and/or Anaconda version: Python 3.6
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
  • Jupyter server running: Local & Remote

Expected behaviour

I want to run Jupyter’s cadabra2 kernel in vscode locally.

Actual behaviour

I can run it in browser, but it can’t be run in vscode locally. See pictures: image image

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

I work on win10, but cadabra2 just supports linux and mac, so I choose vscode’s extension wls-remote to link windows with linux. I think this is not the key point, and you can think I work on ubuntu 18.04. The important point is how to install cadabra2-kernel, and you can see 1, 2 for more details. In fact, If we install Cadabra2 from source, we will can get cadabra2-kernel automatically as the document said.

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Info 2021-07-31 15:14:43: ZMQ install verified.
Info 2021-07-31 15:14:43: id is 8a496589-e6ec-4a8f-909a-bf48cf28f983
Info 2021-07-31 15:14:44: Attempting to start a server because of preload conditions ...
Info 2021-07-31 15:14:45: Attempting to start a server because of preload conditions ...
Info 2021-07-31 15:14:46: No controller, hence notebook communications cannot be initialized for editor untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:47: Setting setActiveController for untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:47: Intiailize notebook communications for editor untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:47: Resolving notebook UI Comms (resolve) for untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:47: initialize CommonMessageCoordinator
Info 2021-07-31 15:14:47: IPyWidgetMessageDispatcher.initialize
Info 2021-07-31 15:14:47: Created and initailized CommonMessageCoordinator
Info 2021-07-31 15:14:47: Attach Coordinator for untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:47: Posting message to Notebook UI 
Info 2021-07-31 15:14:47: KernelProvider switched kernel to id = .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher
Info 2021-07-31 15:14:47: Starting Notebook in kernel.ts id = .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher
Info 2021-07-31 15:14:47: Creating raw notebook for untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:47: Getting preferred kernel for untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:47: Computing working directory untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:47: Connecting to raw session for untitled:Untitled-1.ipynb?jupyter-notebook with connection {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/guowei/.local/share/jupyter/kernels/python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6/kernel.json","interpreterPath":"/usr/bin/python3","name":"python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"python","display_name":"Python 3.6.9 64-bit","metadata":{"interpreter":{"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","version":{"raw":"3.6.9","major":3,"minor":6,"patch":9,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.6.9 64-bit"}},"env":{}},"interpreter":{"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","version":{"raw":"3.6.9","major":3,"minor":6,"patch":9,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.6.9 64-bit"},"id":".jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher"}
Info 2021-07-31 15:14:47: Starting raw kernel Python 3.6.9 64-bit
Info 2021-07-31 15:14:47: installMissingDependencies /usr/bin/python3
Info 2021-07-31 15:14:47: Loading kernelspec from /usr/local/share/jupyter/kernels/cadabra2/kernel.json for undefined
Info 2021-07-31 15:14:47: Loading kernelspec from /home/guowei/.local/share/jupyter/kernels/python3/kernel.json for undefined
Info 2021-07-31 15:14:49: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-31 15:14:49: Widget Coordinator received IPyWidgets_Ready
Info 2021-07-31 15:14:49: Find preferred kernel for untitled:Untitled-1.ipynb?jupyter-notebook with metadata {"orig_nbformat":4,"language_info":{"name":"python"}} & preferred interpreter {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","version":{"raw":"3.6.9","major":3,"minor":6,"patch":9,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.6.9 64-bit"}
Info 2021-07-31 15:14:49: findPreferredKernel score for Python3, Python 3.6.9 64-bit is 10
Info 2021-07-31 15:14:49: findPreferredKernel score for Python 3.6.9 64-bit is 20
Info 2021-07-31 15:14:49: findKernel found Python 3.6.9 64-bit
Info 2021-07-31 15:14:49: Find kernel spec, Class name = C, completed in 2590ms, has a truthy return value, Arg 1: <Uri:Untitled-1.ipynb>, Arg 2: {"orig_nbformat":4,"language_info":{"name":"python"}}, Arg 3: {"_isCancelled":false,"_emitter":{"_disposed":false,"_listeners":{"_first":{"next":{},"prev":{}},"_last":{"next":{},"prev":{}},"_size":1}}}, Return Value: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/guowei/.local/share/jupyter/kernels/python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6/kernel.json","interpreterPath":"/usr/bin/python3","name":"python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"python","display_name":"Python 3.6.9 64-bit","metadata":{"interpreter":{"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","version":{"raw":"3.6.9","major":3,"minor":6,"patch":9,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.6.9 64-bit"}},"env":{}},"interpreter":{"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","version":{"raw":"3.6.9","major":3,"minor":6,"patch":9,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.6.9 64-bit"},"id":".jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher"}
Info 2021-07-31 15:14:49: PreferredConnection: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher found for NotebookDocument: untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:49: TargetController found ID: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher for document untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:49: Setting controller affinity for untitled:Untitled-1.ipynb?jupyter-notebook .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher
Info 2021-07-31 15:14:49: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-31 15:14:49: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-31 15:14:49: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-31 15:14:49: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-31 15:14:49: Kernel Spec for Cadabra2 ignored as we cannot find a matching interpreter {"kind":"startUsingKernelSpec","kernelSpec":{"specFile":"/usr/local/share/jupyter/kernels/cadabra2/kernel.json","name":"undefined.cadabra2_jupyter","argv":["/usr/bin/python3.6","-m","cadabra2_jupyter","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3.6","display_name":"Cadabra2","metadata":{},"env":{},"interrupt_mode":"signal"},"id":".undefined.cadabra2_jupyter./usr/bin/python3.6..-m#cadabra2_jupyter"}
Info 2021-07-31 15:14:49: Kernel Spec for Cadabra2 ignored as we cannot find a matching interpreter {"kind":"startUsingKernelSpec","kernelSpec":{"specFile":"/usr/local/share/jupyter/kernels/cadabra2/kernel.json","name":"undefined.cadabra2_jupyter","argv":["/usr/bin/python3.6","-m","cadabra2_jupyter","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3.6","display_name":"Cadabra2","metadata":{},"env":{},"interrupt_mode":"signal"},"id":".undefined.cadabra2_jupyter./usr/bin/python3.6..-m#cadabra2_jupyter"}
Info 2021-07-31 15:14:49: Process Execution: > /usr/bin/python3 -m pip list
> /usr/bin/python3 -m pip list
Info 2021-07-31 15:14:49: Process Execution: > /usr/bin/python3 -m pip list
> /usr/bin/python3 -m pip list
Info 2021-07-31 15:14:49: Process Execution: > /usr/bin/python3 -c "import ipykernel"
> /usr/bin/python3 -c "import ipykernel"
Info 2021-07-31 15:14:49: Process Execution: > /usr/bin/python3 -c "import ipykernel"
> /usr/bin/python3 -c "import ipykernel"
Info 2021-07-31 15:14:49: Process Execution: > /usr/bin/python3 -c "import jupyter"
> /usr/bin/python3 -c "import jupyter"
Info 2021-07-31 15:14:49: Process Execution: > /usr/bin/python3 -c "import jupyter"
> /usr/bin/python3 -c "import jupyter"
Info 2021-07-31 15:14:49: Process Execution: > /usr/bin/python3 -c "import notebook"
> /usr/bin/python3 -c "import notebook"
Info 2021-07-31 15:14:49: Process Execution: > /usr/bin/python3 -c "import notebook"
> /usr/bin/python3 -c "import notebook"
Info 2021-07-31 15:14:53: Install Missing Dependencies, Class name = E, completed in 6052ms, has a falsy return value, Return Value: undefined
Info 2021-07-31 15:14:53: Kernel launching with ports 9005,9006,9007,9008,9009. Start port is 9000
Info 2021-07-31 15:14:53: Launching kernel daemon for Python 3.6.9 64-bit # /usr/bin/python3
Info 2021-07-31 15:14:53: No custom variables for Kernel as interpreter is not conda, but is Unknown
Info 2021-07-31 15:14:54: Cached data exists getEnvironmentVariables, Untitled-1.ipynb
Info 2021-07-31 15:14:54: Creating daemon process for /usr/bin/python3 with env variables count 0
Info 2021-07-31 15:14:54: Process Execution: > /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-07-31 15:14:54: Process Execution: > /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /usr/bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-07-31 15:14:54: Starting kernel from scratch with options {"cwd":"/home/guowei"}
Info 2021-07-31 15:14:54: Python Daemon (pid: 358): Execute rpc method exec_module in DS Daemon
Info 2021-07-31 15:14:54: Python Daemon (pid: 358): Execute rpc method exec_module from /usr/bin/python3
Info 2021-07-31 15:14:54: Python Daemon (pid: 358): Exec module in DS Kernel Launcher Daemon ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9008', '--control=9006', '--hb=9005', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"19f2744c-5213-4872-9da5-1280e48b3e9f"', '--shell=9007', '--transport="tcp"', '--iopub=9009', '--f=/tmp/tmp-326hLupYSwOC8Fo.json']
Info 2021-07-31 15:14:54: Python Daemon (pid: 358): Exec in DS Kernel Launcher Daemon (observable) ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9008', '--control=9006', '--hb=9005', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"19f2744c-5213-4872-9da5-1280e48b3e9f"', '--shell=9007', '--transport="tcp"', '--iopub=9009', '--f=/tmp/tmp-326hLupYSwOC8Fo.json']
Info 2021-07-31 15:14:54: Python Daemon (pid: 358): Exec in DS Kernel Launcher Daemon (observable) ['/usr/bin/python3', '-m', 'ipykernel_launcher', '--ip=127.0.0.1', '--stdin=9008', '--control=9006', '--hb=9005', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"19f2744c-5213-4872-9da5-1280e48b3e9f"', '--shell=9007', '--transport="tcp"', '--iopub=9009', '--f=/tmp/tmp-326hLupYSwOC8Fo.json']
Info 2021-07-31 15:14:54: Python Daemon (pid: 358): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-07-31 15:14:54: Python Daemon (pid: 358): Kernel launched, with PID 360
Warn 2021-07-31 15:14:54: Python Daemon (pid: 358): Waiting for Kernel to die 360
Info 2021-07-31 15:14:54: Launching kernel daemon, Class name = f, completed in 580ms, has a truthy return value, Arg 1: <Uri:Untitled-1.ipynb>, Arg 2: "/home/guowei", Arg 3: {"specFile":"/home/guowei/.local/share/jupyter/kernels/python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6/kernel.json","interpreterPath":"/usr/bin/python3","name":"python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6","argv":["python","-m","ipykernel_launcher","--ip=127.0.0.1","--stdin=9008","--control=9006","--hb=9005","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"19f2744c-5213-4872-9da5-1280e48b3e9f\"","--shell=9007","--transport=\"tcp\"","--iopub=9009","--f=/tmp/tmp-326hLupYSwOC8Fo.json"],"language":"python","path":"python","display_name":"Python 3.6.9 64-bit","metadata":{"interpreter":{"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","version":{"raw":"3.6.9","major":3,"minor":6,"patch":9,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.6.9 64-bit"}},"env":{}}, Arg 4: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","version":{"raw":"3.6.9","major":3,"minor":6,"patch":9,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.6.9 64-bit"}, Return Value: <Return value cannot be serialized for logging>
Info 2021-07-31 15:14:54: Launching kernel in kernelProcess.ts, Class name = b, completed in 581ms, has a truthy return value, Arg 1: "/home/guowei", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/usr/bin/python3","_handle":{"pid":358},"spawnargs":["/usr/bin/python3","-m","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":358,"stdin":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdout":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stderr":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdio":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null}]},"out":{"_isScalar":false,"observers":[],"closed":false,"isStopped":false,"hasError":false,"thrownError":null}}
Info 2021-07-31 15:14:57: Raw session started and connected
Started kernel Python 3.6.9 64-bit
Info 2021-07-31 15:14:57: Initial setup for untitled:Untitled-1.ipynb?jupyter-notebook starting ...
Info 2021-07-31 15:14:57: UpdateWorkingDirectoryAndPath
Info 2021-07-31 15:14:57: Kernel switching to busy
Info 2021-07-31 15:14:57: Kernel switching to idle
Info 2021-07-31 15:14:57: Kernel switching to busy
Info 2021-07-31 15:14:57: Kernel switching to idle
Info 2021-07-31 15:14:57: Initial setup complete for untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:14:57: Finished connecting d9b4f213-bf9f-4ed5-9bb0-01b83a693e75
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_kernelOptions
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: Registering commtarget jupyter.widget
Info 2021-07-31 15:14:57: IPyWidgetMessageDispatcher.initialize
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_mirror_execute
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: IPyWidgetScriptSource.initialize
Info 2021-07-31 15:14:57: IPyWidgetMessageDispatcher.initialize
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: Kernel switching to busy
Info 2021-07-31 15:14:57: Notebook Session status untitled:Untitled-1.ipynb?jupyter-notebook # Busy
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_registerCommTarget
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_registerCommTarget
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: IPyWidgetMessageDispatcher.initialize
Info 2021-07-31 15:14:57: IPyWidgetMessageDispatcher.initialize
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: Kernel switching to idle
Info 2021-07-31 15:14:57: Notebook Session status untitled:Untitled-1.ipynb?jupyter-notebook # Idle
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: UpdateWorkingDirectoryAndPath
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_mirror_execute
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: Kernel switching to busy
Info 2021-07-31 15:14:57: Notebook Session status untitled:Untitled-1.ipynb?jupyter-notebook # Busy
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: Kernel switching to idle
Info 2021-07-31 15:14:57: Notebook Session status untitled:Untitled-1.ipynb?jupyter-notebook # Idle
Info 2021-07-31 15:14:57: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:14:57: Posting message to Notebook UI 
Info 2021-07-31 15:14:57: Waiting for idle on (kernel): cd5b4555-aed7-4ca1-a550-a3146ccacec1 -> idle
Info 2021-07-31 15:14:57: Finished waiting for idle on (kernel): cd5b4555-aed7-4ca1-a550-a3146ccacec1 -> idle
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:14:57: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:14:57: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-31 15:14:57: Process Execution: > /usr/bin/python3 -m pip list
> /usr/bin/python3 -m pip list
Info 2021-07-31 15:14:57: Process Execution: > /usr/bin/python3 -m pip list
> /usr/bin/python3 -m pip list
Info 2021-07-31 15:18:37: Execute Cells request 1 0
Info 2021-07-31 15:18:37: Execute Cell 0 untitled:Untitled-1.ipynb?jupyter-notebook
Info 2021-07-31 15:18:37: Cell Index:0, state:undefined, exec: undefined. User queued cell for execution
Info 2021-07-31 15:18:37: Cell Index:0, state:undefined, exec: undefined. Ready to execute
Info 2021-07-31 15:18:37: Cell Index:0, state:undefined, exec: undefined. Before Execute individual cell
Info 2021-07-31 15:18:37: Cell Index:0, state:undefined, exec: undefined. Start execution
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: undefined. Send code for execution
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: undefined. Wait for jupyter execution
Info 2021-07-31 15:18:37: Widget Coordinator sent IPyWidgets_mirror_execute
Info 2021-07-31 15:18:37: Posting message to Notebook UI 
Info 2021-07-31 15:18:37: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:18:37: Posting message to Notebook UI 
Info 2021-07-31 15:18:37: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:18:37: Posting message to Notebook UI 
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: undefined. Kernel switching to busy
Info 2021-07-31 15:18:37: Notebook Session status untitled:Untitled-1.ipynb?jupyter-notebook # Busy
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:18:37: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:18:37: Posting message to Notebook UI 
Info 2021-07-31 15:18:37: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:18:37: Posting message to Notebook UI 
Info 2021-07-31 15:18:37: Widget Coordinator sent IPyWidgets_msg
Info 2021-07-31 15:18:37: Posting message to Notebook UI 
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: undefined. Update output
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_msg_received
Info 2021-07-31 15:18:37: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: 1. Kernel switching to idle
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: 1. Jupyter execution completed
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: 1. Completed successfully
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: 1. Completed successfully & resolving
Info 2021-07-31 15:18:37: Notebook Session status untitled:Untitled-1.ipynb?jupyter-notebook # Idle
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: 1. After Execute individual cell 3
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: 1. Executed successfully in executeCell
Info 2021-07-31 15:18:37: Cell Index:0, state:3, exec: 1. Execution disposed

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dualercommented, Jul 16, 2021

No worries, I believe I’ve identified the problem.

Ok, thanks. I look forward to it.

0reactions
dualercommented, Aug 14, 2021

Ok, It works. Thanks for your work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running Cadabra 2 on WSL 2 [Ubuntu 18.04] using VS Code
Using the MS VS Code IDE, I start the Jupyter server, select the "Cadabra" kernel option. I then run the cell containing the...
Read more >
jupyter server : not started, no kernel in vs code - Stack Overflow
1) Press Command+Shift+P to open a new command pallete · 2) Type >Python: Select Intepreter to start jupyter notebook server · 3) Open...
Read more >
Working with Jupyter Notebooks in Visual Studio Code
You can create a Jupyter Notebook by running the Create: New Jupyter Notebook command from the Command Palette (Ctrl+Shift+P) or by creating a...
Read more >
Can't restart kernel in VSCode jupyter notebook - VS Code
As the title says, recently notebooks in VSCode does not allow me to press restart kernel or interrupt (greyed out) and running the...
Read more >
Jupyter Notebooks in VS Code Extension NEW in 2022
Your browser can't play this video. ... Jupyter Notebooks in VS Code Extension NEW in 2022 - Tutorial Introducing Kernels, Markdown, & Cells....
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