Requires Python 2.7 ipykernel to be installed when opening Python 3 notebook

Environment data

VS Code version: 1.53.2 (commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4)
Jupyter Extension version (available under the Extensions sidebar): v2021.2.576440691
Python Extension version (available under the Extensions sidebar): v2021.2.582707922
OS and version: Ubuntu 20.04 (Linux x64 5.4.0-66-generic)
Python and/or Anaconda version: Python 3.8.5 and Python 2.7.18
Type of virtual environment used (N/A | venv | virtualenv | conda | ...):  N/A
Jupyter server running: Local

Detailed VS Code version information:
Version: 1.53.2
Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
Date: 2021-02-11T11:48:44.518Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-66-generic

Expected behaviour
Start automatically the IPython kernel for the trusted Python 3 notebook while opening the notebook. Run cells after clicking on the "Run cell" button.
(Before updating VS Code everything worked as expected.)
Actual behaviour
Error message "Python 2.7.18 64-bit requires ipykernel to be installed." appears at startup and each time one tries to run a cell. Actually, the cells do not get executed until one closes the error message by clicking on the "x".
Steps to reproduce:

Start the Jupyter server by running jupyter notebook in a terminal. Open its web interface in a browser.
Create a new Python 3 notebook. Add a cell or more, e.g. a cell with 1+1.
Close the notebook in the web interface.
Start VS Code and open the notebook. Try to run the cell with the "Run cell" button.

Here is a part of the source of one of my notebooks. As far as I know, these metadata show clearly that it is
a Python 3 notebook.
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.5-final"
  },
  "toc-autonumbering": true
 },
 "nbformat": 4,
 "nbformat_minor": 4
}

Logs

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

