question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Interactive Window for new conda env creates kernel using different conda os.sys.path

See original GitHub issue

Environment data

  • VS Code version: 1.60 Insider
  • Jupyter Extension version (available under the Extensions sidebar): v2021.8.2028630014
  • Python Extension version (available under the Extensions sidebar): v2021.8.1105858891
  • OS (Windows | Mac | Linux distro) and version: MacOS 11.4
  • Python and/or Anaconda version: 3.9.6
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda (conda-forge)
  • Jupyter server running: Local (Interactive Window)

Expected behaviour

In a new conda environment (napari-openCV) after setting it as the Python interpreter in VS Code and first time running cells in an Interactive Window eg.:

#%%
import os
os.sys.path

VS Code asks to install ipykernel which works fine from conda. The interactive window launches and shows the name of the conda env in the top right (also bottom left blue bar). The actual kernel should use this conda env (and has in the past, last on Aug 7, 2021). So the should return:

['/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/lib/python39.zip',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/lib/python3.9',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/lib/python3.9/lib-dynload',
 '',
 '/Users/piotrsobolewski/.local/lib/python3.9/site-packages',
 '/Users/piotrsobolewski/Dev/miniforge3/lib/python3.9/site-packages',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/lib/python3.9/site-packages',
 '/Users/piotrsobolewski/Dev/PyCL/clij2-fft/python',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/lib/python3.9/site-packages/pyvkfft-2021.1b6-py3.9-macosx-11.0-arm64.egg',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/lib/python3.9/site-packages/gpyfft-0.7.3-py3.9-macosx-11.0-arm64.egg',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/lib/python3.9/site-packages/anyfft-0.1.dev25+ge2d7e11-py3.9.egg',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/lib/python3.9/site-packages/readlif-0.6.2-py3.9.egg',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/lib/python3.9/site-packages/IPython/extensions',
 '/Users/piotrsobolewski/.ipython']

(This is returned by running this cell in ipython with the conda env active.) Thus, all installed packages in this conda env are available.

Actual behaviour

The Interactive Window shows the correct conda env in the kernel: image

But the return from os.sys.path is a different, old conda env:

['/Users/piotrsobolewski/Dev/PyTest',
 '/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles',
 '/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/lib/python',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python39.zip',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/lib-dynload',
 '',
 '/Users/piotrsobolewski/.local/lib/python3.9/site-packages',
 '/Users/piotrsobolewski/Dev/miniforge3/lib/python3.9/site-packages',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/csbdeep-0.6.2-py3.9.egg',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/Keras-2.3.1-py3.9.egg',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/Keras_Applications-1.0.8-py3.9.egg',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/stardist-0.7.1-py3.9-macosx-11.0-arm64.egg',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/stardist_napari-2021.6.28-py3.9.egg',
 '/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/IPython/extensions',
 '/Users/piotrsobolewski/.ipython']

Packages unique to the napari-openCV are not available.

Steps to reproduce:

  1. Create new conda env
  2. Install package unique to that env (pip or conda, same effect).
  3. Open VS Code, activate the new env as the python interpreter
  4. Write python code in a .py file
  5. use #%% to create cells and run a cell -> launches Interactive Window
  6. try to import unique package or use os.sys.path

Logs

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

