Requires Python 2.7 ipykernel to be installed when opening Python 3 notebook
See original GitHub issueEnvironment 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: 8.7.220.31-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 notebookin 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: <Uri:/home/ma/[...]/Untitled.ipynb>, 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

Issue Analytics
- State:
 - Created 3 years ago
 - Reactions:2
 - Comments:56 (25 by maintainers)
 

Top Related StackOverflow Question
Ah okay, I thought you meant a log file somewhere.
Here it is:
User belongs to experiment group 'pythonJediLSP' User belongs to experiment group 'jupyterTestcf' User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher' User belongs to experiment group 'pythonSurveyNotificationcf' User belongs to experiment group 'jupyterEnhancedDataViewer' Info 2021-05-07 18:12:23: ZMQ install verified. Info 2021-05-07 18:12:23: id is bd0fb7fc-f426-45f6-822a-57d3aee0c086 Info 2021-05-07 18:12:24: Attempting to start a server because of preload conditions ... Info 2021-05-07 18:12:24: Found existing keyfile at /home/ca/.config/Code/User/globalStorage/ms-toolsai.jupyter/nbsecret Info 2021-05-07 18:12:24: Check if Notebook is Trusted, Class name = p, completed in 0ms, has a truthy return value, Return Value: true Info 2021-05-07 18:12:24: Loading web panel for file:///home/ca/work/Projects/phant/scratch.ipynb Info 2021-05-07 18:12:24: Loading webview. View is notset Info 2021-05-07 18:12:24: Attempting to start a server because of preload conditions ... Info 2021-05-07 18:12:24: Loading web view... Info 2021-05-07 18:12:24: Webview panel created. Info 2021-05-07 18:12:24: initialize CommonMessageCoordinator Info 2021-05-07 18:12:24: IPyWidgetMessageDispatcher.initialize Info 2021-05-07 18:12:24: Created and initailized CommonMessageCoordinator Info 2021-05-07 18:12:24: Creating raw notebook for file:///home/ca/work/Projects/phant/scratch.ipynb Info 2021-05-07 18:12:24: Getting preferred kernel for file:///home/ca/work/Projects/phant/scratch.ipynb Info 2021-05-07 18:12:24: Search all interpreters /home/ca/.conda/envs/std/bin/python, /opt/conda/bin/python, /usr/bin/python, /usr/bin/python3 Info 2021-05-07 18:12:25: Cached data exists getEnvironmentVariables, <No Resource> Info 2021-05-07 18:12:25: Cached data exists getEnvironmentVariables, <No Resource> Info 2021-05-07 18:12:25: Loading kernelspec from /home/ca/.conda/envs/std/share/jupyter/kernels/python3/kernel.json for /home/ca/.conda/envs/std/bin/python Info 2021-05-07 18:12:25: Loading kernelspec from /usr/local/share/jupyter/kernels/python3/kernel.json for undefined Info 2021-05-07 18:12:25: Process Execution: > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" Info 2021-05-07 18:12:25: Process Execution: > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" Info 2021-05-07 18:12:25: Process Execution: > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py pip list > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py pip list Info 2021-05-07 18:12:25: Process Execution: > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py pip list > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py pip list Info 2021-05-07 18:12:25: Kernel python388jvsc74a57bd0fbea4c25f81cca0b54ce50f7705152da7f54ab6399b2e12770bd8d662511a9af matches Python 3.8.8 64-bit ('std': conda) based on path in argv. Info 2021-05-07 18:12:25: findPreferredKernel score for Python 2.7.16 64-bit is 3 Info 2021-05-07 18:12:25: findPreferredKernel score for Python 3.8.8 64-bit ('std': conda) is 115 Info 2021-05-07 18:12:25: findPreferredKernel score for Python 3 is 1 Info 2021-05-07 18:12:25: findPreferredKernel score for Python 3.8.5 64-bit ('base': conda) is 1 Info 2021-05-07 18:12:25: findPreferredKernel score for Python 3.7.3 64-bit is 1 Info 2021-05-07 18:12:25: Find kernel spec, Class name = x, completed in 640ms, has a truthy return value, Arg 1: <Uri:/home/ca/work/Projects/phant/scratch.ipynb>, Arg 2: {"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.8"},"orig_nbformat":2,"kernelspec":{"name":"python388jvsc74a57bd0fbea4c25f81cca0b54ce50f7705152da7f54ab6399b2e12770bd8d662511a9af","display_name":"Python 3.8.8 64-bit ('std': conda)"}}, Arg 3: undefined, Return Value: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/ca/.conda/envs/std/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/home/ca/.conda/envs/std/bin/python","name":"python388jvsc74a57bd0fbea4c25f81cca0b54ce50f7705152da7f54ab6399b2e12770bd8d662511a9af","argv":["/home/ca/.conda/envs/std/bin/python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/home/ca/.conda/envs/std/bin/python","display_name":"Python 3.8.8 64-bit ('std': conda)"},"interpreter":{"sysPrefix":"/home/ca/.conda/envs/std","envType":"Conda","envName":"std","envPath":"/home/ca/.conda/envs/std","path":"/home/ca/.conda/envs/std/bin/python","architecture":3,"sysVersion":"3.8.8 | packaged by conda-forge | (default, Feb 20 2021, 16:22:27) \n[GCC 9.3.0]","version":{"raw":"3.8.8","major":3,"minor":8,"patch":8,"build":[],"prerelease":["final","0"]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.8 64-bit ('std': conda)"},"id":".python388jvsc74a57bd0fbea4c25f81cca0b54ce50f7705152da7f54ab6399b2e12770bd8d662511a9af./home/ca/.conda/envs/std/bin/python./home/ca/.conda/envs/std/bin/python.Python 3.8.8 64-bit ('std': conda)"} Info 2021-05-07 18:12:25: Computing working directory file:///home/ca/work/Projects/phant/scratch.ipynb Info 2021-05-07 18:12:25: Connecting to raw session for file:///home/ca/work/Projects/phant/scratch.ipynb with connection {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/home/ca/.conda/envs/std/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/home/ca/.conda/envs/std/bin/python","name":"python388jvsc74a57bd0fbea4c25f81cca0b54ce50f7705152da7f54ab6399b2e12770bd8d662511a9af","argv":["/home/ca/.conda/envs/std/bin/python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/home/ca/.conda/envs/std/bin/python","display_name":"Python 3.8.8 64-bit ('std': conda)"},"interpreter":{"sysPrefix":"/home/ca/.conda/envs/std","envType":"Conda","envName":"std","envPath":"/home/ca/.conda/envs/std","path":"/home/ca/.conda/envs/std/bin/python","architecture":3,"sysVersion":"3.8.8 | packaged by conda-forge | (default, Feb 20 2021, 16:22:27) \n[GCC 9.3.0]","version":{"raw":"3.8.8","major":3,"minor":8,"patch":8,"build":[],"prerelease":["final","0"]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.8 64-bit ('std': conda)"},"id":".python388jvsc74a57bd0fbea4c25f81cca0b54ce50f7705152da7f54ab6399b2e12770bd8d662511a9af./home/ca/.conda/envs/std/bin/python./home/ca/.conda/envs/std/bin/python.Python 3.8.8 64-bit ('std': conda)"} Info 2021-05-07 18:12:25: Starting raw kernel Python 3.8.8 64-bit ('std': conda) Info 2021-05-07 18:12:25: installMissingDependencies /home/ca/.conda/envs/std/bin/python Info 2021-05-07 18:12:26: Web view react rendered Info 2021-05-07 18:12:26: Request for onigasm file at /home/ca/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/out/client/node_modules/onigasm/lib/onigasm.wasm Info 2021-05-07 18:12:26: Request for tmlanguage file. Info 2021-05-07 18:12:26: Searching for token colors ... Info 2021-05-07 18:12:26: Attempting search for colors ... Info 2021-05-07 18:12:26: Searching for token colors ... Info 2021-05-07 18:12:26: Attempting search for colors ... Info 2021-05-07 18:12:26: Searching for token colors ... Info 2021-05-07 18:12:26: Attempting search for colors ... Info 2021-05-07 18:12:26: Searching for token colors ... Info 2021-05-07 18:12:26: Attempting search for colors ... Info 2021-05-07 18:12:26: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py pip list > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py pip list Info 2021-05-07 18:12:26: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import notebook" > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import notebook" Info 2021-05-07 18:12:26: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import jupyter" > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import jupyter" Info 2021-05-07 18:12:26: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel" Info 2021-05-07 18:12:26: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version Info 2021-05-07 18:12:26: Creating daemon pool for /home/ca/.conda/envs/std/bin/python with env variables count 73 Info 2021-05-07 18:12:26: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v Info 2021-05-07 18:12:26: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v Info 2021-05-07 18:12:26: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v Info 2021-05-07 18:12:26: Install Missing Dependencies, Class name = v, completed in 1856ms, has a falsy return value, Return Value: undefined Info 2021-05-07 18:12:26: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000 Info 2021-05-07 18:12:26: Launching kernel daemon for Python 3.8.8 64-bit ('std': conda) # /home/ca/.conda/envs/std/bin/python Info 2021-05-07 18:12:27: Fetching interpreter variables of Conda environment to be used as env vars of Kernel Info 2021-05-07 18:12:27: Creating daemon process for /home/ca/.conda/envs/std/bin/python with env variables count 73 Info 2021-05-07 18:12:27: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v Info 2021-05-07 18:12:27: Got custom variables for Kernel owned by a conda interpreter Info 2021-05-07 18:12:27: Searching for token colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Searching for token colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Searching for token colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Searching for token colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Attempting search for colors ... Info 2021-05-07 18:12:27: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json ... Info 2021-05-07 18:12:27: Using colors to generate CSS ... Info 2021-05-07 18:12:27: Using colors to generate CSS ... Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): Execute rpc method exec_module in DS Daemon Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): Execute rpc method exec_module from /home/ca/.conda/envs/std/bin/python Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): Exec module in DS Kernel Launcher Daemon ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"21867833-fc72-4ceb-a4e5-cc93b1965c41"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=/tmp/tmp-35631Wim26ZRDd1r.json'] Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): Exec in DS Kernel Launcher Daemon (observable) ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"21867833-fc72-4ceb-a4e5-cc93b1965c41"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=/tmp/tmp-35631Wim26ZRDd1r.json'] Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): Exec in DS Kernel Launcher Daemon (observable) ['/home/ca/.conda/envs/std/bin/python', '-m', 'ipykernel_launcher', '--ip=127.0.0.1', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"21867833-fc72-4ceb-a4e5-cc93b1965c41"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=/tmp/tmp-35631Wim26ZRDd1r.json'] Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): Exec in DS Kernel Launcher Daemon (observable) Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): Kernel launched, with PID 3899 Warn 2021-05-07 18:12:27: Python Daemon (pid: 3897): Waiting for Kernel to die 3899 Info 2021-05-07 18:12:27: Launching kernel daemon, Class name = h, completed in 262ms, has a truthy return value, Arg 1: <Uri:/home/ca/work/Projects/phant/scratch.ipynb>, Arg 2: "/home/ca/work/Projects/phant", Arg 3: {"specFile":"/home/ca/.conda/envs/std/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/home/ca/.conda/envs/std/bin/python","name":"python388jvsc74a57bd0fbea4c25f81cca0b54ce50f7705152da7f54ab6399b2e12770bd8d662511a9af","argv":["/home/ca/.conda/envs/std/bin/python","-m","ipykernel_launcher","--ip=127.0.0.1","--stdin=9003","--control=9001","--hb=9000","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"21867833-fc72-4ceb-a4e5-cc93b1965c41\"","--shell=9002","--transport=\"tcp\"","--iopub=9004","--f=/tmp/tmp-35631Wim26ZRDd1r.json"],"language":"python","path":"/home/ca/.conda/envs/std/bin/python","display_name":"Python 3.8.8 64-bit ('std': conda)"}, Arg 4: {"sysPrefix":"/home/ca/.conda/envs/std","envType":"Conda","envName":"std","envPath":"/home/ca/.conda/envs/std","path":"/home/ca/.conda/envs/std/bin/python","architecture":3,"sysVersion":"3.8.8 | packaged by conda-forge | (default, Feb 20 2021, 16:22:27) \n[GCC 9.3.0]","version":{"raw":"3.8.8","major":3,"minor":8,"patch":8,"build":[],"prerelease":["final","0"]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.8 64-bit ('std': conda)"}, Return Value: <Return value cannot be serialized for logging> Info 2021-05-07 18:12:27: Launching kernel in kernelProcess.ts, Class name = b, completed in 263ms, has a truthy return value, Arg 1: "/home/ca/work/Projects/phant", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/home/ca/.conda/envs/std/bin/python","_handle":{"pid":3897},"spawnargs":["/home/ca/.conda/envs/std/bin/python","/home/ca/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":3897,"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-07 18:12:27: Using colors to generate CSS ... Info 2021-05-07 18:12:27: Using colors to generate CSS ... Info 2021-05-07 18:12:27: Using colors to generate CSS ... Info 2021-05-07 18:12:27: Using colors to generate CSS ... Info 2021-05-07 18:12:27: Using colors to generate CSS ... Info 2021-05-07 18:12:27: Using colors to generate CSS ... Info 2021-05-07 18:12:27: KernelProcess output: Content-Length: 345 Content-Type: application/vscode-jsonrpc; charset=utf8{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘"hmac-sha256"’ \u2013 or use CUnicode.\n”,“pid”:3897}}Content-Length: 323 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:“/home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘"hmac-sha256"’ \u2013 or use CUnicode.\n”}} Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Info 2021-05-07 18:12:27: KernelProcess output: Content-Length: 104 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: warn(\n”,“pid”:3897}}Content-Length: 82 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:" warn(\n"}}Content-Length: 371 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘21867833-fc72-4ceb-a4e5-cc93b1965c41’ instead of ‘b"21867833-fc72-4ceb-a4e5-cc93b1965c41"’.\n”,“pid”:3897}}Content-Length: 349 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:“/home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘21867833-fc72-4ceb-a4e5-cc93b1965c41’ instead of ‘b"21867833-fc72-4ceb-a4e5-cc93b1965c41"’.\n”}}Content-Length: 104 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: warn(\n”,“pid”:3897}}Content-Length: 82 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:" warn(\n"}} Warn 2021-05-07 18:12:27: Kernel 3897 as possibly died, StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Warn 2021-05-07 18:12:27: StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): write to stderr: warn(
Warn 2021-05-07 18:12:27: Kernel 3897 as possibly died, StdErr from Kernel Process warn(
Warn 2021-05-07 18:12:27: StdErr from Kernel Process warn(
Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘21867833-fc72-4ceb-a4e5-cc93b1965c41’ instead of ‘b"21867833-fc72-4ceb-a4e5-cc93b1965c41"’.
Warn 2021-05-07 18:12:27: Kernel 3897 as possibly died, StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘21867833-fc72-4ceb-a4e5-cc93b1965c41’ instead of ‘b"21867833-fc72-4ceb-a4e5-cc93b1965c41"’.
Warn 2021-05-07 18:12:27: StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘21867833-fc72-4ceb-a4e5-cc93b1965c41’ instead of ‘b"21867833-fc72-4ceb-a4e5-cc93b1965c41"’.
Info 2021-05-07 18:12:27: Python Daemon (pid: 3897): write to stderr: warn(
Warn 2021-05-07 18:12:27: Kernel 3897 as possibly died, StdErr from Kernel Process warn(
Warn 2021-05-07 18:12:27: StdErr from Kernel Process warn(
Info 2021-05-07 18:12:28: Raw session started and connected Started kernel Python 3.8.8 64-bit (‘std’: conda) Info 2021-05-07 18:12:28: Initial setup for file:///home/ca/work/Projects/phant/scratch.ipynb starting … Info 2021-05-07 18:12:28: UpdateWorkingDirectoryAndPath Info 2021-05-07 18:12:28: Kernel switching to busy Info 2021-05-07 18:12:28: Kernel switching to idle Info 2021-05-07 18:12:28: Starting raw kernel Python 3.8.8 64-bit (‘std’: conda) Info 2021-05-07 18:12:28: installMissingDependencies /home/ca/.conda/envs/std/bin/python Info 2021-05-07 18:12:28: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c “import ipykernel”
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘"hmac-sha256"’ \u2013 or use CUnicode.\n”,“pid”:3926}}Content-Length: 323 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:“/home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘"hmac-sha256"’ \u2013 or use CUnicode.\n”}} Info 2021-05-07 18:12:29: Python Daemon (pid: 3926): write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Info 2021-05-07 18:12:29: KernelProcess output: Content-Length: 104 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: warn(\n”,“pid”:3926}}Content-Length: 82 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:" warn(\n"}}Content-Length: 371 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘1232c691-460f-4e7c-8579-4cd22f9320fb’ instead of ‘b"1232c691-460f-4e7c-8579-4cd22f9320fb"’.\n”,“pid”:3926}}Content-Length: 349 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:“/home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘1232c691-460f-4e7c-8579-4cd22f9320fb’ instead of ‘b"1232c691-460f-4e7c-8579-4cd22f9320fb"’.\n”}}Content-Length: 104 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: warn(\n”,“pid”:3926}}Content-Length: 82 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:" warn(\n"}} Warn 2021-05-07 18:12:29: Kernel 3926 as possibly died, StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Warn 2021-05-07 18:12:29: StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Info 2021-05-07 18:12:29: Python Daemon (pid: 3926): write to stderr: warn(
Warn 2021-05-07 18:12:29: Kernel 3926 as possibly died, StdErr from Kernel Process warn(
Warn 2021-05-07 18:12:29: StdErr from Kernel Process warn(
Info 2021-05-07 18:12:29: Python Daemon (pid: 3926): write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘1232c691-460f-4e7c-8579-4cd22f9320fb’ instead of ‘b"1232c691-460f-4e7c-8579-4cd22f9320fb"’.
Warn 2021-05-07 18:12:29: Kernel 3926 as possibly died, StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘1232c691-460f-4e7c-8579-4cd22f9320fb’ instead of ‘b"1232c691-460f-4e7c-8579-4cd22f9320fb"’.
Warn 2021-05-07 18:12:29: StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘1232c691-460f-4e7c-8579-4cd22f9320fb’ instead of ‘b"1232c691-460f-4e7c-8579-4cd22f9320fb"’.
Info 2021-05-07 18:12:29: Python Daemon (pid: 3926): write to stderr: warn(
Warn 2021-05-07 18:12:29: Kernel 3926 as possibly died, StdErr from Kernel Process warn(
Warn 2021-05-07 18:12:29: StdErr from Kernel Process warn(
Info 2021-05-07 18:12:53: Loading web panel for file:///home/ca/work/Projects/phant/test.ipynb Info 2021-05-07 18:12:53: Loading webview. View is notset Info 2021-05-07 18:12:53: Attempting to start a server because of preload conditions … Info 2021-05-07 18:12:53: Loading web view… Info 2021-05-07 18:12:53: Webview panel created. Info 2021-05-07 18:12:53: initialize CommonMessageCoordinator Info 2021-05-07 18:12:53: IPyWidgetMessageDispatcher.initialize Info 2021-05-07 18:12:53: Created and initailized CommonMessageCoordinator Info 2021-05-07 18:12:53: Creating raw notebook for file:///home/ca/work/Projects/phant/test.ipynb Info 2021-05-07 18:12:53: Getting preferred kernel for file:///home/ca/work/Projects/phant/test.ipynb Info 2021-05-07 18:12:53: findPreferredKernel score for Python 2.7.16 64-bit is 1 Info 2021-05-07 18:12:53: findPreferredKernel score for Python 3.8.8 64-bit (‘std’: conda) is 1 Info 2021-05-07 18:12:53: findPreferredKernel score for Python 3 is 1 Info 2021-05-07 18:12:53: findPreferredKernel score for Python 3.8.5 64-bit (‘base’: conda) is 1 Info 2021-05-07 18:12:53: findPreferredKernel score for Python 3.7.3 64-bit is 1 Info 2021-05-07 18:12:53: Find kernel spec, Class name = x, completed in 1ms, has a truthy return value, Arg 1: Uri:/home/ca/work/Projects/phant/test.ipynb, Arg 2: {“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},“orig_nbformat”:2}, Arg 3: undefined, Return Value: {“kind”:“startUsingPythonInterpreter”,“kernelSpec”:{“specFile”:“/home/ca/.local/share/jupyter/kernels/python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90/kernel.json”,“interpreterPath”:“/usr/bin/python”,“name”:“python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90”,“argv”:[“python”,“-m”,“ipykernel_launcher”,“-f”,“{connection_file}”],“language”:“python”,“path”:“python”,“display_name”:“Python 2.7.16 64-bit”,“metadata”:{“interpreter”:{“sysPrefix”:“/usr”,“envType”:“Unknown”,“envName”:“”,“envPath”:“”,“path”:“/usr/bin/python”,“architecture”:3,“sysVersion”:“2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]”,“version”:{“raw”:“2.7.16”,“major”:2,“minor”:7,“patch”:16,“build”:[],“prerelease”:[“final”,“0”]},“displayName”:“Python 2.7.16 64-bit”}},“env”:{}},“interpreter”:{“sysPrefix”:“/usr”,“envType”:“Unknown”,“envName”:“”,“envPath”:“”,“path”:“/usr/bin/python”,“architecture”:3,“sysVersion”:“2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]”,“version”:{“raw”:“2.7.16”,“major”:2,“minor”:7,“patch”:16,“build”:[],“prerelease”:[“final”,“0”]},“displayName”:“Python 2.7.16 64-bit”},“id”:“.python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90.python./usr/bin/python.Python 2.7.16 64-bit”} Info 2021-05-07 18:12:53: Computing working directory file:///home/ca/work/Projects/phant/test.ipynb Info 2021-05-07 18:12:53: Connecting to raw session for file:///home/ca/work/Projects/phant/test.ipynb with connection {“kind”:“startUsingPythonInterpreter”,“kernelSpec”:{“specFile”:“/home/ca/.local/share/jupyter/kernels/python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90/kernel.json”,“interpreterPath”:“/usr/bin/python”,“name”:“python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90”,“argv”:[“python”,“-m”,“ipykernel_launcher”,“-f”,“{connection_file}”],“language”:“python”,“path”:“python”,“display_name”:“Python 2.7.16 64-bit”,“metadata”:{“interpreter”:{“sysPrefix”:“/usr”,“envType”:“Unknown”,“envName”:“”,“envPath”:“”,“path”:“/usr/bin/python”,“architecture”:3,“sysVersion”:“2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]”,“version”:{“raw”:“2.7.16”,“major”:2,“minor”:7,“patch”:16,“build”:[],“prerelease”:[“final”,“0”]},“displayName”:“Python 2.7.16 64-bit”}},“env”:{}},“interpreter”:{“sysPrefix”:“/usr”,“envType”:“Unknown”,“envName”:“”,“envPath”:“”,“path”:“/usr/bin/python”,“architecture”:3,“sysVersion”:“2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]”,“version”:{“raw”:“2.7.16”,“major”:2,“minor”:7,“patch”:16,“build”:[],“prerelease”:[“final”,“0”]},“displayName”:“Python 2.7.16 64-bit”},“id”:“.python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90.python./usr/bin/python.Python 2.7.16 64-bit”} Info 2021-05-07 18:12:53: Starting raw kernel Python 2.7.16 64-bit Info 2021-05-07 18:12:53: installMissingDependencies /usr/bin/python Info 2021-05-07 18:12:53: Cached data exists getEnvironmentVariables, <No Resource> Info 2021-05-07 18:12:53: Process Execution: > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c “import ipykernel”
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘"hmac-sha256"’ \u2013 or use CUnicode.\n”,“pid”:4336}}Content-Length: 323 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:“/home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘"hmac-sha256"’ \u2013 or use CUnicode.\n”}} Info 2021-05-07 18:15:40: Python Daemon (pid: 4336): write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Info 2021-05-07 18:15:40: KernelProcess output: Content-Length: 104 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: warn(\n”,“pid”:4336}}Content-Length: 82 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:" warn(\n"}}Content-Length: 371 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc’ instead of ‘b"65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc"’.\n”,“pid”:4336}}Content-Length: 349 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:“/home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc’ instead of ‘b"65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc"’.\n”}}Content-Length: 104 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: warn(\n”,“pid”:4336}}Content-Length: 82 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:" warn(\n"}} Warn 2021-05-07 18:15:40: Kernel 4336 as possibly died, StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Warn 2021-05-07 18:15:40: StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Info 2021-05-07 18:15:40: Python Daemon (pid: 4336): write to stderr: warn(
Warn 2021-05-07 18:15:40: Kernel 4336 as possibly died, StdErr from Kernel Process warn(
Warn 2021-05-07 18:15:40: StdErr from Kernel Process warn(
Info 2021-05-07 18:15:40: Python Daemon (pid: 4336): write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc’ instead of ‘b"65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc"’.
Warn 2021-05-07 18:15:40: Kernel 4336 as possibly died, StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc’ instead of ‘b"65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc"’.
Warn 2021-05-07 18:15:40: StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc’ instead of ‘b"65b9c3d4-0592-4ed4-8ea8-a91c67cbe2fc"’.
Info 2021-05-07 18:15:40: Python Daemon (pid: 4336): write to stderr: warn(
Warn 2021-05-07 18:15:40: Kernel 4336 as possibly died, StdErr from Kernel Process warn(
Warn 2021-05-07 18:15:40: StdErr from Kernel Process warn(
Info 2021-05-07 18:15:40: Web view react rendered Info 2021-05-07 18:15:40: Request for onigasm file at /home/ca/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/out/client/node_modules/onigasm/lib/onigasm.wasm Info 2021-05-07 18:15:40: Request for tmlanguage file. Info 2021-05-07 18:15:40: Searching for token colors … Info 2021-05-07 18:15:40: Attempting search for colors … Info 2021-05-07 18:15:40: Searching for token colors … Info 2021-05-07 18:15:40: Attempting search for colors … Info 2021-05-07 18:15:40: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json … Info 2021-05-07 18:15:40: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json … Info 2021-05-07 18:15:41: Searching for token colors … Info 2021-05-07 18:15:41: Attempting search for colors … Info 2021-05-07 18:15:41: Searching for token colors … Info 2021-05-07 18:15:41: Attempting search for colors … Info 2021-05-07 18:15:41: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json … Info 2021-05-07 18:15:41: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json … Info 2021-05-07 18:15:41: Searching for token colors … Info 2021-05-07 18:15:41: Attempting search for colors … Info 2021-05-07 18:15:41: Searching for token colors … Info 2021-05-07 18:15:41: Attempting search for colors … Info 2021-05-07 18:15:41: Searching for token colors … Info 2021-05-07 18:15:41: Attempting search for colors … Info 2021-05-07 18:15:41: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json … Info 2021-05-07 18:15:41: Searching for token colors … Info 2021-05-07 18:15:41: Attempting search for colors … Info 2021-05-07 18:15:41: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json … Info 2021-05-07 18:15:41: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json … Info 2021-05-07 18:15:41: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/light_plus.json … Info 2021-05-07 18:15:41: Raw session started and connected Started kernel Python 3.8.8 64-bit (‘std’: conda) Info 2021-05-07 18:15:41: Initial setup for file:///home/ca/work/Projects/phant/scratch2.ipynb starting … Info 2021-05-07 18:15:41: UpdateWorkingDirectoryAndPath Info 2021-05-07 18:15:41: Kernel switching to busy Info 2021-05-07 18:15:41: Kernel switching to idle Info 2021-05-07 18:15:41: Starting raw kernel Python 3.8.8 64-bit (‘std’: conda) Info 2021-05-07 18:15:41: installMissingDependencies /home/ca/.conda/envs/std/bin/python Info 2021-05-07 18:15:41: Process Execution: > ~/.conda/envs/std/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c “import ipykernel”
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘"hmac-sha256"’ \u2013 or use CUnicode.\n”,“pid”:4396}}Content-Length: 323 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:“/home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘"hmac-sha256"’ \u2013 or use CUnicode.\n”}} Info 2021-05-07 18:15:42: Python Daemon (pid: 4396): write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Info 2021-05-07 18:15:42: KernelProcess output: Content-Length: 104 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: warn(\n”,“pid”:4396}}Content-Length: 82 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:" warn(\n"}}Content-Length: 371 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘e5b85097-c2f7-4e11-8704-2f23a33afca7’ instead of ‘b"e5b85097-c2f7-4e11-8704-2f23a33afca7"’.\n”,“pid”:4396}}Content-Length: 349 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:“/home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘e5b85097-c2f7-4e11-8704-2f23a33afca7’ instead of ‘b"e5b85097-c2f7-4e11-8704-2f23a33afca7"’.\n”}}Content-Length: 104 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“log”,“params”:{“level”:“INFO”,“msg”:“write to stderr: warn(\n”,“pid”:4396}}Content-Length: 82 Content-Type: application/vscode-jsonrpc; charset=utf8
{“jsonrpc”:“2.0”,“method”:“output”,“params”:{“source”:“stderr”,“out”:" warn(\n"}} Warn 2021-05-07 18:15:42: Kernel 4396 as possibly died, StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Warn 2021-05-07 18:15:42: StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use ‘hmac-sha256’ instead of ‘“hmac-sha256”’ – or use CUnicode.
Info 2021-05-07 18:15:42: Python Daemon (pid: 4396): write to stderr: warn(
Warn 2021-05-07 18:15:42: Kernel 4396 as possibly died, StdErr from Kernel Process warn(
Warn 2021-05-07 18:15:42: StdErr from Kernel Process warn(
Info 2021-05-07 18:15:42: Python Daemon (pid: 4396): write to stderr: /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘e5b85097-c2f7-4e11-8704-2f23a33afca7’ instead of ‘b"e5b85097-c2f7-4e11-8704-2f23a33afca7"’.
Warn 2021-05-07 18:15:42: Kernel 4396 as possibly died, StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘e5b85097-c2f7-4e11-8704-2f23a33afca7’ instead of ‘b"e5b85097-c2f7-4e11-8704-2f23a33afca7"’.
Warn 2021-05-07 18:15:42: StdErr from Kernel Process /home/ca/.conda/envs/std/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use ‘e5b85097-c2f7-4e11-8704-2f23a33afca7’ instead of ‘b"e5b85097-c2f7-4e11-8704-2f23a33afca7"’.
Info 2021-05-07 18:15:42: Python Daemon (pid: 4396): write to stderr: warn(
Warn 2021-05-07 18:15:42: Kernel 4396 as possibly died, StdErr from Kernel Process warn(
Warn 2021-05-07 18:15:42: StdErr from Kernel Process warn(
Error 2021-05-07 18:15:43: Install Missing Dependencies, Class name = v, completed in 160265ms, has a falsy return value, Return Value: undefined [a [Error]: IPyKernel not installed into interpreter Python 2.7.16 64-bit:/usr/bin/python at v.installMissingDependencies (/home/ca/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/out/client/extension.js:90:244710) at processTicksAndRejections (internal/process/task_queues.js:93:5)] { category: ‘noipykernel’, reason: 1 } Error 2021-05-07 18:15:43: Raw session failed to start because dependencies not installed Info 2021-05-07 18:15:43: Shutdown session – complete Error 2021-05-07 18:15:43: Exception attempting to start notebook: [a [Error]: IPyKernel not installed into interpreter Python 2.7.16 64-bit:/usr/bin/python at v.installMissingDependencies (/home/ca/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/out/client/extension.js:90:244710) at processTicksAndRejections (internal/process/task_queues.js:93:5)] { category: ‘noipykernel’, reason: 1 } Info 2021-05-07 18:15:43: Exception executing cell 8f0097a3-c21a-4f05-bbee-27e825e52549: [a [Error]: IPyKernel not installed into interpreter Python 2.7.16 64-bit:/usr/bin/python at v.installMissingDependencies (/home/ca/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/out/client/extension.js:90:244710) at processTicksAndRejections (internal/process/task_queues.js:93:5)] { category: ‘noipykernel’, reason: 1 } Info 2021-05-07 18:15:43: Finished executing cell 8f0097a3-c21a-4f05-bbee-27e825e52549 Error 2021-05-07 18:15:43: DataScience Error [a [Error]: IPyKernel not installed into interpreter Python 2.7.16 64-bit:/usr/bin/python at v.installMissingDependencies (/home/ca/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/out/client/extension.js:90:244710) at processTicksAndRejections (internal/process/task_queues.js:93:5)] { category: ‘noipykernel’, reason: 1 } Info 2021-05-07 18:17:16: Loading web panel for file:///home/ca/work/Projects/phant/test.ipynb Info 2021-05-07 18:17:16: Loading webview. View is notset Info 2021-05-07 18:17:16: Attempting to start a server because of preload conditions … Info 2021-05-07 18:17:16: Loading web view… Info 2021-05-07 18:17:16: Webview panel created. Info 2021-05-07 18:17:16: initialize CommonMessageCoordinator Info 2021-05-07 18:17:16: IPyWidgetMessageDispatcher.initialize Info 2021-05-07 18:17:16: Created and initailized CommonMessageCoordinator Info 2021-05-07 18:17:16: Creating raw notebook for file:///home/ca/work/Projects/phant/test.ipynb Info 2021-05-07 18:17:16: Getting preferred kernel for file:///home/ca/work/Projects/phant/test.ipynb Info 2021-05-07 18:17:16: findPreferredKernel score for Python 2.7.16 64-bit is 1 Info 2021-05-07 18:17:16: findPreferredKernel score for Python 3.8.8 64-bit (‘std’: conda) is 1 Info 2021-05-07 18:17:16: findPreferredKernel score for Python 3 is 1 Info 2021-05-07 18:17:16: findPreferredKernel score for Python 3.8.5 64-bit (‘base’: conda) is 1 Info 2021-05-07 18:17:16: findPreferredKernel score for Python 3.7.3 64-bit is 1 Info 2021-05-07 18:17:16: Find kernel spec, Class name = x, completed in 1ms, has a truthy return value, Arg 1: Uri:/home/ca/work/Projects/phant/test.ipynb, Arg 2: {“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},“orig_nbformat”:2}, Arg 3: undefined, Return Value: {“kind”:“startUsingPythonInterpreter”,“kernelSpec”:{“specFile”:“/home/ca/.local/share/jupyter/kernels/python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90/kernel.json”,“interpreterPath”:“/usr/bin/python”,“name”:“python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90”,“argv”:[“python”,“-m”,“ipykernel_launcher”,“-f”,“{connection_file}”],“language”:“python”,“path”:“python”,“display_name”:“Python 2.7.16 64-bit”,“metadata”:{“interpreter”:{“sysPrefix”:“/usr”,“envType”:“Unknown”,“envName”:“”,“envPath”:“”,“path”:“/usr/bin/python”,“architecture”:3,“sysVersion”:“2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]”,“version”:{“raw”:“2.7.16”,“major”:2,“minor”:7,“patch”:16,“build”:[],“prerelease”:[“final”,“0”]},“displayName”:“Python 2.7.16 64-bit”}},“env”:{}},“interpreter”:{“sysPrefix”:“/usr”,“envType”:“Unknown”,“envName”:“”,“envPath”:“”,“path”:“/usr/bin/python”,“architecture”:3,“sysVersion”:“2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]”,“version”:{“raw”:“2.7.16”,“major”:2,“minor”:7,“patch”:16,“build”:[],“prerelease”:[“final”,“0”]},“displayName”:“Python 2.7.16 64-bit”},“id”:“.python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90.python./usr/bin/python.Python 2.7.16 64-bit”} Info 2021-05-07 18:17:16: Computing working directory file:///home/ca/work/Projects/phant/test.ipynb Info 2021-05-07 18:17:16: Connecting to raw session for file:///home/ca/work/Projects/phant/test.ipynb with connection {“kind”:“startUsingPythonInterpreter”,“kernelSpec”:{“specFile”:“/home/ca/.local/share/jupyter/kernels/python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90/kernel.json”,“interpreterPath”:“/usr/bin/python”,“name”:“python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90”,“argv”:[“python”,“-m”,“ipykernel_launcher”,“-f”,“{connection_file}”],“language”:“python”,“path”:“python”,“display_name”:“Python 2.7.16 64-bit”,“metadata”:{“interpreter”:{“sysPrefix”:“/usr”,“envType”:“Unknown”,“envName”:“”,“envPath”:“”,“path”:“/usr/bin/python”,“architecture”:3,“sysVersion”:“2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]”,“version”:{“raw”:“2.7.16”,“major”:2,“minor”:7,“patch”:16,“build”:[],“prerelease”:[“final”,“0”]},“displayName”:“Python 2.7.16 64-bit”}},“env”:{}},“interpreter”:{“sysPrefix”:“/usr”,“envType”:“Unknown”,“envName”:“”,“envPath”:“”,“path”:“/usr/bin/python”,“architecture”:3,“sysVersion”:“2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]”,“version”:{“raw”:“2.7.16”,“major”:2,“minor”:7,“patch”:16,“build”:[],“prerelease”:[“final”,“0”]},“displayName”:“Python 2.7.16 64-bit”},“id”:“.python2716jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90.python./usr/bin/python.Python 2.7.16 64-bit”} Info 2021-05-07 18:17:16: Starting raw kernel Python 2.7.16 64-bit Info 2021-05-07 18:17:16: installMissingDependencies /usr/bin/python Info 2021-05-07 18:17:16: Cached data exists getEnvironmentVariables, <No Resource> Info 2021-05-07 18:17:16: Process Execution: > /usr/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2021.6.811652604/pythonFiles/pyvsc-run-isolated.py -c “import ipykernel”
Having a new issue for a new bug sounds good to me! 🙂
Thanks a lot for fixing the bug!