> /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Error 2021-02-24 20:00:40: Find kernel spec, Class name = L, completed in 40748ms, has a falsy return value, Arg 1: , Arg 2: {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.8.5"}}, Arg 3: undefined, Arg 4: undefined, Return Value: undefined [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at L.installDependenciesIntoInterpreter (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:223195)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async L.getKernelForLocalRawConnection (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:222022)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-02-24 20:00:40: Get preferred local kernel connection, Class name = L, completed in 40749ms, has a falsy return value [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at L.installDependenciesIntoInterpreter (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:223195)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async L.getKernelForLocalRawConnection (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:222022)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-02-24 20:00:40: Failed to determine if a notebook is active for the current editor [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at L.installDependenciesIntoInterpreter (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:223195)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async L.getKernelForLocalRawConnection (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:222022)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-02-24 20:00:40: Failed to determine if a notebook is active for the current editor [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at L.installDependenciesIntoInterpreter (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:223195)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async L.getKernelForLocalRawConnection (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:222022)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-02-24 20:00:40: DataScience Error [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at L.installDependenciesIntoInterpreter (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:223195)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async L.getKernelForLocalRawConnection (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:222022)] {
  category: 'noipykernel',
  reason: 1
}
}
Error 2021-02-24 20:01:20: Exception attempting to start notebook:  [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at L.installDependenciesIntoInterpreter (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:223195)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async L.getKernelForLocalRawConnection (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:222022)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-02-24 20:01:20: DataScience Error [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at L.installDependenciesIntoInterpreter (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:223195)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async L.getKernelForLocalRawConnection (/home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:222022)] {
  category: 'noipykernel',
  reason: 1
}

Possible origin of the problem
This output indicates that the problem might be that the extension executes /usr/bin/python also for Python 3 notebooks, while /usr/bin/python is actually Python 2 on Ubuntu 20.04. In the Ubuntu 20.04 release notes the following information can be found:

/usr/bin/python is not present by default on any new installs. On systems upgraded from previous releases, /usr/bin/python will continue to point to python2 for compatibility.

Screenshot

Thanks for the bug. What you said here is likely the root cause:

This output indicates that the problem might be that the extension executes /usr/bin/python also for Python 3 notebooks, while /usr/bin/python is actually Python 2 on Ubuntu 20.04. In the Ubuntu 20.04 release notes the following information can be found:

If you run jupyter kernelspec list --json what does your Python 3 kernelspec actually contain?

Thanks for the fast reply!
Here is the Python 3 kernelspec part of the output from jupyter kernelspec list --json:
  "kernelspecs": {
    "python3": {
      "resource_dir": "/usr/share/jupyter/kernels/python3",
      "spec": {
        "interrupt_mode": "signal",
        "display_name": "Python 3",
        "env": {},
        "language": "python",
        "argv": [
          "/usr/bin/python3",
          "-m",
          "ipykernel_launcher",
          "-f",
          "{connection_file}"
        ],
        "metadata": {}
      }
    },

Here is another information that might be useful: Now, I installed version v2020.12.414227025 of vscode-jupyter. In this version everythings works as expected. So, I can definitively say that the bug was not yet present in version v2020.12.414227025.

@ma137
Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to debug
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

The output would help us figure out what is going wrong. Thanks

I switched back to the current version of vscode-jupyter, i.e., v2021.2.576440691, and followed your instructions. You can find the log output below.

complete Juptyer log output from opening a Python 3 notebook (logging level is  debug )

Info 2021-02-25 00:03:01: Checking if notebook is trusted
Info 2021-02-25 00:03:01: Trusted, Class name = p, completed in 2ms, has a truthy return value, Return Value: true
Info 2021-02-25 00:03:01: Loading web panel for file:///home/ma/[...]/Untitled.ipynb
Info 2021-02-25 00:03:01: Loading webview. View is notset
Info 2021-02-25 00:03:01: Attempting to start a server because of preload conditions ...
Info 2021-02-25 00:03:01: Loading web view...
Info 2021-02-25 00:03:01: Webview panel created.
Info 2021-02-25 00:03:01: Creating raw notebook for file:///home/ma/[...]/Untitled.ipynb
Info 2021-02-25 00:03:01: Getting preferred kernel for file:///home/ma/[...]/Untitled.ipynb
Info 2021-02-25 00:03:01: Searching for kernel based on {"display_name":"Python 3","language":"python","name":"python3"} for /home/ma/[...]/Untitled.ipynb
Info 2021-02-25 00:03:01: Find kernel spec, Class name = D, completed in 5ms, has a truthy return value, Arg 1: , Arg 2: {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.8.5"}}, Arg 3: undefined, Return Value: {"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python","name":"python3","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3"}
Info 2021-02-25 00:03:01: Found matching interpreter based on interpreter or interpreterPath in metadata, for the kernel python3, Python 3, /usr/bin/python
Info 2021-02-25 00:03:01: Find matching interpreter for a given kernel spec, Class name = P, completed in 5ms, has a truthy return value, Arg 1: {"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python","name":"python3","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3"}, Arg 2: undefined, Return Value: {"architecture":3,"path":"/usr/bin/python","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"2.7.18-final","major":2,"minor":7,"patch":18,"prerelease":["final"],"build":[],"version":"2.7.18-final"},"sysVersion":"2.7.18 (default, Aug  4 2020, 11:16:42) \n[GCC 9.3.0]","sysPrefix":"/usr","fileHash":"56aa51cc7fb993a39110af62db9139888f06d1ef12380781ebcf13bfabf19e5b7d456d5bd96dd0796ceba8ff6beba8817eedc5371e4ba34128e15e9ac2c523bf","envType":"Unknown","displayName":"Python 2.7.18 64-bit"}
Info 2021-02-25 00:03:01: Found matching interpreter based on interpreter or interpreterPath in metadata, for the kernel python3, Python 3, /usr/bin/python
Info 2021-02-25 00:03:01: Find matching interpreter for a given kernel spec, Class name = P, completed in 6ms, has a truthy return value, Arg 1: {"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python","name":"python3","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3"}, Arg 2: undefined, Return Value: {"architecture":3,"path":"/usr/bin/python","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"2.7.18-final","major":2,"minor":7,"patch":18,"prerelease":["final"],"build":[],"version":"2.7.18-final"},"sysVersion":"2.7.18 (default, Aug  4 2020, 11:16:42) \n[GCC 9.3.0]","sysPrefix":"/usr","fileHash":"56aa51cc7fb993a39110af62db9139888f06d1ef12380781ebcf13bfabf19e5b7d456d5bd96dd0796ceba8ff6beba8817eedc5371e4ba34128e15e9ac2c523bf","envType":"Unknown","displayName":"Python 2.7.18 64-bit"}
Info 2021-02-25 00:03:01: installMissingDependencies /usr/bin/python
Info 2021-02-25 00:03:01: Cached data exists getEnvironmentVariables,
Info 2021-02-25 00:03:01: Process Execution: > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-02-25 00:03:01: Process Execution: > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-02-25 00:03:02: Cached data exists getEnvironmentVariables,
Info 2021-02-25 00:03:03: Web view react rendered
Info 2021-02-25 00:03:03: Request for onigasm file at /home/ma/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/onigasm/lib/onigasm.wasm
Info 2021-02-25 00:03:03: Request for tmlanguage file.
Info 2021-02-25 00:03:03: Searching for token colors ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Searching for token colors ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Loading colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Searching for token colors ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Searching for token colors ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Searching for token colors ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Searching for token colors ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Searching for token colors ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Searching for token colors ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Loading colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Loading colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Loading colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading base colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading base colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading base colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading base colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading base colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading base colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading base colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Attempting search for colors ...
Info 2021-02-25 00:03:03: Loading base colors from /home/ma/.vscode/extensions/zhuangtongfa.material-theme-3.9.15/themes/OneDark-Pro.json ...
Info 2021-02-25 00:03:03: Using colors to generate CSS ...
Info 2021-02-25 00:03:03: Using colors to generate CSS ...
Info 2021-02-25 00:03:03: Using colors to generate CSS ...
Info 2021-02-25 00:03:03: Using colors to generate CSS ...
Info 2021-02-25 00:03:03: Using colors to generate CSS ...
Info 2021-02-25 00:03:03: Using colors to generate CSS ...
Info 2021-02-25 00:03:03: Using colors to generate CSS ...
Info 2021-02-25 00:03:03: Using colors to generate CSS ...

an interesting part of the log (excerpt from the full log above)

Info 2021-02-25 00:03:01: Webview panel created.
Info 2021-02-25 00:03:01: Creating raw notebook for file:///home/ma/[...]/Untitled.ipynb
Info 2021-02-25 00:03:01: Getting preferred kernel for file:///home/ma/[...]/Untitled.ipynb
Info 2021-02-25 00:03:01: Searching for kernel based on {"display_name":"Python 3","language":"python","name":"python3"} for /home/ma/[...]/Untitled.ipynb
Info 2021-02-25 00:03:01: Find kernel spec, Class name = D, completed in 5ms, has a truthy return value, Arg 1: , Arg 2: {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.8.5"}}, Arg 3: undefined, Return Value: {"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python","name":"python3","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3"}
Info 2021-02-25 00:03:01: Found matching interpreter based on interpreter or interpreterPath in metadata, for the kernel python3, Python 3, /usr/bin/python
Info 2021-02-25 00:03:01: Find matching interpreter for a given kernel spec, Class name = P, completed in 5ms, has a truthy return value, Arg 1: {"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python","name":"python3","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3"}, Arg 2: undefined, Return Value: {"architecture":3,"path":"/usr/bin/python","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"2.7.18-final","major":2,"minor":7,"patch":18,"prerelease":["final"],"build":[],"version":"2.7.18-final"},"sysVersion":"2.7.18 (default, Aug  4 2020, 11:16:42) \n[GCC 9.3.0]","sysPrefix":"/usr","fileHash":"56aa51cc7fb993a39110af62db9139888f06d1ef12380781ebcf13bfabf19e5b7d456d5bd96dd0796ceba8ff6beba8817eedc5371e4ba34128e15e9ac2c523bf","envType":"Unknown","displayName":"Python 2.7.18 64-bit"}
Info 2021-02-25 00:03:01: Found matching interpreter based on interpreter or interpreterPath in metadata, for the kernel python3, Python 3, /usr/bin/python
Info 2021-02-25 00:03:01: Find matching interpreter for a given kernel spec, Class name = P, completed in 6ms, has a truthy return value, Arg 1: {"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python","name":"python3","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3"}, Arg 2: undefined, Return Value: {"architecture":3,"path":"/usr/bin/python","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"2.7.18-final","major":2,"minor":7,"patch":18,"prerelease":["final"],"build":[],"version":"2.7.18-final"},"sysVersion":"2.7.18 (default, Aug  4 2020, 11:16:42) \n[GCC 9.3.0]","sysPrefix":"/usr","fileHash":"56aa51cc7fb993a39110af62db9139888f06d1ef12380781ebcf13bfabf19e5b7d456d5bd96dd0796ceba8ff6beba8817eedc5371e4ba34128e15e9ac2c523bf","envType":"Unknown","displayName":"Python 2.7.18 64-bit"}
Info 2021-02-25 00:03:01: installMissingDependencies /usr/bin/python
Info 2021-02-25 00:03:01: Cached data exists getEnvironmentVariables,
Info 2021-02-25 00:03:01: Process Execution: > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"

@ma137 We just released a version of our insiders extension that I believe has the fix for your situation. If you download vscode-insiders (which works side by side with stable vscode, so it's easy to install and won't mess up your stable version) and install the jupyter extension can you try out this scenario again?
Also, in case it doesn't work could you please turn on the logging in vscode-insiders setting as above (insiders and stable use different settings stores) and attach the full log? We changed a lot of our kernel detection and launch code in this version, as well as updating the logging to give us more info on how the kernels are matching.

No longer an issue. Please feel free to create a new issue or re-open this issue if it persists.

@IanMatthewHuff I followed your instructions and installed the VS Code Insiders. I installed the Python and the Jupyter extension therein. However, I keep getting the same error. (I hope I did it right. :-) ) You can find the version numbers and the logs (log level is set to debug) below.
Version numbers

VS Code version: Version: 1.55.0-insider (commit: 8437d38d364ba93b53c1e659c20b1c86f710ec28 )
Jupyter Extension version (available under the Extensions sidebar): v2021.4.678042391
Python Extension version (available under the Extensions sidebar): v2021.3.680753044
OS and version: Ubuntu 20.04 (Linux x64 5.4.0-70-generic)
Python and/or Anaconda version: Python 3.8.5 and Python 2.7.18
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Jupyter server running: Local

Logs

 complete Jupyter log output from opening a Python 3 notebook (logging level is debug)

User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'pythonDiscoveryModule'
User belongs to experiment group 'pythonFindInterpreter'
User belongs to experiment group 'NativeNotebookEditor'
Info 2021-03-24 23:09:15: ZMQ install verified.
Info 2021-03-24 23:09:15: Found existing keyfile at /home/ma/.config/Code - Insiders/User/globalStorage/ms-toolsai.jupyter/nbsecret
Info 2021-03-24 23:09:15: Checking if notebook is trusted
Info 2021-03-24 23:09:15: Check if Notebook is Trusted, Class name = p, completed in 3ms, has a truthy return value, Return Value: true
Info 2021-03-24 23:09:15: Attempting to start a server because of preload conditions ...
Info 2021-03-24 23:09:16: Search all interpreters /usr/bin/python, /usr/bin/python3
Info 2021-03-24 23:09:16: Loading kernelspec from /usr/share/jupyter/kernels/python3/kernel.json for /usr/bin/python
Info 2021-03-24 23:09:16: Loading kernelspec from /home/ma/.local/share/jupyter/kernels/python2/kernel.json for undefined
Info 2021-03-24 23:09:16: Cached data exists getEnvironmentVariables,
Info 2021-03-24 23:09:16: Cached data exists getEnvironmentVariables,
Info 2021-03-24 23:09:16: Cached data exists getEnvironmentVariables,
Info 2021-03-24 23:09:16: Cached data exists getEnvironmentVariables,
Info 2021-03-24 23:09:16: findPreferredKernel score for Python 2.7.18 64-bit is 3
Info 2021-03-24 23:09:16: findPreferredKernel score for Python 2 is 3
Info 2021-03-24 23:09:16: Find kernel spec, Class name = D, completed in 1ms, has a truthy return value, Arg 1: , Arg 2: {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.8.5"}}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python","name":"python2718jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 2.7.18 64-bit"},"interpreter":{"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python","architecture":3,"sysVersion":"2.7.18 (default, Mar  8 2021, 13:02:45) \n[GCC 9.3.0]","version":{"raw":"2.7.18","major":2,"minor":7,"patch":18,"build":[],"prerelease":[]},"displayName":"Python 2.7.18 64-bit"},"id":".python2718jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python3./usr/bin/python.Python 2.7.18 64-bit"}
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py pip list
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py pip list
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py pip list
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py pip list
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-03-24 23:09:16: KernelProvider switched kernel to id = .python2718jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python3./usr/bin/python.Python 2.7.18 64-bit}
Info 2021-03-24 23:09:16: Starting Notebook in kernel.ts id = .python2718jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python3./usr/bin/python.Python 2.7.18 64-bit
Info 2021-03-24 23:09:16: Creating raw notebook for file:///home/ma/vscode_test/vscode_test.ipynb
Info 2021-03-24 23:09:16: Getting preferred kernel for file:///home/ma/vscode_test/vscode_test.ipynb
Info 2021-03-24 23:09:16: Computing working directory file:///home/ma/vscode_test/vscode_test.ipynb
Info 2021-03-24 23:09:16: Connecting to raw session for file:///home/ma/vscode_test/vscode_test.ipynb with connection {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python","name":"python2718jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 2.7.18 64-bit"},"interpreter":{"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python","architecture":3,"sysVersion":"2.7.18 (default, Mar  8 2021, 13:02:45) \n[GCC 9.3.0]","version":{"raw":"2.7.18","major":2,"minor":7,"patch":18,"build":[],"prerelease":[]},"displayName":"Python 2.7.18 64-bit"},"id":".python2718jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python3./usr/bin/python.Python 2.7.18 64-bit"}
Info 2021-03-24 23:09:16: Starting raw kernel Python 2.7.18 64-bit
Info 2021-03-24 23:09:16: installMissingDependencies /usr/bin/python
Info 2021-03-24 23:09:16: Cached data exists getEnvironmentVariables,
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-03-24 23:09:16: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Error 2021-03-24 23:09:16: Install Missing Dependencies, Class name = v, completed in 345ms, has a falsy return value, Return Value: undefined [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at v.installMissingDependencies (/home/ma/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/out/client/extension.js:49:560207)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-03-24 23:09:16: Raw session failed to start because dependencies not installed
Info 2021-03-24 23:09:16: Shutdown session -- complete
Error 2021-03-24 23:09:16: failed to create INotebook in kernel, UI Disabled = true [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at v.installMissingDependencies (/home/ma/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/out/client/extension.js:49:560207)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-03-24 23:09:16: failed to start INotebook in kernel, UI Disabled = true [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at v.installMissingDependencies (/home/ma/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/out/client/extension.js:49:560207)] {
  category: 'noipykernel',
  reason: 1
}
Info 2021-03-24 23:09:28: Execute Cell 0 file:///home/ma/vscode_test/vscode_test.ipynb in kernelWithMetadata.ts
Info 2021-03-24 23:09:28: Starting Notebook in kernel.ts id = .python2718jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python3./usr/bin/python.Python 2.7.18 64-bit
Info 2021-03-24 23:09:28: Cell Index:0, state:undefined, exec: 1. User queued cell for execution
Info 2021-03-24 23:09:28: Cell Index:0, state:undefined, exec: 1. Update cell state as it was enqueued
Info 2021-03-24 23:09:28: Creating raw notebook for file:///home/ma/vscode_test/vscode_test.ipynb
Info 2021-03-24 23:09:28: Getting preferred kernel for file:///home/ma/vscode_test/vscode_test.ipynb
Info 2021-03-24 23:09:28: Computing working directory file:///home/ma/vscode_test/vscode_test.ipynb
Info 2021-03-24 23:09:28: Connecting to raw session for file:///home/ma/vscode_test/vscode_test.ipynb with connection {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python","name":"python2718jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 2.7.18 64-bit"},"interpreter":{"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python","architecture":3,"sysVersion":"2.7.18 (default, Mar  8 2021, 13:02:45) \n[GCC 9.3.0]","version":{"raw":"2.7.18","major":2,"minor":7,"patch":18,"build":[],"prerelease":[]},"displayName":"Python 2.7.18 64-bit"},"id":".python2718jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python3./usr/bin/python.Python 2.7.18 64-bit"}
Info 2021-03-24 23:09:28: Starting raw kernel Python 2.7.18 64-bit
Info 2021-03-24 23:09:28: installMissingDependencies /usr/bin/python
Info 2021-03-24 23:09:28: Cached data exists getEnvironmentVariables,
Info 2021-03-24 23:09:28: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-03-24 23:09:28: Process Execution: > /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-03-24 23:09:29: Trusting notebook...
Info 2021-03-24 23:09:29: Wrote trust for file:///home/ma/vscode_test/vscode_test.ipynb to /home/ma/.config/Code - Insiders/User/globalStorage/ms-toolsai.jupyter/nbsignatures/66c3e7a4fccbd120adcd6c45581d0ecec16d04aeebacc7422c5be4f4fe05c443
Error 2021-03-24 23:09:53: Install Missing Dependencies, Class name = v, completed in 24845ms, has a falsy return value, Return Value: undefined [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at v.installMissingDependencies (/home/ma/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/out/client/extension.js:49:560207)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-03-24 23:09:53: Raw session failed to start because dependencies not installed
Info 2021-03-24 23:09:53: Shutdown session -- complete
Error 2021-03-24 23:09:53: failed to create INotebook in kernel, UI Disabled = false [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at v.installMissingDependencies (/home/ma/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/out/client/extension.js:49:560207)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-03-24 23:09:53: DataScience Error [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at v.installMissingDependencies (/home/ma/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/out/client/extension.js:49:560207)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-03-24 23:09:53: failed to start INotebook in kernel, UI Disabled = false [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at v.installMissingDependencies (/home/ma/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/out/client/extension.js:49:560207)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 1
}
Error 2021-03-24 23:09:53: Failed to execute cells in CellExecutionQueue [a [Error]: IPyKernel not installed into interpreter Python 2.7.18 64-bit:/usr/bin/python
	at v.installMissingDependencies (/home/ma/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.678042391/out/client/extension.js:49:560207)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 1
}
Info 2021-03-24 23:09:53: Cancel pending cells
Info 2021-03-24 23:09:53: Cell Index:0, state:2, exec: undefined. Execution cancelled
Info 2021-03-24 23:09:53: Cell Index:0, state:2, exec: undefined. Completed due to cancellation
Info 2021-03-24 23:09:53: Cell Index:0, state:2, exec: undefined. Update cell status as idle and message as empty
Info 2021-03-24 23:09:53: Cell Index:0, state:2, exec: undefined. Cell cancelled & resolving
Info 2021-03-24 23:09:53: Cell Index:0, state:2, exec: undefined. Execution disposed
Info 2021-03-24 23:09:54: Trusting notebook...

To the following three lines, which are contained the full log above, seem to be especially interesting:

Info 2021-03-24 23:09:16: Search all interpreters /usr/bin/python, /usr/bin/python3
Info 2021-03-24 23:09:16: Loading kernelspec from /usr/share/jupyter/kernels/python3/kernel.json for /usr/bin/python
Info 2021-03-24 23:09:16: Loading kernelspec from /home/ma/.local/share/jupyter/kernels/python2/kernel.json for undefined

Actually this bit here might be the interesting bit:
Info 2021-03-24 23:09:16: Loading kernelspec from /usr/share/jupyter/kernels/python3/kernel.json for /usr/bin/python
Info 2021-03-24 23:09:16: Loading kernelspec from /home/ma/.local/share/jupyter/kernels/python2/kernel.json for undefined
...
Info 2021-03-24 23:09:16: findPreferredKernel score for Python 2.7.18 64-bit is 3
Info 2021-03-24 23:09:16: findPreferredKernel score for Python 2 is 3

At this point we look at the info in the metadata of the notebook file to see the best kernel match on the system. And we look for any python interpreters or kernelspecs available on the system to launch with.
That python3 kernelspec that you have installed seems to be getting mapped to that /usr/bin/python python2. Given that the kernelspec has
Sorry to be asking so much of you, but I can't seem to generate this same scenario myself locally. This time could you set the setting Python->Logging->Level to debug and rerun the scenario? And this time pull the log from the Python output instead of the Jupyter output? The error here seems to be that when looking at the /usr/bin/python interpreter (we rely on the Python extension for getting interpreter info) we are associating it with that python3 kernelspec. With that python info I should be able to see the interpreter info for all the interpreters getting passed via the python extension.

Sorry for closing this too eagerly.

No problem, many thanks for investigating this!
I changed the log level of the Python extension in VS Code Insiders and opened the Jupyter notebook. Here are the logs of the Python extension:

Logs

User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonSendEntireLineToREPL'
User belongs to experiment group 'pythonNotDisplayLinterPrompt'
User belongs to experiment group 'pythonDiscoveryModule'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'DeprecatePythonPath - experiment'
Info 2021-03-26 22:30:35: Display locator refreshing progress, Class name = g, completed in 1ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:35: Searching for conda.
Info 2021-03-26 22:30:35: Probing conda binary: conda
Info 2021-03-26 22:30:35: Searching for workspace virtual envs in: /home/ma/vscode_test
Info 2021-03-26 22:30:35: Searching for workspace virtual envs in: /home/ma/vscode_test/.direnv
Info 2021-03-26 22:30:35: Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:35: Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:35: Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:35: Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:35: Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:35: Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:35: Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:35: [Error: spawn conda ENOENT
	at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
	at onErrorNT (internal/child_process.js:469:16)
	at processTicksAndRejections (internal/process/task_queues.js:84:21)] {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn conda',
  path: 'conda',
  spawnargs: [ 'info', '--json' ]
}
Info 2021-03-26 22:30:35: Searching for global virtual envs in: /home/ma/Envs
Info 2021-03-26 22:30:35: Searching for global virtual envs in: /home/ma/.direnv
Info 2021-03-26 22:30:35: Searching for global virtual envs in: /home/ma/.venvs
Info 2021-03-26 22:30:35: Searching for global virtual envs in: /home/ma/.virtualenvs
Info 2021-03-26 22:30:35: Searching for global virtual envs in: /home/ma/.local/share/virtualenvs
Info 2021-03-26 22:30:35: Searching for global virtual envs in: /home/ma/envs
Info 2021-03-26 22:30:35: Start watching: /home/ma/vscode_test with pattern python using VSCode API
Info 2021-03-26 22:30:35: Start watching: /home/ma/vscode_test with pattern */python using VSCode API
Info 2021-03-26 22:30:35: Start watching: /home/ma/vscode_test with pattern */bin/python using VSCode API
Info 2021-03-26 22:30:35: Start watching: /home/ma/vscode_test/.direnv with pattern python using VSCode API
Info 2021-03-26 22:30:35: Start watching: /home/ma/vscode_test/.direnv with pattern */python using VSCode API
Info 2021-03-26 22:30:35: Start watching: /home/ma/vscode_test/.direnv with pattern */bin/python using VSCode API
Info 2021-03-26 22:30:35: Start watching: /home/ma/Envs with pattern python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/Envs with pattern */python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/Envs with pattern */bin/python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.direnv with pattern python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.direnv with pattern */python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.direnv with pattern */bin/python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.venvs with pattern python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.venvs with pattern */python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.venvs with pattern */bin/python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.virtualenvs with pattern python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.virtualenvs with pattern */python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.virtualenvs with pattern */bin/python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.local/share/virtualenvs with pattern python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.local/share/virtualenvs with pattern */python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/.local/share/virtualenvs with pattern */bin/python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/envs with pattern python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/envs with pattern */python using chokidar
Info 2021-03-26 22:30:35: Start watching: /home/ma/envs with pattern */bin/python using chokidar
Info 2021-03-26 22:30:35: Rule = settings, result = runNextRule
Info 2021-03-26 22:30:35: Executing next rule from settings
Info 2021-03-26 22:30:35: Rule = settings, result = runNextRule
Info 2021-03-26 22:30:35: Executing next rule from settings
Info 2021-03-26 22:30:35: Couldn't locate the conda binary.
Info 2021-03-26 22:30:35: > python ~/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Info 2021-03-26 22:30:35: > python ~/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Info 2021-03-26 22:30:35: > python ~/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Info 2021-03-26 22:30:35: > python ~/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Info 2021-03-26 22:30:35: Found: /usr/bin/python --> /usr/bin/python2.7
Info 2021-03-26 22:30:35: Found: /usr/bin/python2 --> /usr/bin/python2.7
Info 2021-03-26 22:30:35: Found: /usr/bin/python2.7 --> /usr/bin/python2.7
Info 2021-03-26 22:30:35: Found: /usr/bin/python3 --> /usr/bin/python3.8
Info 2021-03-26 22:30:35: Found: /usr/bin/python3.6 --> /usr/bin/python3.6
Info 2021-03-26 22:30:35: Found: /usr/bin/python3.8 --> /usr/bin/python3.8
Error 2021-03-26 22:30:35: Failed to parse version from path: /usr/bin/python [Error: invalid version python
	at u (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:9:198256)
	at Object.c [as parseVersion] (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:9:197565)
	at p.buildPathEnvInfo (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:29369)
	at e (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:29057)
	at Array.map ()
	at /home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:29222
	at async o (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:1:53891)]
Info 2021-03-26 22:30:36: Activation Commands received undefined for shell bash
Info 2021-03-26 22:30:36: Activation Commands received undefined for shell bash
Info 2021-03-26 22:30:36: Activation Commands received undefined for shell bash
Info 2021-03-26 22:30:36: Activation Commands received undefined for shell bash
Info 2021-03-26 22:30:36: getActivatedEnvironmentVariables, Class name = P, completed in 79ms, has a falsy return value, Arg 1: undefined, Arg 2: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python","architecture":3,"sysVersion":"2.7.18 (default, Mar  8 2021, 13:02:45) \n[GCC 9.3.0]","version":{"raw":"2.7.18","major":2,"minor":7,"patch":18,"build":[],"prerelease":[]},"displayName":"Python 2.7.18 64-bit"}, Arg 3: false
Info 2021-03-26 22:30:36: getActivatedEnvironmentVariables, Class name = P, completed in 79ms, has a falsy return value, Arg 1: undefined, Arg 2: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python","architecture":3,"sysVersion":"2.7.18 (default, Mar  8 2021, 13:02:45) \n[GCC 9.3.0]","version":{"raw":"2.7.18","major":2,"minor":7,"patch":18,"build":[],"prerelease":[]},"displayName":"Python 2.7.18 64-bit"}, Arg 3: false
Info 2021-03-26 22:30:36: getActivatedEnvironmentVariables, Class name = P, completed in 80ms, has a falsy return value, Arg 1: undefined, Arg 2: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python","architecture":3,"sysVersion":"2.7.18 (default, Mar  8 2021, 13:02:45) \n[GCC 9.3.0]","version":{"raw":"2.7.18","major":2,"minor":7,"patch":18,"build":[],"prerelease":[]},"displayName":"Python 2.7.18 64-bit"}, Arg 3: false
Info 2021-03-26 22:30:36: getActivatedEnvironmentVariables, Class name = P, completed in 79ms, has a falsy return value, Arg 1: undefined, Arg 2: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python","architecture":3,"sysVersion":"2.7.18 (default, Mar  8 2021, 13:02:45) \n[GCC 9.3.0]","version":{"raw":"2.7.18","major":2,"minor":7,"patch":18,"build":[],"prerelease":[]},"displayName":"Python 2.7.18 64-bit"}, Arg 3: false
Info 2021-03-26 22:30:36: [Error: Command failed: "/usr/bin/python3.6" "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py" "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/interpreterInfo.py"
Traceback (most recent call last):
  File "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py", line 30, in
    runpy.run_path(module, run_name="__main__")
  File "/usr/lib/python3.6/runpy.py", line 263, in run_path
    pkg_name=pkg_name, script_name=fname)
  File "/usr/lib/python3.6/runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/interpreterInfo.py", line 4, in
    import json
ModuleNotFoundError: No module named 'json'
at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)] {

killed: false,
code: 1,
signal: null,
cmd: '"/usr/bin/python3.6" "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py" "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/interpreterInfo.py"'
}
Info 2021-03-26 22:30:36: Selected Interpreter from workspaceEnvs, Nothing Selected
Info 2021-03-26 22:30:36: Selected Interpreter from workspaceEnvs, Nothing Selected
Info 2021-03-26 22:30:36: Rule = workspaceEnvs, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from workspaceEnvs
Info 2021-03-26 22:30:36: Rule = workspaceEnvs, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from workspaceEnvs
Info 2021-03-26 22:30:36: Current value for rule system is {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]},"displayName":"Python 3.8.5 64-bit"}
Info 2021-03-26 22:30:36: Current value for rule currentPath is {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: Current value for rule windowsRegistry is nothing
Info 2021-03-26 22:30:36: Selected Interpreter from cachedInterpreters, {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: Current value for rule system is {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]},"displayName":"Python 3.8.5 64-bit"}
Info 2021-03-26 22:30:36: Current value for rule currentPath is {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: Current value for rule windowsRegistry is nothing
Info 2021-03-26 22:30:36: Selected Interpreter from cachedInterpreters, {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: setGlobalInterpreter, Class name = f, completed in 70ms, has a truthy return value, Arg 1: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}, Arg 2: , Return Value: true
Info 2021-03-26 22:30:36: setGlobalInterpreter, Class name = f, completed in 70ms, has a truthy return value, Arg 1: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}, Arg 2: , Return Value: true
Info 2021-03-26 22:30:36: Rule = cachedInterpreters, result = exit
Info 2021-03-26 22:30:36: Rule = cachedInterpreters, result = exit
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 105ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test/vscode_test.ipynb, Arg 2: , Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 104ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test, Arg 2: , Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 556ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test/vscode_test.ipynb, Arg 2: , Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 556ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test, Arg 2: , Return Value: undefined
Info 2021-03-26 22:30:36: Activation Commands received undefined for shell bash
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 558ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test/vscode_test.ipynb, Arg 2: , Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 567ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test, Arg 2: , Return Value: undefined
Info 2021-03-26 22:30:36: Rule = windowsRegistry, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from windowsRegistry
Info 2021-03-26 22:30:36: Rule = settings, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from settings
Info 2021-03-26 22:30:36: Rule = windowsRegistry, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from windowsRegistry
Info 2021-03-26 22:30:36: Rule = settings, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from settings
Info 2021-03-26 22:30:36: getActivatedEnvironmentVariables, Class name = P, completed in 118ms, has a falsy return value, Arg 1: undefined, Arg 2: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python","architecture":3,"sysVersion":"2.7.18 (default, Mar  8 2021, 13:02:45) \n[GCC 9.3.0]","version":{"raw":"2.7.18","major":2,"minor":7,"patch":18,"build":[],"prerelease":[]},"displayName":"Python 2.7.18 64-bit"}, Arg 3: false
Info 2021-03-26 22:30:36: Cached data exists getEnvironmentVariables, /home/ma/vscode_test
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 20ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test/vscode_test.ipynb, Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 20ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test/vscode_test.ipynb, Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 16ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test, Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 16ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test, Return Value: undefined
Info 2021-03-26 22:30:36: Cached data exists getEnvironmentVariables, /home/ma/vscode_test/vscode_test.ipynb
Info 2021-03-26 22:30:36: Cached data exists getEnvironmentVariables, /home/ma/vscode_test/vscode_test.ipynb
Info 2021-03-26 22:30:36: Searching for conda.
Info 2021-03-26 22:30:36: Couldn't locate the conda binary.
Info 2021-03-26 22:30:36: Searching for workspace virtual envs in: /home/ma/vscode_test
Info 2021-03-26 22:30:36: Searching for workspace virtual envs in: /home/ma/vscode_test/.direnv
Info 2021-03-26 22:30:36: Searching for global virtual envs in: /home/ma/Envs
Info 2021-03-26 22:30:36: Searching for global virtual envs in: /home/ma/.direnv
Info 2021-03-26 22:30:36: Searching for global virtual envs in: /home/ma/.venvs
Info 2021-03-26 22:30:36: Searching for global virtual envs in: /home/ma/.virtualenvs
Info 2021-03-26 22:30:36: Searching for global virtual envs in: /home/ma/.local/share/virtualenvs
Info 2021-03-26 22:30:36: Searching for global virtual envs in: /home/ma/envs
Info 2021-03-26 22:30:36: Current value for rule system is {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]},"displayName":"Python 3.8.5 64-bit"}
Info 2021-03-26 22:30:36: Current value for rule currentPath is {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: Current value for rule windowsRegistry is nothing
Info 2021-03-26 22:30:36: Selected Interpreter from cachedInterpreters, {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: Current value for rule system is {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]},"displayName":"Python 3.8.5 64-bit"}
Info 2021-03-26 22:30:36: Current value for rule currentPath is {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: Current value for rule windowsRegistry is nothing
Info 2021-03-26 22:30:36: Selected Interpreter from cachedInterpreters, {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: Display locator refreshing progress, Class name = g, completed in 2ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: Selected Interpreter from currentPath, {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: Selected Interpreter from currentPath, {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}
Info 2021-03-26 22:30:36: Selected Interpreter from system, {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]},"displayName":"Python 3.8.5 64-bit"}
Info 2021-03-26 22:30:36: Selected Interpreter from system, {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]},"displayName":"Python 3.8.5 64-bit"}
Info 2021-03-26 22:30:36: Found: /usr/bin/python --> /usr/bin/python2.7
Info 2021-03-26 22:30:36: Found: /usr/bin/python2 --> /usr/bin/python2.7
Info 2021-03-26 22:30:36: Found: /usr/bin/python2.7 --> /usr/bin/python2.7
Info 2021-03-26 22:30:36: Found: /usr/bin/python3 --> /usr/bin/python3.8
Info 2021-03-26 22:30:36: Found: /usr/bin/python3.6 --> /usr/bin/python3.6
Info 2021-03-26 22:30:36: Found: /usr/bin/python3.8 --> /usr/bin/python3.8
Info 2021-03-26 22:30:36: setGlobalInterpreter, Class name = f, completed in 143ms, has a falsy return value, Arg 1: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}, Arg 2: undefined, Return Value: false
Info 2021-03-26 22:30:36: setGlobalInterpreter, Class name = f, completed in 144ms, has a falsy return value, Arg 1: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}, Arg 2: undefined, Return Value: false
Info 2021-03-26 22:30:36: setGlobalInterpreter, Class name = f, completed in 133ms, has a falsy return value, Arg 1: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}, Arg 2: undefined, Return Value: false
Info 2021-03-26 22:30:36: setGlobalInterpreter, Class name = f, completed in 132ms, has a falsy return value, Arg 1: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]}}, Arg 2: undefined, Return Value: false
Info 2021-03-26 22:30:36: setGlobalInterpreter, Class name = f, completed in 132ms, has a falsy return value, Arg 1: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]},"displayName":"Python 3.8.5 64-bit"}, Arg 2: undefined, Return Value: false
Info 2021-03-26 22:30:36: setGlobalInterpreter, Class name = f, completed in 122ms, has a falsy return value, Arg 1: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python3","architecture":3,"sysVersion":"3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]","version":{"raw":"3.8.5","major":3,"minor":8,"patch":5,"build":[],"prerelease":[]},"displayName":"Python 3.8.5 64-bit"}, Arg 2: undefined, Return Value: false
Info 2021-03-26 22:30:36: Rule = cachedInterpreters, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from cachedInterpreters
Info 2021-03-26 22:30:36: Rule = cachedInterpreters, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from cachedInterpreters
Info 2021-03-26 22:30:36: Rule = currentPath, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from currentPath
Info 2021-03-26 22:30:36: Rule = currentPath, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from currentPath
Info 2021-03-26 22:30:36: Rule = system, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from system
Info 2021-03-26 22:30:36: Rule = system, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from system
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 234ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test/vscode_test.ipynb, Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 230ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test, Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 234ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test/vscode_test.ipynb, Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 230ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test, Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 234ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test/vscode_test.ipynb, Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 230ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test, Return Value: undefined
Python interpreter path: /usr/bin/python3
Starting Jedi Python language engine.
Info 2021-03-26 22:30:36: Cached data exists getEnvironmentVariables, /home/ma/vscode_test/vscode_test.ipynb
Error 2021-03-26 22:30:36: Failed to parse version from path: /usr/bin/python [Error: invalid version python
at u (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:9:198256)
at Object.c [as parseVersion] (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:9:197565)
at p.buildPathEnvInfo (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:29369)
at e (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:29057)
at Array.map ()
at /home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:29222
at async o (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:1:53891)]
Info 2021-03-26 22:30:36: [object Object]. Shell identified as undefined
Info 2021-03-26 22:30:36: Shell path '/bin/bash'
Info 2021-03-26 22:30:36: Shell path identified as shell 'bash'
Info 2021-03-26 22:30:36: Terminal shell path '/bin/bash' identified as shell 'bash'
Info 2021-03-26 22:30:36: [object Object]. Shell identified as bash
Info 2021-03-26 22:30:36: Shell identified as 'bash'
Info 2021-03-26 22:30:36: Cached data exists getEnvironmentVariables,
Info 2021-03-26 22:30:36: Cached data exists getEnvironmentVariables,
Info 2021-03-26 22:30:36: Display locator refreshing progress, Class name = g, completed in 7ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: Searching for conda.
Info 2021-03-26 22:30:36: Probing conda binary: conda
Info 2021-03-26 22:30:36: Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined
Info 2021-03-26 22:30:36: [Error: spawn conda ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)] {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn conda',
path: 'conda',
spawnargs: [ 'info', '--json' ]
}
Info 2021-03-26 22:30:36: Searching for conda.
Info 2021-03-26 22:30:36: > conda --version