User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Error 2021-08-18 08:22:42: Exception while attempting zmq : [Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=89 uv=1 armv=8 libc=glibc node=14.16.0 electron=13.1.8
    loaded from: /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/node_modules/zeromq

	at Function.load.path (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/node_modules/node-gyp-build/index.js:59:9)
	at load (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/node_modules/node-gyp-build/index.js:21:30)
	at Object.<anonymous> (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/node_modules/zeromq/lib/native.js:6:43)
	at Module.u._compile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/loader.js:4:1315)
	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
	at Module.load (internal/modules/cjs/loader.js:982:32)
	at Module._load (internal/modules/cjs/loader.js:823:14)
	at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
	at Function.i._load (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:28024)
	at Function.E._load (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:24612)
	at Function.d._load (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:103:59666)
	at Module.require (internal/modules/cjs/loader.js:1006:19)
	at Module.require (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/microsoft-authentication/dist/extension.js:1:38728)
	at v (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/loader.js:4:698)
	at Object.<anonymous> (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/node_modules/zeromq/lib/index.js:3:16)
	at Module.u._compile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/loader.js:4:1315)
	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
	at Module.load (internal/modules/cjs/loader.js:982:32)
	at Module._load (internal/modules/cjs/loader.js:823:14)
	at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
	at Function.i._load (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:28024)
	at Function.E._load (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:24612)
	at Function.d._load (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:103:59666)
	at Module.require (internal/modules/cjs/loader.js:1006:19)
	at Module.require (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/microsoft-authentication/dist/extension.js:1:38728)
	at v (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/loader.js:4:698)
	at Object.<anonymous> (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/extension.js:37:300645)
	at n (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/extension.js:1:186)
	at d.zmqSupported (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/extension.js:90:217693)
	at d.isSupportedForLocalLaunch (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/extension.js:90:217343)
	at d.supported (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/extension.js:90:217253)
	at Object.t.registerTypes (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/extension.js:52:811388)
	at /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/extension.js:52:245884
	at processTicksAndRejections (internal/process/task_queues.js:93:5)
	at async /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/extension.js:37:739180
	at async t.activate (/Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/out/client/extension.js:37:738867)
	at async Promise.all (index 1)]