conda --version
Info 2021-03-26 22:30:36: Current value for rule workspaceEnvs is nothing
Info 2021-03-26 22:30:36: [Error: Command failed: "/usr/bin/python3.6" "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py" "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/interpreterInfo.py"
Traceback (most recent call last):
File "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py", line 30, in
runpy.run_path(module, run_name="main")
File "/usr/lib/python3.6/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/usr/lib/python3.6/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/interpreterInfo.py", line 4, in
import json
ModuleNotFoundError: No module named 'json'

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)] {

killed: false,
code: 1,
signal: null,
cmd: '"/usr/bin/python3.6" "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/pyvsc-run-isolated.py" "/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/pythonFiles/interpreterInfo.py"'
}
Info 2021-03-26 22:30:36: Selected Interpreter from workspaceEnvs, Nothing Selected
Info 2021-03-26 22:30:36: Selected Interpreter from workspaceEnvs, Nothing Selected
Info 2021-03-26 22:30:36: Rule = workspaceEnvs, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from workspaceEnvs
Info 2021-03-26 22:30:36: Rule = workspaceEnvs, result = runNextRule
Info 2021-03-26 22:30:36: Executing next rule from workspaceEnvs
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 435ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test/vscode_test.ipynb, Return Value: undefined
Info 2021-03-26 22:30:36: autoSelectInterpreter, Class name = f, completed in 431ms, has a falsy return value, Arg 1: Uri:/home/ma/vscode_test, Return Value: undefined
Info 2021-03-26 22:30:53: Activation Commands received undefined for shell bash
Info 2021-03-26 22:30:53: getActivatedEnvironmentVariables, Class name = P, completed in 42ms, has a falsy return value, Arg 1: undefined, Arg 2: {"sysPrefix":"/usr","envType":"Unknown","envName":"","envPath":"","path":"/usr/bin/python","architecture":3,"sysVersion":"2.7.18 (default, Mar  8 2021, 13:02:45) \n[GCC 9.3.0]","version":{"raw":"2.7.18","major":2,"minor":7,"patch":18,"build":[],"prerelease":[]},"displayName":"Python 2.7.18 64-bit"}, Arg 3: false
Info 2021-03-26 22:31:08: Cached data exists getEnvironmentVariables, extension-output-#5

@ma137, we're not sure why this is happening for you. However, there is at least a chance that the reason the December build of our extension worked for you is because there was a bug in that build that accidentally made it work. From what we can see in the logs you've sent the behavior is all expected. But, since we don't have
Would it be possible for you to send us a stripped down copy snippet of the your ipynb file? We don't need cells with source or output. Also, could you send us the /home/ma/.local/share/jupyter/kernels/python2/kernel.json file? This still may not be enough to figure out what's happening, but it can at least validate or invalidate some theories we have.

@greazer, you can find the requested data below:

Source of the Python 3 Jupyter notebook

{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "2"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "1+1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}

Content of  /home/ma/.local/share/jupyter/kernels/python2/kernel.json

{
 "display_name": "Python 2",
 "language": "python",
 "argv": [
  "python",
  "-m",
  "ipykernel_launcher",
  "-f",
  "{connection_file}"
 ]
}

In order to check if some strange configuration on my computer is causing this problem, I tried to reproduce the problem in a virtual machine (using VirtualBox on Ubuntu 20.04). I was able to reproduce the problem:

Install Ubuntu 18.04 (yes, I tried a different version). Use the minimal installation mode.
Open a terminal and run sudo apt update and sudo apt install python3 jupyter-notebook
Install VS Code Insiders. Install the Python and the Jupyter extension therein.
Run Jupyter using jupyter notebook on the command line and create a simple Python 3 notebook.
Open the notebook in VS Code Insiders. -> Everything works as expected, cells can be executed. (Close VS Code Insiders.)
Install Python 2 by executing sudo apt install python on the command line.
Open the notebook in VS Code Insiders. -> The described error appears: Python 2.7.[...] 64-bit requires ipykernel to be installed.

Maybe these information are helpful for you.

Dear @greazer, the "info-needed" label, you added approx. 7 days ago, confuses me a little. I thought that I had provided all requested data.

@ma137 I'm not sure about the info needed, but I believe that your issue is linked to this problem here:
https://github.com/microsoft/vscode-jupyter/issues/5454
Error 2021-03-26 22:30:35: Failed to parse version from path: /usr/bin/python [Error: invalid version python 	at u (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:9:198256) 	at Object.c [as parseVersion] (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:9:197565) 	at p.buildPathEnvInfo (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:29369) 	at e (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:29057) 	at Array.map () 	at /home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:80:29222 	at async o (/home/ma/.vscode-insiders/extensions/ms-python.python-2021.3.680753044/out/client/extension.js:1:53891)]
The python extension is trying to parse your usr/bin/python and erroring out which throws off our code to locate the other interpreters on the system. I think that we'll either need an update from the python team or an update on our side to handle the error from the interpreter parsing.

I believe I have the same or at least a similar problem. Whenever I create a new notebook, in a fresh workspace, it always tries to run the system Python 2.7. That's even though the Conda Python 3.8.8 I actually want to use is configured both as setting python.defaultInterpreterPath and is shown in the status bar before creating the notebook. I previously commented on an issue under vscode-python: https://github.com/microsoft/vscode-python/issues/3033#issuecomment-812919243
Two things I understand:

How does Jupyter extension kernel selection relate to the interpreter configured / selected in the Python extension? Why doesn't the Jupyter extension ask the Python extension which interpreter to use?

How does the Jupyter extension obtain the list of kernels? Optimally, I would simply like to exclude the system Python(s) as well as the 'base' Conda Python from the list.

Apart from fixing this behavior, is there a workaround, e.g. a template .vscode/settings.json I could copy into new workspace (folder)?

Same problem:
Version: 1.56.0-insider (user setup)
Commit: 9a4d524f909e09079fec7abb82f2efde2172da7c
Date: 2021-04-27T06:15:26.914Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042
Jupiter v2021.6.780948196
Connecting to kernel: Python 2.7.17 64-bit
Could not install ipykernel.

On Ubuntu. 20.04 There is an option to set Kernel. To the right of option "Jupyter Server" (top right corner) . Use Pyhton 3.8

very interesting. I did followig thing and solved this problem.

Run code on Jupyter, then, it will tell you python 2.7 cannot work.
Select Jupyter server from local to remote. It will restart.
Then, in you setting, change it back to local.
You can work with Jupyter correctly with python 3.0

We believe that this problem has been fixed in the latest release of VS Code and the Jupyter extension.

@ma137 woo hooo... that's great news
I believe the issue with not running until you have opened it the second time may have been resolved.
Please could you try updating to the latest version of the extension (please update VS Code Insiders as well), hopefully that should work now.

@DonJayamanne That's indeed very nice that this bug is fixed now. :+1:
I updated my VS Code Insiders installation and the Jupyter extension as you suggested. The problem that I have to open the notebook a second time in order to run cells persists for me.
Version numbers

VS Code Insiders: 1.57.0-insider ( commit: 37a12c9b0846167b2f68e9e1f276149d2d8b9b27 )
Jupyter extension: v2021.6.834931520
Python extension: v2021.5.829140558

Jupyter logs

Opening the notebook the first time (running cells does not work)

User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'jupyterEnhancedDataViewer'
User belongs to experiment group 'NativeNotebookEditor'
Info 2021-05-12 18:56:02: ZMQ install verified.
Info 2021-05-12 18:56:03: Attempting to start a server because of preload conditions ...
Info 2021-05-12 18:56:03: Found existing keyfile at /home/ubu/.config/Code - Insiders/User/globalStorage/ms-toolsai.jupyter/nbsecret
Info 2021-05-12 18:56:03: Checking if notebook is trusted
Info 2021-05-12 18:56:03: Check if Notebook is Trusted, Class name = p, completed in 111ms, has a truthy return value, Return Value: true
Info 2021-05-12 18:56:04: notebook communications already initialized for editor file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:04: Attempting to start a server because of preload conditions ...
Info 2021-05-12 18:56:04: Search all interpreters /usr/bin/python, /usr/bin/python3
Info 2021-05-12 18:56:05: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:05: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:05: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:05: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:05: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
Info 2021-05-12 18:56:05: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
Info 2021-05-12 18:56:05: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
Info 2021-05-12 18:56:05: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
Info 2021-05-12 18:56:05: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py pip list
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py pip list
Info 2021-05-12 18:56:05: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py pip list
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py pip list
Info 2021-05-12 18:56:05: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-05-12 18:56:05: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-05-12 18:56:05: Loading kernelspec from /usr/share/jupyter/kernels/python3/kernel.json for /usr/bin/python3
Info 2021-05-12 18:56:06: Kernel python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6 matches Python 3.6.9 64-bit based on path in argv.
Info 2021-05-12 18:56:06: findPreferredKernel score for Python3, Python 3.6.9 64-bit is 121
Info 2021-05-12 18:56:06: findPreferredKernel score for Python 3.6.9 64-bit is 121
Info 2021-05-12 18:56:06: findPreferredKernel score for speclanguage=python, Python 2.7.17 64-bit is -1
Info 2021-05-12 18:56:06: findPreferredKernel score for Python 2.7.17 64-bit is 1
Info 2021-05-12 18:56:06: findKernel found Python 3.6.9 64-bit
Info 2021-05-12 18:56:06: Find kernel spec, Class name = D, completed in 2750ms, has a truthy return value, Arg 1: , Arg 2: {"interpreter":{"hash":"31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6"},"kernelspec":{"display_name":"Python 3.6.9 64-bit","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.6.9"}}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python3","name":"python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3.6.9 64-bit"},"interpreter":{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.6.9","major":3,"minor":6,"patch":9,"prerelease":[],"build":[],"version":"3.6.9"},"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","sysPrefix":"/usr","fileHash":"4d55161385b07a9eca8c70b7bcdbae8117155609c991e1be40ad794f872a6b1339b001aeb9caf08492b305ed215105357f6021a21811b4a73ea15c60ceca8e87","envType":"Unknown","cachedEntry":true,"displayName":"Python 3.6.9 64-bit"},"id":".jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3"}
Info 2021-05-12 18:56:06: PreferredConnection: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3 found for NotebookDocument: file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:06: TargetController found ID: .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3 for document file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:06: Setting setActiveController for file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:06: Intiailize notebook communications for editor file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:06: Resolving notebook UI Comms (resolve) for file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:06: initialize CommonMessageCoordinator
Info 2021-05-12 18:56:06: KernelProvider switched kernel to id = .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3}
Info 2021-05-12 18:56:06: IPyWidgetMessageDispatcher.initialize
Info 2021-05-12 18:56:06: Created and initailized CommonMessageCoordinator
Info 2021-05-12 18:56:06: Attach Coordinator for file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:06: Posting message to Notebook UI
Info 2021-05-12 18:56:07: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:07: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
Info 2021-05-12 18:56:07: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
Info 2021-05-12 18:56:07: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:07: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/getJupyterKernelspecVersion.py
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/getJupyterKernelspecVersion.py
Info 2021-05-12 18:56:07: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/getJupyterKernelspecVersion.py
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/getJupyterKernelspecVersion.py
Info 2021-05-12 18:56:08: Creating daemon process for /usr/bin/python3 with env variables count 0
Info 2021-05-12 18:56:08: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-05-12 18:56:08: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-05-12 18:56:08: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:08: Creating daemon pool for /usr/bin/python3 with env variables count 0
Info 2021-05-12 18:56:08: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-05-12 18:56:08: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-05-12 18:56:09: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-05-12 18:56:09: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-05-12 18:56:09: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-05-12 18:56:09: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-05-12 18:56:09: Python Daemon (pid: 6424): Execute rpc method prewarm_kernel in DS Daemon
Info 2021-05-12 18:56:09: Python Daemon (pid: 6424): Execute rpc method prewarm_kernel from /usr/bin/python3
Info 2021-05-12 18:56:09: Python Daemon (pid: 6424): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
Info 2021-05-12 18:56:09: Python Daemon (pid: 6424): Exec in DS Kernel Launcher Daemon (observable) ['/usr/bin/python3', '/home/ubu/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py', '/home/ubu/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py']
Info 2021-05-12 18:56:09: Python Daemon (pid: 6424): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-05-12 18:56:09: Python Daemon (pid: 6424): Kernel launched, with PID 6433
Warn 2021-05-12 18:56:09: Python Daemon (pid: 6424): Waiting for Kernel to die 6433
Info 2021-05-12 18:56:09: Python Daemon (pid: 6424): Kernel launched, with PID as a daemon 6433
Info 2021-05-12 18:56:11: Widget Coordinator received IPyWidgets_Ready
Info 2021-05-12 18:56:11: IPyWidgetMessageDispatcher.initialize
Info 2021-05-12 18:56:15: Execute Cells request 1 0
Info 2021-05-12 18:56:15: Execute Cell 0 file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:15: Starting Notebook in kernel.ts id = .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3
Info 2021-05-12 18:56:15: Creating raw notebook for file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:15: Getting preferred kernel for file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:15: Computing working directory file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:15: Connecting to raw session for file:///home/ubu/test/Untitled.ipynb with connection {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python3","name":"python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6","argv":["/usr/bin/python3","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3.6.9 64-bit"},"interpreter":{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.6.9","major":3,"minor":6,"patch":9,"prerelease":[],"build":[],"version":"3.6.9"},"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","sysPrefix":"/usr","fileHash":"4d55161385b07a9eca8c70b7bcdbae8117155609c991e1be40ad794f872a6b1339b001aeb9caf08492b305ed215105357f6021a21811b4a73ea15c60ceca8e87","envType":"Unknown","cachedEntry":true,"displayName":"Python 3.6.9 64-bit"},"id":".jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3"}
Info 2021-05-12 18:56:15: Starting raw kernel Python 3.6.9 64-bit
Info 2021-05-12 18:56:15: installMissingDependencies /usr/bin/python3
Info 2021-05-12 18:56:15: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:15: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-05-12 18:56:15: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-05-12 18:56:15: Install Missing Dependencies, Class name = y, completed in 612ms, has a falsy return value, Return Value: undefined
Info 2021-05-12 18:56:15: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000
Info 2021-05-12 18:56:15: Launching kernel daemon for Python 3.6.9 64-bit # /usr/bin/python3
Info 2021-05-12 18:56:15: No custom variables for Kernel as interpreter is not conda, but is Unknown
Info 2021-05-12 18:56:16: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:16: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-05-12 18:56:16: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-05-12 18:56:16: Python Daemon (pid: 6424): Execute rpc method start_prewarmed_kernel in DS Daemon
Info 2021-05-12 18:56:16: Python Daemon (pid: 6424): Execute rpc method start_prewarmed_kernel from /usr/bin/python3
Info 2021-05-12 18:56:16: Python Daemon (pid: 6424): Start pre-warmed Kernel in DS Kernel Launcher Daemon 6433 with args ['ipykernel_launcher', '--ip=<IP_ADDRESS>', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"49d3c910-54ba-4bc5-9005-b419db64accd"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=/tmp/tmp-6320a0sct2aGZsBn.json']
Info 2021-05-12 18:56:16: Launching kernel daemon, Class name = f, completed in 64ms, has a truthy return value, Arg 1: , Arg 2: "/home/ubu/test", Arg 3: {"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python3","name":"python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6","argv":["/usr/bin/python3","-m","ipykernel_launcher","--ip=<IP_ADDRESS>","--stdin=9003","--control=9001","--hb=9000","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"49d3c910-54ba-4bc5-9005-b419db64accd\"","--shell=9002","--transport=\"tcp\"","--iopub=9004","--f=/tmp/tmp-6320a0sct2aGZsBn.json"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3.6.9 64-bit"}, Arg 4: {"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.6.9","major":3,"minor":6,"patch":9,"prerelease":[],"build":[],"version":"3.6.9"},"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","sysPrefix":"/usr","fileHash":"4d55161385b07a9eca8c70b7bcdbae8117155609c991e1be40ad794f872a6b1339b001aeb9caf08492b305ed215105357f6021a21811b4a73ea15c60ceca8e87","envType":"Unknown","cachedEntry":true,"displayName":"Python 3.6.9 64-bit"}, Return Value:
Info 2021-05-12 18:56:16: Launching kernel in kernelProcess.ts, Class name = b, completed in 64ms, has a truthy return value, Arg 1: "/home/ubu/test", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/usr/bin/python3","_handle":{"pid":6424},"spawnargs":["/usr/bin/python3","/home/ubu/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":6424,"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-05-12 18:56:16: Raw session started and connected
Started kernel Python 3.6.9 64-bit
Info 2021-05-12 18:56:16: Initial setup for file:///home/ubu/test/Untitled.ipynb starting ...
 Start port is 9000
Info 2021-05-12 18:56:17: Launching kernel daemon for Python 3.6.9 64-bit # /usr/bin/python3
Info 2021-05-12 18:56:17: No custom variables for Kernel as interpreter is not conda, but is Unknown
Info 2021-05-12 18:56:17: Cached data exists getEnvironmentVariables,
Info 2021-05-12 18:56:17: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-05-12 18:56:17: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Execute rpc method prewarm_kernel in DS Daemon
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Execute rpc method prewarm_kernel from /usr/bin/python3
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Exec in DS Kernel Launcher Daemon (observable) ['/usr/bin/python3', '/home/ubu/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py', '/home/ubu/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py']
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Kernel launched, with PID 6466
Warn 2021-05-12 18:56:17: Python Daemon (pid: 6463): Waiting for Kernel to die 6466
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Kernel launched, with PID as a daemon 6466
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Execute rpc method start_prewarmed_kernel in DS Daemon
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Execute rpc method start_prewarmed_kernel from /usr/bin/python3
Info 2021-05-12 18:56:17: Python Daemon (pid: 6463): Start pre-warmed Kernel in DS Kernel Launcher Daemon 6466 with args ['ipykernel_launcher', '--ip=<IP_ADDRESS>', '--stdin=9008', '--control=9006', '--hb=9005', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"f37a0448-43ff-4310-9b17-7903b5319f00"', '--shell=9007', '--transport="tcp"', '--iopub=9009', '--f=/tmp/tmp-6320Qh1s5MFS10sY.json']
Info 2021-05-12 18:56:17: Launching kernel daemon, Class name = f, completed in 201ms, has a truthy return value, Arg 1: , Arg 2: "/home/ubu/test", Arg 3: {"specFile":"/usr/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/usr/bin/python3","name":"python369jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6","argv":["/usr/bin/python3","-m","ipykernel_launcher","--ip=<IP_ADDRESS>","--stdin=9008","--control=9006","--hb=9005","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"f37a0448-43ff-4310-9b17-7903b5319f00\"","--shell=9007","--transport=\"tcp\"","--iopub=9009","--f=/tmp/tmp-6320Qh1s5MFS10sY.json"],"language":"python","path":"/usr/bin/python3","display_name":"Python 3.6.9 64-bit"}, Arg 4: {"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.6.9","major":3,"minor":6,"patch":9,"prerelease":[],"build":[],"version":"3.6.9"},"sysVersion":"3.6.9 (default, Jan 26 2021, 15:33:00) \n[GCC 8.4.0]","sysPrefix":"/usr","fileHash":"4d55161385b07a9eca8c70b7bcdbae8117155609c991e1be40ad794f872a6b1339b001aeb9caf08492b305ed215105357f6021a21811b4a73ea15c60ceca8e87","envType":"Unknown","cachedEntry":true,"displayName":"Python 3.6.9 64-bit"}, Return Value:
Info 2021-05-12 18:56:17: Launching kernel in kernelProcess.ts, Class name = b, completed in 202ms, has a truthy return value, Arg 1: "/home/ubu/test", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/usr/bin/python3","_handle":{"pid":6463},"spawnargs":["/usr/bin/python3","/home/ubu/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":6463,"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-05-12 18:56:19: Execute Cells request 1 0
Info 2021-05-12 18:56:19: Execute Cell 0 file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:19: Cached data exists getEnvironmentVariables, /home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:19: Creating daemon process for /usr/bin/python3 with env variables count 0
Info 2021-05-12 18:56:19: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-05-12 18:56:19: Process Execution: > /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /usr/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-05-12 18:56:19: Python Daemon (pid: 6480): Execute rpc method prewarm_kernel in DS Daemon
Info 2021-05-12 18:56:19: Python Daemon (pid: 6480): Execute rpc method prewarm_kernel from /usr/bin/python3
Info 2021-05-12 18:56:19: Python Daemon (pid: 6480): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
Info 2021-05-12 18:56:19: Python Daemon (pid: 6480): Exec in DS Kernel Launcher Daemon (observable) ['/usr/bin/python3', '/home/ubu/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py', '/home/ubu/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.6.834931520/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py']
Info 2021-05-12 18:56:19: Python Daemon (pid: 6480): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-05-12 18:56:19: Python Daemon (pid: 6480): Kernel launched, with PID 6482
Warn 2021-05-12 18:56:19: Python Daemon (pid: 6480): Waiting for Kernel to die 6482
Info 2021-05-12 18:56:19: Python Daemon (pid: 6480): Kernel launched, with PID as a daemon 6482
Info 2021-05-12 18:56:21: Execute Cells request 1 1
Info 2021-05-12 18:56:21: Execute Cell 1 file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:56:22: Execute Cells request 1 1
Info 2021-05-12 18:56:22: Execute Cell 1 file:///home/ubu/test/Untitled.ipynb

Closing the notebook

Info 2021-05-12 18:58:28: Kernel got disposed as a result of notebook.onDisposed file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:58:28: Kernel got disposed, hence there is no longer a kernel associated with file:///home/ubu/test/Untitled.ipynb file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:58:28: Shutting down session file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:58:28: Shutdown session - current session
Info 2021-05-12 18:58:28: shutdownSession 86fc34e7-c7d6-4df5-bc69-74233f8def51, .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3 - start
Info 2021-05-12 18:58:28: Session can be shutdown .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3
Info 2021-05-12 18:58:28: Dispose Kernel process
Info 2021-05-12 18:58:28: kill daemon
Info 2021-05-12 18:58:28: Notebook Closed file:///home/ubu/test/Untitled.ipynb
Info 2021-05-12 18:58:28: Cancel pending cells
Info 2021-05-12 18:58:28: Cancel pending cells
Info 2021-05-12 18:58:28: Cancel pending cells
Info 2021-05-12 18:58:28: Cancel pending cells
Info 2021-05-12 18:58:28: KernelProcess output: Content-Length: 131
Content-Type: application/vscode-jsonrpc; charset=utf8
{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Execute rpc method kill_kernel in DS Daemon", "pid": 6424}}Content-Length: 140
Content-Type: application/vscode-jsonrpc; charset=utf8
{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Execute rpc method kill_kernel from /usr/bin/python3", "pid": 6424}}Content-Length: 128
Content-Type: application/vscode-jsonrpc; charset=utf8