Info 2021-08-18 08:22:42: Attempting to start a server because of preload conditions ...
Info 2021-08-18 08:22:47: Attempting to start a server because of preload conditions ...
Info 2021-08-18 08:22:47: Setting setActiveController for vscode-interactive:Interactive-1.interactive
Info 2021-08-18 08:22:47: Intiailize notebook communications for editor vscode-interactive:Interactive-1.interactive
Info 2021-08-18 08:22:47: Resolving notebook UI Comms (resolve) for vscode-interactive:Interactive-1.interactive
Info 2021-08-18 08:22:47: initialize CommonMessageCoordinator
Info 2021-08-18 08:22:47: IPyWidgetMessageDispatcher.initialize
Info 2021-08-18 08:22:47: Created and initailized CommonMessageCoordinator
Info 2021-08-18 08:22:47: Attach Coordinator for vscode-interactive:Interactive-1.interactive
Info 2021-08-18 08:22:47: Find preferred kernel for vscode-interactive:Interactive-1.interactive with metadata {} & preferred interpreter {"sysPrefix":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","envType":"Conda","envName":"napari-openCV","envPath":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","path":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python","architecture":3,"sysVersion":"3.9.6 | packaged by conda-forge | (default, Jul  6 2021, 08:51:19) \n[Clang 11.1.0 ]","version":{"raw":"3.9.6","major":3,"minor":9,"patch":6,"build":[],"prerelease":["final","0"]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.9.6 64-bit ('napari-openCV': conda)"}
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.8.2 64-bit is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.8.2 64-bit is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.8.2 64-bit is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.5 64-bit ('base': conda) is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.5 64-bit ('base': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.5 64-bit ('base': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 2.7.16 64-bit is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 2.7.16 64-bit is 1
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('apple-TF': conda) is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('apple-TF': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit ('apple-TF': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('napari-env': conda) is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('napari-env': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit ('napari-env': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('napari-openCV': conda) is 10
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit ('napari-openCV': conda) is 20
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('napari-pyCL-D': conda) is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('napari-pyCL-D': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit ('napari-pyCL-D': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('napari-TF': conda) is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('napari-TF': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit ('napari-TF': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('numpy-accel': conda) is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('numpy-accel': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit ('numpy-accel': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('TF-decon': conda) is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('TF-decon': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit ('TF-decon': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('TF-numpy': conda) is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('TF-numpy': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit ('TF-numpy': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('TF-StarDist-napari': conda) is -1
Info 2021-08-18 08:22:47: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('TF-StarDist-napari': conda) is 2
Info 2021-08-18 08:22:47: findPreferredKernel score for Python 3.9.6 64-bit ('TF-StarDist-napari': conda) is 2
Info 2021-08-18 08:22:47: findKernel found Python 3.9.6 64-bit ('napari-openCV': conda)
Info 2021-08-18 08:22:47: Find kernel spec, Class name = k, completed in 36ms, has a truthy return value, Arg 1: <Uri:Interactive-1.interactive>, Arg 2: {}, Arg 3: {"_isCancelled":false,"_emitter":{"_disposed":false,"_listeners":{"_first":{"next":{},"prev":{}},"_last":{"next":{},"prev":{}},"_size":1}}}, Return Value: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e/kernel.json","interpreterPath":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python","name":"python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"python","display_name":"Python 3.9.6 64-bit ('napari-openCV': conda)","metadata":{"interpreter":{"sysPrefix":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","envType":"Conda","envName":"napari-openCV","envPath":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","path":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python","architecture":3,"sysVersion":"3.9.6 | packaged by conda-forge | (default, Jul  6 2021, 08:51:19) \n[Clang 11.1.0 ]","version":{"raw":"3.9.6","major":3,"minor":9,"patch":6,"build":[],"prerelease":["final","0"]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.9.6 64-bit ('napari-openCV': conda)"}},"env":{}},"interpreter":{"sysPrefix":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","envType":"Conda","envName":"napari-openCV","envPath":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","path":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python","architecture":3,"sysVersion":"3.9.6 | packaged by conda-forge | (default, Jul  6 2021, 08:51:19) \n[Clang 11.1.0 ]","version":{"raw":"3.9.6","major":3,"minor":9,"patch":6,"build":[],"prerelease":["final","0"]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.9.6 64-bit ('napari-openCV': conda)"},"id":".jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher"}
Info 2021-08-18 08:22:47: PreferredConnection: .jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher found for NotebookDocument: vscode-interactive:Interactive-1.interactive
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/share/jupyter/kernels/python3/kernel.json for /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-decon/share/jupyter/kernels/python3/kernel.json for /Users/piotrsobolewski/Dev/miniforge3/envs/TF-decon/bin/python
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Dev/miniforge3/envs/napari-TF/share/jupyter/kernels/python3/kernel.json for /Users/piotrsobolewski/Dev/miniforge3/envs/napari-TF/bin/python
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Dev/miniforge3/envs/napari-env/share/jupyter/kernels/python3/kernel.json for /Users/piotrsobolewski/Dev/miniforge3/envs/napari-env/bin/python
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/share/jupyter/kernels/python3/kernel.json for /Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL-D/share/jupyter/kernels/python3/kernel.json for /Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL-D/bin/python
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd04db1ab0c13f4e93b5723ac1462919ee4fa4e13f3520c53d1bcc8b45e4369161a/kernel.json for undefined
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a/kernel.json for undefined
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0afe641fd5ac8524bd158abb495a60bea9cf594c409ae1159e03c1788ff37ce8b/kernel.json for undefined
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0e28c8163570c4952bc1689be032c95942704d7787747e3f647782f91cc6f83df/kernel.json for undefined
Info 2021-08-18 08:22:47: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9/kernel.json for undefined
Info 2021-08-18 08:22:48: Hiding default kernel spec Python 3 (ipykernel), python
Info 2021-08-18 08:22:48: Hiding default kernel spec Python 3 (ipykernel), /Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python
Info 2021-08-18 08:22:48: Kernel python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9 matches Python 3.9.6 64-bit ('napari-pyCL-D': conda) based on metadata path.
Info 2021-08-18 08:22:48: Kernel python396jvsc74a57bd0e28c8163570c4952bc1689be032c95942704d7787747e3f647782f91cc6f83df matches Python 3.9.6 64-bit ('TF-decon': conda) based on metadata path.
Info 2021-08-18 08:22:48: Kernel python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a matches Python 3.9.6 64-bit ('TF-StarDist-napari': conda) based on metadata path.
Info 2021-08-18 08:22:48: Hiding default kernel spec Python 3 (ipykernel), python
Info 2021-08-18 08:22:48: Hiding default kernel spec Python 3 (ipykernel), /Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python
Info 2021-08-18 08:22:48: Kernel python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9 matches Python 3.9.6 64-bit ('napari-pyCL-D': conda) based on metadata path.
Info 2021-08-18 08:22:48: Kernel python396jvsc74a57bd0e28c8163570c4952bc1689be032c95942704d7787747e3f647782f91cc6f83df matches Python 3.9.6 64-bit ('TF-decon': conda) based on metadata path.
Info 2021-08-18 08:22:48: Kernel python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a matches Python 3.9.6 64-bit ('TF-StarDist-napari': conda) based on metadata path.
Info 2021-08-18 08:22:48: TargetController found ID: .jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher for document vscode-interactive:Interactive-1.interactive
Info 2021-08-18 08:22:48: Setting controller affinity for vscode-interactive:Interactive-1.interactive .jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher
Info 2021-08-18 08:22:48: Starting Notebook in kernel.ts id = .jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher
Info 2021-08-18 08:22:48: Checking for server existence.
Info 2021-08-18 08:22:48: Checking for server usability.
Info 2021-08-18 08:22:48: Process Execution: > ~/Dev/miniforge3/envs/napari-openCV/bin/python -m pip list
> ~/Dev/miniforge3/envs/napari-openCV/bin/python -m pip list
Info 2021-08-18 08:22:48: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -c "import notebook"
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -c "import notebook"
Info 2021-08-18 08:22:48: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -c "import jupyter"
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -c "import jupyter"
Info 2021-08-18 08:22:48: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -m jupyter kernelspec --version
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -m jupyter kernelspec --version
Info 2021-08-18 08:22:48: IPyWidgetMessageDispatcher.initialize
Info 2021-08-18 08:22:48: Starting notebook server.
Info 2021-08-18 08:22:48: Connecting to history server
Info 2021-08-18 08:22:48: Launching history server
Info 2021-08-18 08:22:48: Starting Notebook
Info 2021-08-18 08:22:48: Creating daemon pool for /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python with env variables count 47
Info 2021-08-18 08:22:48: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-08-18 08:22:48: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-08-18 08:22:48: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-08-18 08:22:48: Starting Jupyter Notebook
Starting Jupyter from ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python with command line --no-browser --notebook-dir="/Users/piotrsobolewski/Dev/PyTest" --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 2021-08-18 08:22:48: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/Users/piotrsobolewski/Dev/PyTest" --NotebookApp.iopub_data_rate_limit=10000000000.0
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/Users/piotrsobolewski/Dev/PyTest" --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 2021-08-18 08:22:48: Waiting for Jupyter Notebook
Info 2021-08-18 08:22:48: Python Daemon (pid: 1301): Execute rpc method exec_module_observable in DS Daemon
Info 2021-08-18 08:22:48: Python Daemon (pid: 1301): Execute rpc method exec_module_observable from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-18 08:22:48: Python Daemon (pid: 1301): Exec in DS Daemon (observable) jupyter with args ['notebook', '--no-browser', '--notebook-dir="/Users/piotrsobolewski/Dev/PyTest"', '--NotebookApp.iopub_data_rate_limit=10000000000.0']
Info 2021-08-18 08:22:48: Python Daemon (pid: 1301): Starting notebook with args ['--no-browser', '--notebook-dir="/Users/piotrsobolewski/Dev/PyTest"', '--NotebookApp.iopub_data_rate_limit=10000000000.0']
Info 2021-08-18 08:22:48: Python Daemon (pid: 1301): write to stderr: /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(

/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(
Info 2021-08-18 08:22:48: /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(

Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [I 08:22:49.019 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager

[I 08:22:49.019 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
Info 2021-08-18 08:22:49: /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(
[I 08:22:49.019 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager

Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [I 08:22:49.023 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyTest

[I 08:22:49.023 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyTest
Info 2021-08-18 08:22:49: /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(
[I 08:22:49.019 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 08:22:49.023 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyTest

Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [I 08:22:49.023 NotebookApp] Jupyter Notebook 6.4.0 is running at:

[I 08:22:49.023 NotebookApp] Jupyter Notebook 6.4.0 is running at:
Info 2021-08-18 08:22:49: /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(
[I 08:22:49.019 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 08:22:49.023 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyTest
[I 08:22:49.023 NotebookApp] Jupyter Notebook 6.4.0 is running at:

Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [I 08:22:49.023 NotebookApp] http://localhost:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e

[I 08:22:49.023 NotebookApp] http://localhost:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
Info 2021-08-18 08:22:49: /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(
[I 08:22:49.019 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 08:22:49.023 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyTest
[I 08:22:49.023 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 08:22:49.023 NotebookApp] http://localhost:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e

Info 2021-08-18 08:22:49: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [I 08:22:49.023 NotebookApp]  or http://127.0.0.1:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e

[I 08:22:49.023 NotebookApp]  or http://127.0.0.1:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
Info 2021-08-18 08:22:49: /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(
[I 08:22:49.019 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 08:22:49.023 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyTest
[I 08:22:49.023 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 08:22:49.023 NotebookApp] http://localhost:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
[I 08:22:49.023 NotebookApp]  or http://127.0.0.1:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e

Info 2021-08-18 08:22:49: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [I 08:22:49.023 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Execute rpc method exec_file in DS Daemon
[I 08:22:49.023 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Info 2021-08-18 08:22:49: /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(
[I 08:22:49.019 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 08:22:49.023 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyTest
[I 08:22:49.023 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 08:22:49.023 NotebookApp] http://localhost:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
[I 08:22:49.023 NotebookApp]  or http://127.0.0.1:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
[I 08:22:49.023 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Execute rpc method exec_file from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Exec file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py with args []
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Execute rpc method exec_file in DS Daemon
Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [C 08:22:49.025 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///Users/piotrsobolewski/Library/Jupyter/runtime/nbserver-1301-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
     or http://127.0.0.1:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e

Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): execute file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Execute rpc method exec_file from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
[C 08:22:49.025 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///Users/piotrsobolewski/Library/Jupyter/runtime/nbserver-1301-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
     or http://127.0.0.1:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
Info 2021-08-18 08:22:49: /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/lib/python3.9/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/Users/piotrsobolewski/Dev/PyTest' instead of '"/Users/piotrsobolewski/Dev/PyTest"' – or use CUnicode.
  warn(
[I 08:22:49.019 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 08:22:49.023 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyTest
[I 08:22:49.023 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 08:22:49.023 NotebookApp] http://localhost:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
[I 08:22:49.023 NotebookApp]  or http://127.0.0.1:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
[I 08:22:49.023 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 08:22:49.025 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///Users/piotrsobolewski/Library/Jupyter/runtime/nbserver-1301-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e
     or http://127.0.0.1:8888/?token=aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e

Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Exec file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py with args []
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): execute file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-18 08:22:49: Creating jupyter server: 79db3f68-fe52-4257-9423-d8752e6d5366
Info 2021-08-18 08:22:49: Connecting to process for history server
Info 2021-08-18 08:22:49: Connecting server 79db3f68-fe52-4257-9423-d8752e6d5366 kernelSpec Python 3.9.6 64-bit ('napari-openCV': conda)
Info 2021-08-18 08:22:49: Creating server with settings : {"baseUrl":"http://localhost:8888/","appUrl":"","wsUrl":"ws://localhost:8888/","token":"aa2a74ad9e98e77a85bdf7fdb6531b31ca7df215308a708e","init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Execute rpc method ping in DS Daemon
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Execute rpc method ping from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Execute rpc method ping in DS Daemon
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): pinged with hello
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Execute rpc method ping from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): pinged with hello
Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [I 08:22:49.162 NotebookApp] Creating new notebook in /

[I 08:22:49.162 NotebookApp] Creating new notebook in /
Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [I 08:22:49.163 NotebookApp] Saving Untitled.ipynb

[I 08:22:49.163 NotebookApp] Saving Untitled.ipynb
Info 2021-08-18 08:22:49: installMissingDependencies /Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python
Info 2021-08-18 08:22:49: Process Execution: > ~/Dev/miniforge3/envs/napari-openCV/bin/python -c "import ipykernel"
> ~/Dev/miniforge3/envs/napari-openCV/bin/python -c "import ipykernel"
Info 2021-08-18 08:22:49: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-18 08:22:49: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Execute rpc method exec_file in DS Daemon
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Execute rpc method exec_file in DS Daemon
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Execute rpc method exec_file from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Execute rpc method exec_file from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Exec file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py with args []
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Exec file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py with args []
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): execute file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): execute file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Execute rpc method ping in DS Daemon
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): Execute rpc method ping from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Execute rpc method ping in DS Daemon
Info 2021-08-18 08:22:49: Python Daemon (pid: 1299): pinged with hello
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): Execute rpc method ping from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-18 08:22:49: Python Daemon (pid: 1300): pinged with hello
Info 2021-08-18 08:22:49: Install Missing Dependencies, Class name = _, completed in 92ms, has a falsy return value, Return Value: undefined
Info 2021-08-18 08:22:49: RegisterKernel for .jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher
Info 2021-08-18 08:22:49: Check if a kernel is usable, Class name = w, completed in 116ms, has a falsy return value, Arg 1: undefined, Arg 2: {"kind":"startUsingPythonInterpreter","kernelSpec":{"interpreterPath":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python","name":"python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"python","display_name":"Python 3.9.6 64-bit ('napari-openCV': conda)","metadata":{"interpreter":{"sysPrefix":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","envType":"Conda","envName":"napari-openCV","envPath":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","path":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python","architecture":3,"sysVersion":"3.9.6 | packaged by conda-forge | (default, Jul  6 2021, 08:51:19) \n[Clang 11.1.0 ]","version":{"raw":"3.9.6","major":3,"minor":9,"patch":6,"build":[],"prerelease":["final","0"]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.9.6 64-bit ('napari-openCV': conda)"}},"env":{}},"interpreter":{"sysPrefix":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","envType":"Conda","envName":"napari-openCV","envPath":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV","path":"/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python","architecture":3,"sysVersion":"3.9.6 | packaged by conda-forge | (default, Jul  6 2021, 08:51:19) \n[Clang 11.1.0 ]","version":{"raw":"3.9.6","major":3,"minor":9,"patch":6,"build":[],"prerelease":["final","0"]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.9.6 64-bit ('napari-openCV': conda)"},"id":".jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher"}, Arg 3: <argument cannot be serialized for logging>, Arg 4: false, Return Value: undefined
Info 2021-08-18 08:22:49: Starting a new session for kernel id = .jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher, name = python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e
Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [I 08:22:49.305 NotebookApp] Kernel started: cd301460-3413-4d6e-a66c-e8f9e80db1fe, name: python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e

[I 08:22:49.305 NotebookApp] Kernel started: cd301460-3413-4d6e-a66c-e8f9e80db1fe, name: python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e
Info 2021-08-18 08:22:49: Waiting for idle on (kernel): cd301460-3413-4d6e-a66c-e8f9e80db1fe -> unknown
Info 2021-08-18 08:22:49: Python Daemon (pid: 1301): write to stderr: [W 08:22:49.310 NotebookApp] delete /default-847c9719-6e65-46bc-922a-e773d70e027c.ipynb

[W 08:22:49.310 NotebookApp] delete /default-847c9719-6e65-46bc-922a-e773d70e027c.ipynb
Info 2021-08-18 08:22:49: Finished waiting for idle on (kernel): cd301460-3413-4d6e-a66c-e8f9e80db1fe -> idle
Info 2021-08-18 08:22:49: Waiting for idle on (kernel): cd301460-3413-4d6e-a66c-e8f9e80db1fe -> idle
Info 2021-08-18 08:22:49: Finished waiting for idle on (kernel): cd301460-3413-4d6e-a66c-e8f9e80db1fe -> idle
Info 2021-08-18 08:22:49: Connection complete for history server
Info 2021-08-18 08:22:49: Server started.
Info 2021-08-18 08:22:49: Compute Launch Info uri = /Users/piotrsobolewski/Dev/PyTest/test.py, kernelConnection id = .jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher
Info 2021-08-18 08:22:49: Compute Launch Info uri = /Users/piotrsobolewski/Dev/PyTest/test.py, changed false, .jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher
Info 2021-08-18 08:22:49: Computed Launch Info uri = /Users/piotrsobolewski/Dev/PyTest/test.py, changed false, .jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python./Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python.-m#ipykernel_launcher
Info 2021-08-18 08:22:49: Started session 79db3f68-fe52-4257-9423-d8752e6d5366
Info 2021-08-18 08:22:49: Waiting for idle (session) 79db3f68-fe52-4257-9423-d8752e6d5366
Info 2021-08-18 08:22:49: Waiting for idle on (kernel): cd301460-3413-4d6e-a66c-e8f9e80db1fe -> idle
Info 2021-08-18 08:22:49: Finished waiting for idle on (kernel): cd301460-3413-4d6e-a66c-e8f9e80db1fe -> idle
Info 2021-08-18 08:22:49: Initial setup for vscode-interactive:Interactive-1.interactive starting ...
Info 2021-08-18 08:22:49: UpdateWorkingDirectoryAndPath
Info 2021-08-18 08:22:49: Initialize matplotlib for vscode-interactive:Interactive-1.interactive
Info 2021-08-18 08:22:49: Kernel switching to busy
Info 2021-08-18 08:22:49: Kernel switching to idle
Info 2021-08-18 08:22:49: Kernel switching to busy
Info 2021-08-18 08:22:49: Kernel switching to idle
Info 2021-08-18 08:22:49: Process Execution: > ~/Dev/miniforge3/envs/napari-openCV/bin/python -c "import sys;print(sys.executable)"
> ~/Dev/miniforge3/envs/napari-openCV/bin/python -c "import sys;print(sys.executable)"
Info 2021-08-18 08:22:49: Initial setup complete for vscode-interactive:Interactive-1.interactive
Info 2021-08-18 08:22:49: Finished connecting 79db3f68-fe52-4257-9423-d8752e6d5366
Info 2021-08-18 08:22:49: IPyWidgetScriptSource.initialize
Info 2021-08-18 08:22:49: Registering commtarget jupyter.widget
Info 2021-08-18 08:22:49: IPyWidgetMessageDispatcher.initialize
Info 2021-08-18 08:22:49: IPyWidgetMessageDispatcher.initialize
Info 2021-08-18 08:22:49: IPyWidgetMessageDispatcher.initialize
Info 2021-08-18 08:22:49: Kernel switching to busy
Info 2021-08-18 08:22:49: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-18 08:22:49: Kernel switching to idle
Info 2021-08-18 08:22:49: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-18 08:22:49: UpdateWorkingDirectoryAndPath
Info 2021-08-18 08:22:49: changeDirectoryIfPossible
Info 2021-08-18 08:22:49: Kernel switching to busy
Info 2021-08-18 08:22:49: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-18 08:22:49: Kernel switching to idle
Info 2021-08-18 08:22:49: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-18 08:22:49: Initialize matplotlib for file:///Users/piotrsobolewski/Dev/PyTest/test.py
Info 2021-08-18 08:22:49: Kernel switching to busy
Info 2021-08-18 08:22:49: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-18 08:22:49: Kernel switching to idle
Info 2021-08-18 08:22:49: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-18 08:22:49: Kernel switching to busy
Info 2021-08-18 08:22:49: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-18 08:22:49: Kernel switching to idle
Info 2021-08-18 08:22:49: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-18 08:22:49: Waiting for idle on (kernel): cd301460-3413-4d6e-a66c-e8f9e80db1fe -> idle
Info 2021-08-18 08:22:49: Finished waiting for idle on (kernel): cd301460-3413-4d6e-a66c-e8f9e80db1fe -> idle
Info 2021-08-18 08:22:50: UpdateWorkingDirectoryAndPath
Info 2021-08-18 08:22:50: Kernel switching to busy
Info 2021-08-18 08:22:50: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-18 08:22:50: Kernel switching to idle
Info 2021-08-18 08:22:50: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-18 08:22:50: Adding hash for 1 = 58633924d9ac with 2 lines
Info 2021-08-18 08:22:50: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-18 08:22:50: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-18 08:22:50: Finished execution for 97f7876c-fb32-446b-aa3a-91fef6c9fe71

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
rchiodocommented, Aug 20, 2021

This should be fixed in our next jupyter extension build (which I believe will be tonight?)

1reaction
rchiodocommented, Aug 20, 2021

Yeah me too now.

Here’s the one it generated for me:

(dev/rchiodo/diag_removal) C:\Users\aku91\AppData\Roaming\jupyter\kernels\python390jvsc74a57bd09815dc2182e388e549254302fc1da5e478ed2cd2a907ea93363f940da7dbd695>type kernel.json
{
    "interpreterPath": "C:\\Users\\aku91\\miniconda3\\envs\\testSysPath\\python.exe",
    "name": "python390jvsc74a57bd09815dc2182e388e549254302fc1da5e478ed2cd2a907ea93363f940da7dbd695",
    "argv": [
        "python",
        "-m",
        "ipykernel_launcher",
        "-f",
        "{connection_file}"
    ],
    "language": "python",
    "path": "python",
    "display_name": "Python 3.9.0 64-bit ('testSysPath': conda)",
    "metadata": {
        "interpreter": {
            "sysPrefix": "C:\\Users\\aku91\\miniconda3\\envs\\testSysPath",
            "envType": "Conda",
            "envName": "testSysPath",
            "envPath": "C:\\Users\\aku91\\miniconda3\\envs\\testSysPath",
            "path": "C:\\Users\\aku91\\miniconda3\\envs\\testSysPath\\python.exe",
            "architecture": 3,
            "sysVersion": "3.9.0 (default, Nov 15 2020, 08:30:55) [MSC v.1916 64 bit (AMD64)]",
            "version": {
                "raw": "3.9.0",
                "major": 3,
                "minor": 9,
                "patch": 0,
                "build": [],
                "prerelease": [
                    "final",
                    "0"
                ]
            },
            "companyDisplayName": "Anaconda, Inc.",
            "displayName": "Python 3.9.0 64-bit ('testSysPath': conda)"
        }
    },
    "env": {}
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing environments - Conda
With conda, you can create, export, list, remove, and update environments that have different versions of Python and/or packages installed in them.
Read more >
sys.path different in Jupyter and Python - how to import own ...
I am using: PYTHONPATH in .bashrc to include my module,; Jupyter and bpython inside a virtualenv. The most similar questions is this Cannot ......
Read more >
The guide to Python virtual environments with conda - WhiteBox
Master Python virtual environments with conda, once and for all. Learn how to install conda from scratch, manage, and packaging virtual ...
Read more >
Python, The System Path and how conda and pyenv ...
Conda is, as it describes itself, “an open source package management system and environment management system that runs on Windows, macOS and ...
Read more >
Frequently Asked Questions — Spyder 5 documentation
Instead, just install Miniconda inside WSL2 and create a new conda environment (or use an existing conda- or virtualenv), then install Spyder-Kernels into ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found