Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
psobolewskiPhD opened this issue Aug 18, 2021 · 10 comments · Fixed by #7217
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Milestone

Comments

@psobolewskiPhD
Copy link

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

@psobolewskiPhD psobolewskiPhD added the bug Issue identified by VS Code Team member as probable bug label Aug 18, 2021
@rchiodo
Copy link
Contributor

rchiodo commented Aug 18, 2021

@psobolewskiPhD can you go to the command line and do a 'jupyter kernelspec list --json' and then upload the results here? The kernelspec we created on disk is likely incorrect. In particular there should be one referencing the napari-openCV python path.

@rchiodo rchiodo added info-needed Issue requires more information from poster and removed needs-triage labels Aug 18, 2021
@psobolewskiPhD
Copy link
Author

Here's the output of that command run with the openCV conda env.

{ "kernelspecs": { "python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a": { "resource_dir": "/Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a", "spec": { "argv": [ "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": { "SHELL": "/opt/homebrew/bin/fish", "TMPDIR": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/", "CONDA_SHLVL": "2", "PYTHONUNBUFFERED": "1", "CONDA_PROMPT_MODIFIER": "(TF-StarDist-napari) ", "_tide_right_prompt_display_var": "_tide_right_prompt_display_62598", "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined", "PYTHONIOENCODING": "utf-8", "USER": "piotrsobolewski", "VSCODE_VERBOSE_LOGGING": "true", "COMMAND_MODE": "unix2003", "CONDA_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/conda", "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.3Ynle5JFbz/Listeners", "VSCODE_PIPE_LOGGING": "true", "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0", "VSCODE_LOG_STACK": "true", "FZF_DEFAULT_OPTS": "--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker=\"*\"", "VSCODE_AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess", "ELECTRON_RUN_AS_NODE": "1", "_CE_CONDA": "", "CONDA_PREFIX_1": "/Users/piotrsobolewski/Dev/miniforge3", "PATH": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin:/Users/piotrsobolewski/Dev/miniforge3/condabin:/Applications/CMake.app/Contents/bin:/usr/local/texlive/2020/bin/custom:/Users/piotrsobolewski/Library/Python/3.8/bin:/Users/piotrsobolewski/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/opt/fzf/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin", "CONDA_PREFIX": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari", "__CFBundleIdentifier": "com.microsoft.VSCodeInsiders", "PWD": "/", "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true", "EDITOR": "nano", "R_LIBS_SITE": "/opt/homebrew/lib/R/4.0/site-library", "XPC_FLAGS": "0x0", "VSCODE_LOG_NATIVE": "false", "_CE_M": "", "XPC_SERVICE_NAME": "0", "SHLVL": "2", "R_LD_LIBRARY_PATH": "/opt/homebrew/lib/R/lib", "HOME": "/Users/piotrsobolewski", "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true", "VSCODE_IPC_HOOK_EXTHOST": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/vscode-ipc-12326662-fbab-48a2-84b3-e2c9ed26f256.sock", "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}", "CONDA_PYTHON_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/python", "LOGNAME": "piotrsobolewski", "LC_CTYPE": "en_US.UTF-8", "VSCODE_IPC_HOOK": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/1.60.0-insider-main.sock", "VSCODE_CODE_CACHE_PATH": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/CachedData/9dd4f31a21d63deea5e1fc322cfc802413b31d95", "CONDA_DEFAULT_ENV": "TF-StarDist-napari", "VSCODE_PID": "62587", "VSCODE_CWD": "/", "_": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python" }, "display_name": "Python 3.9.6 64-bit ('TF-StarDist-napari': conda)", "language": "python", "interrupt_mode": "signal", "metadata": { "interpreter": { "sysPrefix": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari", "envType": "Conda", "envName": "TF-StarDist-napari", "envPath": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari", "path": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/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 ('TF-StarDist-napari': conda)" } } } }, "python396jvsc74a57bd0e28c8163570c4952bc1689be032c95942704d7787747e3f647782f91cc6f83df": { "resource_dir": "/Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0e28c8163570c4952bc1689be032c95942704d7787747e3f647782f91cc6f83df", "spec": { "argv": [ "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-decon/bin/python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": { "SHELL": "/opt/homebrew/bin/fish", "TMPDIR": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/", "CONDA_SHLVL": "2", "PYTHONUNBUFFERED": "1", "CONDA_PROMPT_MODIFIER": "(TF-decon) ", "_tide_right_prompt_display_var": "_tide_right_prompt_display_34214", "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined", "PYTHONIOENCODING": "utf-8", "USER": "piotrsobolewski", "VSCODE_VERBOSE_LOGGING": "true", "COMMAND_MODE": "unix2003", "CONDA_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/conda", "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.3Ynle5JFbz/Listeners", "VSCODE_PIPE_LOGGING": "true", "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0", "VSCODE_LOG_STACK": "true", "FZF_DEFAULT_OPTS": "--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker=\"*\"", "VSCODE_AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess", "ELECTRON_RUN_AS_NODE": "1", "_CE_CONDA": "", "CONDA_PREFIX_1": "/Users/piotrsobolewski/Dev/miniforge3", "PATH": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-decon/bin:/Users/piotrsobolewski/Dev/miniforge3/condabin:/Applications/CMake.app/Contents/bin:/usr/local/texlive/2020/bin/custom:/Users/piotrsobolewski/Library/Python/3.8/bin:/Users/piotrsobolewski/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/opt/fzf/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin", "CONDA_PREFIX": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-decon", "VSCODE_BROWSER_CODE_LOADING": "bypassHeatCheck", "__CFBundleIdentifier": "com.microsoft.VSCodeInsiders", "PWD": "/", "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true", "EDITOR": "nano", "R_LIBS_SITE": "/opt/homebrew/lib/R/4.0/site-library", "XPC_FLAGS": "0x0", "VSCODE_LOG_NATIVE": "false", "_CE_M": "", "XPC_SERVICE_NAME": "0", "SHLVL": "2", "R_LD_LIBRARY_PATH": "/opt/homebrew/lib/R/lib", "HOME": "/Users/piotrsobolewski", "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true", "VSCODE_IPC_HOOK_EXTHOST": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/vscode-ipc-5635c4c6-45e0-4720-b139-23af62473609.sock", "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}", "CONDA_PYTHON_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/python", "LOGNAME": "piotrsobolewski", "LC_CTYPE": "en_US.UTF-8", "VSCODE_IPC_HOOK": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/1.59.0-insider-main.sock", "VSCODE_CODE_CACHE_PATH": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/CachedData/104bc571e956e4af623905ef10dfcc8f0fdac625", "CONDA_DEFAULT_ENV": "TF-decon", "VSCODE_PID": "34207", "VSCODE_CWD": "/", "_": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-decon/bin/python" }, "display_name": "Python 3.9.6 64-bit ('TF-decon': conda)", "language": "python", "interrupt_mode": "signal", "metadata": { "interpreter": { "sysPrefix": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-decon", "envType": "Conda", "envName": "TF-decon", "envPath": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-decon", "path": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-decon/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 ('TF-decon': conda)" } } } }, "python396jvsc74a57bd04db1ab0c13f4e93b5723ac1462919ee4fa4e13f3520c53d1bcc8b45e4369161a": { "resource_dir": "/Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd04db1ab0c13f4e93b5723ac1462919ee4fa4e13f3520c53d1bcc8b45e4369161a", "spec": { "argv": [ "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL/bin/python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": { "SHELL": "/opt/homebrew/bin/fish", "TMPDIR": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/", "CONDA_SHLVL": "2", "PYTHONUNBUFFERED": "1", "CONDA_PROMPT_MODIFIER": "(napari-pyCL) ", "_tide_right_prompt_display_var": "_tide_right_prompt_display_34214", "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined", "PYTHONIOENCODING": "utf-8", "USER": "piotrsobolewski", "VSCODE_VERBOSE_LOGGING": "true", "COMMAND_MODE": "unix2003", "CONDA_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/conda", "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.3Ynle5JFbz/Listeners", "VSCODE_PIPE_LOGGING": "true", "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0", "VSCODE_LOG_STACK": "true", "FZF_DEFAULT_OPTS": "--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker=\"*\"", "VSCODE_AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess", "ELECTRON_RUN_AS_NODE": "1", "_CE_CONDA": "", "CONDA_PREFIX_1": "/Users/piotrsobolewski/Dev/miniforge3", "PATH": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL/bin:/Users/piotrsobolewski/Dev/miniforge3/condabin:/Applications/CMake.app/Contents/bin:/usr/local/texlive/2020/bin/custom:/Users/piotrsobolewski/Library/Python/3.8/bin:/Users/piotrsobolewski/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/opt/fzf/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin", "CONDA_PREFIX": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL", "VSCODE_BROWSER_CODE_LOADING": "bypassHeatCheck", "__CFBundleIdentifier": "com.microsoft.VSCodeInsiders", "PWD": "/", "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true", "EDITOR": "nano", "R_LIBS_SITE": "/opt/homebrew/lib/R/4.0/site-library", "XPC_FLAGS": "0x0", "VSCODE_LOG_NATIVE": "false", "_CE_M": "", "XPC_SERVICE_NAME": "0", "SHLVL": "2", "R_LD_LIBRARY_PATH": "/opt/homebrew/lib/R/lib", "HOME": "/Users/piotrsobolewski", "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true", "VSCODE_IPC_HOOK_EXTHOST": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/vscode-ipc-5635c4c6-45e0-4720-b139-23af62473609.sock", "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}", "CONDA_PYTHON_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/python", "LOGNAME": "piotrsobolewski", "LC_CTYPE": "en_US.UTF-8", "VSCODE_IPC_HOOK": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/1.59.0-insider-main.sock", "VSCODE_CODE_CACHE_PATH": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/CachedData/104bc571e956e4af623905ef10dfcc8f0fdac625", "CONDA_DEFAULT_ENV": "napari-pyCL", "VSCODE_PID": "34207", "VSCODE_CWD": "/", "_": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL/bin/python" }, "display_name": "Python 3.9.6 64-bit ('napari-pyCL': conda)", "language": "python", "interrupt_mode": "signal", "metadata": { "debugger": true, "originalSpecFile": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL/share/jupyter/kernels/python3/kernel.json", "interpreter": { "sysPrefix": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL", "envType": "Conda", "envName": "napari-pyCL", "envPath": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL", "path": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL/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-pyCL': conda)" } } } }, "python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9": { "resource_dir": "/Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9", "spec": { "argv": [ "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL-D/bin/python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": { "SHELL": "/opt/homebrew/bin/fish", "TMPDIR": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/", "CONDA_SHLVL": "2", "PYTHONUNBUFFERED": "1", "CONDA_PROMPT_MODIFIER": "(napari-pyCL-D) ", "_tide_right_prompt_display_var": "_tide_right_prompt_display_88956", "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined", "PYTHONIOENCODING": "utf-8", "USER": "piotrsobolewski", "VSCODE_VERBOSE_LOGGING": "true", "COMMAND_MODE": "unix2003", "CONDA_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/conda", "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.3Ynle5JFbz/Listeners", "VSCODE_PIPE_LOGGING": "true", "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0", "VSCODE_LOG_STACK": "true", "FZF_DEFAULT_OPTS": "--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker=\"*\"", "VSCODE_AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess", "ELECTRON_RUN_AS_NODE": "1", "_CE_CONDA": "", "CONDA_PREFIX_1": "/Users/piotrsobolewski/Dev/miniforge3", "PATH": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL-D/bin:/Users/piotrsobolewski/Dev/miniforge3/condabin:/Applications/CMake.app/Contents/bin:/usr/local/texlive/2020/bin/custom:/Users/piotrsobolewski/Library/Python/3.8/bin:/Users/piotrsobolewski/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/opt/fzf/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin", "CONDA_PREFIX": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL-D", "__CFBundleIdentifier": "com.microsoft.VSCodeInsiders", "PWD": "/", "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true", "EDITOR": "nano", "R_LIBS_SITE": "/opt/homebrew/lib/R/4.0/site-library", "XPC_FLAGS": "0x0", "VSCODE_LOG_NATIVE": "false", "_CE_M": "", "XPC_SERVICE_NAME": "0", "SHLVL": "2", "R_LD_LIBRARY_PATH": "/opt/homebrew/lib/R/lib", "HOME": "/Users/piotrsobolewski", "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true", "VSCODE_IPC_HOOK_EXTHOST": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/vscode-ipc-8494599d-afca-4649-9c28-4f40acf9e32a.sock", "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}", "CONDA_PYTHON_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/python", "LOGNAME": "piotrsobolewski", "LC_CTYPE": "en_US.UTF-8", "VSCODE_IPC_HOOK": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/1.60.0-insider-main.sock", "VSCODE_CODE_CACHE_PATH": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/CachedData/9dd4f31a21d63deea5e1fc322cfc802413b31d95", "CONDA_DEFAULT_ENV": "napari-pyCL-D", "VSCODE_PID": "88944", "VSCODE_CWD": "/", "_": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL-D/bin/python" }, "display_name": "Python 3.9.6 64-bit ('napari-pyCL-D': conda)", "language": "python", "interrupt_mode": "signal", "metadata": { "interpreter": { "sysPrefix": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL-D", "envType": "Conda", "envName": "napari-pyCL-D", "envPath": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL-D", "path": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyCL-D/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-pyCL-D': conda)" } } } }, "python396jvsc74a57bd0afe641fd5ac8524bd158abb495a60bea9cf594c409ae1159e03c1788ff37ce8b": { "resource_dir": "/Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0afe641fd5ac8524bd158abb495a60bea9cf594c409ae1159e03c1788ff37ce8b", "spec": { "argv": [ "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-SD2/bin/python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": { "SHELL": "/opt/homebrew/bin/fish", "TMPDIR": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/", "CONDA_SHLVL": "2", "PYTHONUNBUFFERED": "1", "CONDA_PROMPT_MODIFIER": "(TF-SD2) ", "_tide_right_prompt_display_var": "_tide_right_prompt_display_34214", "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined", "PYTHONIOENCODING": "utf-8", "USER": "piotrsobolewski", "VSCODE_VERBOSE_LOGGING": "true", "COMMAND_MODE": "unix2003", "CONDA_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/conda", "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.3Ynle5JFbz/Listeners", "VSCODE_PIPE_LOGGING": "true", "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0", "VSCODE_LOG_STACK": "true", "FZF_DEFAULT_OPTS": "--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker=\"*\"", "VSCODE_AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess", "ELECTRON_RUN_AS_NODE": "1", "_CE_CONDA": "", "CONDA_PREFIX_1": "/Users/piotrsobolewski/Dev/miniforge3", "PATH": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-SD2/bin:/Users/piotrsobolewski/Dev/miniforge3/condabin:/Applications/CMake.app/Contents/bin:/usr/local/texlive/2020/bin/custom:/Users/piotrsobolewski/Library/Python/3.8/bin:/Users/piotrsobolewski/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/opt/fzf/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin", "CONDA_PREFIX": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-SD2", "VSCODE_BROWSER_CODE_LOADING": "bypassHeatCheck", "__CFBundleIdentifier": "com.microsoft.VSCodeInsiders", "PWD": "/", "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true", "EDITOR": "nano", "R_LIBS_SITE": "/opt/homebrew/lib/R/4.0/site-library", "XPC_FLAGS": "0x0", "VSCODE_LOG_NATIVE": "false", "_CE_M": "", "XPC_SERVICE_NAME": "0", "SHLVL": "2", "R_LD_LIBRARY_PATH": "/opt/homebrew/lib/R/lib", "HOME": "/Users/piotrsobolewski", "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true", "VSCODE_IPC_HOOK_EXTHOST": "/var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/vscode-ipc-5635c4c6-45e0-4720-b139-23af62473609.sock", "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}", "CONDA_PYTHON_EXE": "/Users/piotrsobolewski/Dev/miniforge3/bin/python", "LOGNAME": "piotrsobolewski", "LC_CTYPE": "en_US.UTF-8", "VSCODE_IPC_HOOK": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/1.59.0-insider-main.sock", "VSCODE_CODE_CACHE_PATH": "/Users/piotrsobolewski/Library/Application Support/Code - Insiders/CachedData/104bc571e956e4af623905ef10dfcc8f0fdac625", "CONDA_DEFAULT_ENV": "TF-SD2", "VSCODE_PID": "34207", "VSCODE_CWD": "/", "_": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-SD2/bin/python" }, "display_name": "Python 3.9.6 64-bit ('TF-SD2': conda)", "language": "python", "interrupt_mode": "signal", "metadata": { "interpreter": { "sysPrefix": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-SD2", "envType": "Conda", "envName": "TF-SD2", "envPath": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-SD2", "path": "/Users/piotrsobolewski/Dev/miniforge3/envs/TF-SD2/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 ('TF-SD2': conda)" } } } }, "python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e": { "resource_dir": "/Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e", "spec": { "argv": [ "python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": {}, "display_name": "Python 3.9.6 64-bit ('napari-openCV': conda)", "language": "python", "interrupt_mode": "signal", "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)" } } } }, "python3": { "resource_dir": "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/share/jupyter/kernels/python3", "spec": { "argv": [ "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": {}, "display_name": "Python 3 (ipykernel)", "language": "python", "interrupt_mode": "signal", "metadata": { "debugger": true } } } } }
The last one `python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e/` is the new one, the issue, it's also the first new env I've done in 10+ days: did something change in vscode/jupyter? I'm in the Insider branch.
╭─ ~/Library/Jupyter/kernels ················································ ✔ ─╮
╰─ ll                                                             (napari-openCV) ─╯
drwxr-xr-x - piotrsobolewski  1 Aug 22:12 python396jvsc74a57bd0afe641fd5ac8524bd158abb495a60bea9cf594c409ae1159e03c1788ff37ce8b/
drwxr-xr-x - piotrsobolewski  1 Aug 22:12 python396jvsc74a57bd0e28c8163570c4952bc1689be032c95942704d7787747e3f647782f91cc6f83df/
drwxr-xr-x - piotrsobolewski  1 Aug 20:13 python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9/
drwxr-xr-x - piotrsobolewski  7 Jul 16:05 python396jvsc74a57bd04db1ab0c13f4e93b5723ac1462919ee4fa4e13f3520c53d1bcc8b45e4369161a/
drwxr-xr-x - piotrsobolewski 18 Aug 08:22 python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e/
drwxr-xr-x - piotrsobolewski  1 Aug 18:39 python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a/

@rchiodo
Copy link
Contributor

rchiodo commented Aug 20, 2021

I think the problem is here:

"python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e": {
      "resource_dir": "/Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e",
      "spec": {
        "argv": [
          "python",
          "-m",
          "ipykernel_launcher",
          "-f",
          "{connection_file}"
        ],
        "env": {}, <-- This is empty. We generated this kernelspec without writing an environment. 

That shouldn't be happening. We should be setting that here:

specModel.env = await this.activationHelper

But something must have gone wrong.

Can you:

  • Delete this directory: Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e
  • Set TF_BUILD as a global environment variable (this will cause a lot more logging on our part)
  • Restart VS code to use this environment
  • Rerun the scenario (it should cause that directory to be recreated)
  • Copy your 'jupyter' output tab to this bug?

If you don't have time for that, you could possibly fix the kernelspec yourself. Make the env entry match the env you would have if you printed out the environment variables for the new conda environment.

In the meantime, we'll try reproing this issue locally.

@rchiodo rchiodo removed the info-needed Issue requires more information from poster label Aug 20, 2021
@rchiodo rchiodo removed their assignment Aug 20, 2021
@rchiodo rchiodo added notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) needs-triage labels Aug 20, 2021
@psobolewskiPhD
Copy link
Author

I deleted the dir.
Not sure I "set TF_BUILD" right. I did:
set -x TF_BUILD TRUE
(I'm using Fish shell)

I got the same effect in VS Code:
ModuleNotFoundError: No module named 'cv2'
(cv2 is the unique package)
And I get the same os.sys.path return as before.
The kernels dir now shows:

 ~/Library/Jupyter/kernels ············································ ✔ ─╮
╰─ ll                                                                  (base) ─╯
drwxr-xr-x - piotrsobolewski  1 Aug 22:12 python396jvsc74a57bd0afe641fd5ac8524bd158abb495a60bea9cf594c409ae1159e03c1788ff37ce8b/
drwxr-xr-x - piotrsobolewski  1 Aug 22:12 python396jvsc74a57bd0e28c8163570c4952bc1689be032c95942704d7787747e3f647782f91cc6f83df/
drwxr-xr-x - piotrsobolewski  1 Aug 20:13 python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9/
drwxr-xr-x - piotrsobolewski  7 Jul 16:05 python396jvsc74a57bd04db1ab0c13f4e93b5723ac1462919ee4fa4e13f3520c53d1bcc8b45e4369161a/
drwxr-xr-x - piotrsobolewski 20 Aug 20:43 python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e/
drwxr-xr-x - piotrsobolewski  1 Aug 18:39 python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a/

So it looks the same dir name was rebuilt properly.

Below is the entire Output tab.

User belongs to experiment group 'jupyterTestcf' User belongs to experiment group 'jupyterEnhancedDataViewer' Error 2021-08-20 20:41:34: 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.u._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.u._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-20 20:41:34: Attempting to start a server because of preload conditions ...
Info 2021-08-20 20:43:21: Attempting to start a server because of preload conditions ...
Info 2021-08-20 20:43:21: Setting setActiveController for vscode-interactive:Interactive-1.interactive
Info 2021-08-20 20:43:21: Intiailize notebook communications for editor vscode-interactive:Interactive-1.interactive
Info 2021-08-20 20:43:21: Resolving notebook UI Comms (resolve) for vscode-interactive:Interactive-1.interactive
Info 2021-08-20 20:43:21: initialize CommonMessageCoordinator
Info 2021-08-20 20:43:21: IPyWidgetMessageDispatcher.initialize
Info 2021-08-20 20:43:21: Created and initailized CommonMessageCoordinator
Info 2021-08-20 20:43:21: Attach Coordinator for vscode-interactive:Interactive-1.interactive
Info 2021-08-20 20:43:21: 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-20 20:43:21: findPreferredKernel score for speclanguage=python, Python 3.8.2 64-bit is -1
Info 2021-08-20 20:43:21: findPreferredKernel score for Python3, Python 3.8.2 64-bit is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 3.8.2 64-bit is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for speclanguage=python, Python 2.7.16 64-bit is -1
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 2.7.16 64-bit is 1
Info 2021-08-20 20:43:21: findPreferredKernel score for speclanguage=python, Python 3.9.5 64-bit ('base': conda) is -1
Info 2021-08-20 20:43:21: findPreferredKernel score for Python3, Python 3.9.5 64-bit ('base': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 3.9.5 64-bit ('base': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit is -1
Info 2021-08-20 20:43:21: findPreferredKernel score for Python3, Python 3.9.6 64-bit is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 3.9.6 64-bit is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('apple-TF': conda) is -1
Info 2021-08-20 20:43:21: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('apple-TF': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 3.9.6 64-bit ('apple-TF': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('napari-env': conda) is -1
Info 2021-08-20 20:43:21: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('napari-env': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 3.9.6 64-bit ('napari-env': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('napari-openCV': conda) is 10
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 3.9.6 64-bit ('napari-openCV': conda) is 20
Info 2021-08-20 20:43:21: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('napari-pyCL-D': conda) is -1
Info 2021-08-20 20:43:21: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('napari-pyCL-D': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 3.9.6 64-bit ('napari-pyCL-D': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('numpy-accel': conda) is -1
Info 2021-08-20 20:43:21: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('numpy-accel': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 3.9.6 64-bit ('numpy-accel': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for speclanguage=python, Python 3.9.6 64-bit ('TF-StarDist-napari': conda) is -1
Info 2021-08-20 20:43:21: findPreferredKernel score for Python3, Python 3.9.6 64-bit ('TF-StarDist-napari': conda) is 2
Info 2021-08-20 20:43:21: findPreferredKernel score for Python 3.9.6 64-bit ('TF-StarDist-napari': conda) is 2
Info 2021-08-20 20:43:21: findKernel found Python 3.9.6 64-bit ('napari-openCV': conda)
Info 2021-08-20 20:43:21: Find kernel spec, Class name = k, completed in 46ms, 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-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd04db1ab0c13f4e93b5723ac1462919ee4fa4e13f3520c53d1bcc8b45e4369161a/kernel.json for undefined
Info 2021-08-20 20:43:21: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a/kernel.json for undefined
Info 2021-08-20 20:43:21: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0afe641fd5ac8524bd158abb495a60bea9cf594c409ae1159e03c1788ff37ce8b/kernel.json for undefined
Info 2021-08-20 20:43:21: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0e28c8163570c4952bc1689be032c95942704d7787747e3f647782f91cc6f83df/kernel.json for undefined
Info 2021-08-20 20:43:21: Loading kernelspec from /Users/piotrsobolewski/Library/Jupyter/kernels/python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9/kernel.json for undefined
Info 2021-08-20 20:43:21: Hiding default kernel spec Python 3 (ipykernel), python
Info 2021-08-20 20:43:21: Hiding default kernel spec Python 3 (ipykernel), /Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python
Info 2021-08-20 20:43:21: Kernel python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9 matches Python 3.9.6 64-bit ('napari-pyCL-D': conda) based on metadata path.
Info 2021-08-20 20:43:21: Kernel python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a matches Python 3.9.6 64-bit ('TF-StarDist-napari': conda) based on metadata path.
Info 2021-08-20 20:43:21: Hiding default kernel spec Python 3 (ipykernel), python
Info 2021-08-20 20:43:21: Hiding default kernel spec Python 3 (ipykernel), /Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python
Info 2021-08-20 20:43:21: Kernel python396jvsc74a57bd0e774fd5465d7f0f97c28cc36044fc3a68588bc24bb9947703fa3e2268745eab9 matches Python 3.9.6 64-bit ('napari-pyCL-D': conda) based on metadata path.
Info 2021-08-20 20:43:21: Kernel python396jvsc74a57bd0816b70f018d099e6c56d1daea057a52b352940530c59e3e12a7d6ca05df28a9a matches Python 3.9.6 64-bit ('TF-StarDist-napari': conda) based on metadata path.
Info 2021-08-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: Checking for server existence.
Info 2021-08-20 20:43:21: Checking for server usability.
Info 2021-08-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: IPyWidgetMessageDispatcher.initialize
Info 2021-08-20 20:43:21: Starting notebook server.
Info 2021-08-20 20:43:21: Connecting to history server
Info 2021-08-20 20:43:21: Launching history server
Info 2021-08-20 20:43:21: Starting Notebook
Info 2021-08-20 20:43:21: Creating daemon pool for /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python with env variables count 47
Info 2021-08-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: 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-20 20:43:21: Starting Jupyter Notebook
Starting Jupyter from ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python with command line --no-browser --notebook-dir="/Users/piotrsobolewski/Dev/PyCL" --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 2021-08-20 20:43:21: Process Execution: > ~/Dev/miniforge3/envs/TF-StarDist-napari/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/Users/piotrsobolewski/Dev/PyCL" --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/PyCL" --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 2021-08-20 20:43:21: Waiting for Jupyter Notebook
Info 2021-08-20 20:43:21: Python Daemon (pid: 16928): Execute rpc method exec_module_observable in DS Daemon
Info 2021-08-20 20:43:21: Python Daemon (pid: 16928): Execute rpc method exec_module_observable from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-20 20:43:21: Python Daemon (pid: 16928): Exec in DS Daemon (observable) jupyter with args ['notebook', '--no-browser', '--notebook-dir="/Users/piotrsobolewski/Dev/PyCL"', '--NotebookApp.iopub_data_rate_limit=10000000000.0']
Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): Starting notebook with args ['--no-browser', '--notebook-dir="/Users/piotrsobolewski/Dev/PyCL"', '--NotebookApp.iopub_data_rate_limit=10000000000.0']
Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): 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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – 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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – or use CUnicode.
warn(
Info 2021-08-20 20:43:22: /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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – or use CUnicode.
warn(

Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [I 20:43:22.319 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager

[I 20:43:22.319 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
Info 2021-08-20 20:43:22: /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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – or use CUnicode.
warn(
[I 20:43:22.319 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager

Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [I 20:43:22.323 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyCL

[I 20:43:22.323 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyCL
Info 2021-08-20 20:43:22: /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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – or use CUnicode.
warn(
[I 20:43:22.319 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 20:43:22.323 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyCL

Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [I 20:43:22.323 NotebookApp] Jupyter Notebook 6.4.0 is running at:

[I 20:43:22.323 NotebookApp] Jupyter Notebook 6.4.0 is running at:
Info 2021-08-20 20:43:22: /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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – or use CUnicode.
warn(
[I 20:43:22.319 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 20:43:22.323 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyCL
[I 20:43:22.323 NotebookApp] Jupyter Notebook 6.4.0 is running at:

Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [I 20:43:22.323 NotebookApp] http://localhost:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50

[I 20:43:22.323 NotebookApp] http://localhost:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
Info 2021-08-20 20:43:22: /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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – or use CUnicode.
warn(
[I 20:43:22.319 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 20:43:22.323 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyCL
[I 20:43:22.323 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 20:43:22.323 NotebookApp] http://localhost:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50

Info 2021-08-20 20:43:22: 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-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [I 20:43:22.323 NotebookApp] or http://127.0.0.1:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50

[I 20:43:22.323 NotebookApp] or http://127.0.0.1:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
Info 2021-08-20 20:43:22: /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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – or use CUnicode.
warn(
[I 20:43:22.319 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 20:43:22.323 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyCL
[I 20:43:22.323 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 20:43:22.323 NotebookApp] http://localhost:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
[I 20:43:22.323 NotebookApp] or http://127.0.0.1:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50

Info 2021-08-20 20:43:22: 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-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [I 20:43:22.323 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): Execute rpc method exec_file in DS Daemon
[I 20:43:22.323 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Info 2021-08-20 20:43:22: /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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – or use CUnicode.
warn(
[I 20:43:22.319 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 20:43:22.323 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyCL
[I 20:43:22.323 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 20:43:22.323 NotebookApp] http://localhost:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
[I 20:43:22.323 NotebookApp] or http://127.0.0.1:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
[I 20:43:22.323 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): Execute rpc method exec_file from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [C 20:43:22.325 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/piotrsobolewski/Library/Jupyter/runtime/nbserver-16928-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
 or http://127.0.0.1:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50

Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): Exec file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py with args []
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Execute rpc method exec_file in DS Daemon
[C 20:43:22.325 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/piotrsobolewski/Library/Jupyter/runtime/nbserver-16928-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
 or http://127.0.0.1:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50

Info 2021-08-20 20:43:22: /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/PyCL' instead of '"/Users/piotrsobolewski/Dev/PyCL"' – or use CUnicode.
warn(
[I 20:43:22.319 NotebookApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 20:43:22.323 NotebookApp] Serving notebooks from local directory: /Users/piotrsobolewski/Dev/PyCL
[I 20:43:22.323 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 20:43:22.323 NotebookApp] http://localhost:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
[I 20:43:22.323 NotebookApp] or http://127.0.0.1:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
[I 20:43:22.323 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 20:43:22.325 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/piotrsobolewski/Library/Jupyter/runtime/nbserver-16928-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50
 or http://127.0.0.1:8888/?token=4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50

Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): execute file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Execute rpc method exec_file from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Exec file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py with args []
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): execute file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-20 20:43:22: Creating jupyter server: 5255fbc2-d9af-4518-9d89-3f6db76b13ad
Info 2021-08-20 20:43:22: Connecting to process for history server
Info 2021-08-20 20:43:22: Connecting server 5255fbc2-d9af-4518-9d89-3f6db76b13ad kernelSpec Python 3.9.6 64-bit ('napari-openCV': conda)
Info 2021-08-20 20:43:22: Creating server with settings : {"baseUrl":"http://localhost:8888/","appUrl":"","wsUrl":"ws://localhost:8888/","token":"4a6a731ba5bd790106cd41d2dcccc3dda255fc51f75d5e50","init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): Execute rpc method ping in DS Daemon
Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): Execute rpc method ping from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Execute rpc method ping in DS Daemon
Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): pinged with hello
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Execute rpc method ping from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): pinged with hello
Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [I 20:43:22.463 NotebookApp] Creating new notebook in /

[I 20:43:22.463 NotebookApp] Creating new notebook in /
Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [I 20:43:22.464 NotebookApp] Saving Untitled.ipynb

[I 20:43:22.464 NotebookApp] Saving Untitled.ipynb
Info 2021-08-20 20:43:22: installMissingDependencies /Users/piotrsobolewski/Dev/miniforge3/envs/napari-openCV/bin/python
Info 2021-08-20 20:43:22: 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-20 20:43:22: 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-20 20:43:22: 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-20 20:43:22: Python Daemon (pid: 16926): Execute rpc method exec_file in DS Daemon
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Execute rpc method exec_file in DS Daemon
Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): Execute rpc method exec_file from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Execute rpc method exec_file from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): Exec file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py with args []
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Exec file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py with args []
Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): execute file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): execute file /Users/piotrsobolewski/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.2028630014/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Execute rpc method ping in DS Daemon
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): Execute rpc method ping from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): Execute rpc method ping in DS Daemon
Info 2021-08-20 20:43:22: Python Daemon (pid: 16927): pinged with hello
Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): Execute rpc method ping from /Users/piotrsobolewski/Dev/miniforge3/envs/TF-StarDist-napari/bin/python
Info 2021-08-20 20:43:22: Python Daemon (pid: 16926): pinged with hello
Info 2021-08-20 20:43:22: Install Missing Dependencies, Class name = _, completed in 175ms, has a falsy return value, Return Value: undefined
Info 2021-08-20 20:43:22: 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-20 20:43:22: Check if a kernel is usable, Class name = w, completed in 202ms, 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: , Arg 4: false, Return Value: undefined
Info 2021-08-20 20:43:22: 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-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [I 20:43:22.691 NotebookApp] Kernel started: 4be7d37d-2f18-456b-9e14-26a7e0cfa67a, name: python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e

[I 20:43:22.691 NotebookApp] Kernel started: 4be7d37d-2f18-456b-9e14-26a7e0cfa67a, name: python396jvsc74a57bd04583e14f17286c267a654b2994ed34fd426d7fb36ca9bac8a3c391cad9fcb58e
Info 2021-08-20 20:43:22: Waiting for idle on (kernel): 4be7d37d-2f18-456b-9e14-26a7e0cfa67a -> unknown
Info 2021-08-20 20:43:22: Python Daemon (pid: 16928): write to stderr: [W 20:43:22.697 NotebookApp] delete /default-aaf74eff-7801-4113-8b98-45f8dd17bac1.ipynb

[W 20:43:22.697 NotebookApp] delete /default-aaf74eff-7801-4113-8b98-45f8dd17bac1.ipynb
Info 2021-08-20 20:43:23: Finished waiting for idle on (kernel): 4be7d37d-2f18-456b-9e14-26a7e0cfa67a -> idle
Info 2021-08-20 20:43:23: Waiting for idle on (kernel): 4be7d37d-2f18-456b-9e14-26a7e0cfa67a -> idle
Info 2021-08-20 20:43:23: Finished waiting for idle on (kernel): 4be7d37d-2f18-456b-9e14-26a7e0cfa67a -> idle
Info 2021-08-20 20:43:23: Connection complete for history server
Info 2021-08-20 20:43:23: Server started.
Info 2021-08-20 20:43:23: Compute Launch Info uri = Untitled-1, 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-20 20:43:23: Compute Launch Info uri = Untitled-1, 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-20 20:43:23: Computed Launch Info uri = Untitled-1, 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-20 20:43:23: Started session 5255fbc2-d9af-4518-9d89-3f6db76b13ad
Info 2021-08-20 20:43:23: Waiting for idle (session) 5255fbc2-d9af-4518-9d89-3f6db76b13ad
Info 2021-08-20 20:43:23: Waiting for idle on (kernel): 4be7d37d-2f18-456b-9e14-26a7e0cfa67a -> idle
Info 2021-08-20 20:43:23: Finished waiting for idle on (kernel): 4be7d37d-2f18-456b-9e14-26a7e0cfa67a -> idle
Info 2021-08-20 20:43:23: Initial setup for vscode-interactive:Interactive-1.interactive starting ...
Info 2021-08-20 20:43:23: UpdateWorkingDirectoryAndPath
Info 2021-08-20 20:43:23: Initialize matplotlib for vscode-interactive:Interactive-1.interactive
Info 2021-08-20 20:43:23: Kernel switching to busy
Info 2021-08-20 20:43:23: Kernel switching to idle
Info 2021-08-20 20:43:23: Kernel switching to busy
Info 2021-08-20 20:43:23: Kernel switching to idle
Info 2021-08-20 20:43:23: 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-20 20:43:23: Initial setup complete for vscode-interactive:Interactive-1.interactive
Info 2021-08-20 20:43:23: Finished connecting 5255fbc2-d9af-4518-9d89-3f6db76b13ad
Info 2021-08-20 20:43:23: IPyWidgetScriptSource.initialize
Info 2021-08-20 20:43:23: Registering commtarget jupyter.widget
Info 2021-08-20 20:43:23: IPyWidgetMessageDispatcher.initialize
Info 2021-08-20 20:43:23: IPyWidgetMessageDispatcher.initialize
Info 2021-08-20 20:43:23: IPyWidgetMessageDispatcher.initialize
Info 2021-08-20 20:43:23: Kernel switching to busy
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-20 20:43:23: Kernel switching to idle
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-20 20:43:23: UpdateWorkingDirectoryAndPath
Info 2021-08-20 20:43:23: Initialize matplotlib for untitled:Untitled-1
Info 2021-08-20 20:43:23: Kernel switching to busy
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-20 20:43:23: Kernel switching to idle
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-20 20:43:23: Kernel switching to busy
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-20 20:43:23: Kernel switching to idle
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-20 20:43:23: Waiting for idle on (kernel): 4be7d37d-2f18-456b-9e14-26a7e0cfa67a -> idle
Info 2021-08-20 20:43:23: Finished waiting for idle on (kernel): 4be7d37d-2f18-456b-9e14-26a7e0cfa67a -> idle
Info 2021-08-20 20:43:23: UpdateWorkingDirectoryAndPath
Info 2021-08-20 20:43:23: Kernel switching to busy
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-20 20:43:23: Kernel switching to idle
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-20 20:43:23: Adding hash for 1 = dc3f73838a02 with 2 lines
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Busy
Info 2021-08-20 20:43:23: Notebook Session status vscode-interactive:Interactive-1.interactive # Idle
Info 2021-08-20 20:43:23: Cancel all remaining cells true || 4
Info 2021-08-20 20:43:23: Cancel pending cells
Info 2021-08-20 20:43:23: Finished execution for 60ff4b8b-0e84-4032-8ddc-76aae4b38d7a

@rchiodo
Copy link
Contributor

rchiodo commented Aug 20, 2021

The env var isn't being picked up by VS code. You likely need to start VS code from the fish shell. However it looks like it at least attempted to set the environment in the kernelspec, but even if the TF_BUILD env, there isn't enough tracing to see what might have gone wrong.

We need to repro locally.

I've managed to do so, so we should be able to debug what's going wrong.

@psobolewskiPhD
Copy link
Author

Thanks for looking into it.
It's just so odd, because as you can see I have 5 envs where everything worked peachy!
But no matter, every new env I make has the same issue.

@rchiodo
Copy link
Contributor

rchiodo commented 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": {}
}

@rchiodo
Copy link
Contributor

rchiodo commented Aug 20, 2021

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

@psobolewskiPhD
Copy link
Author

Works perfectly now! Thanks!!
🥂

@rzhao271 rzhao271 added the verified Verification succeeded label Aug 25, 2021
@rzhao271
Copy link
Contributor

Marked as verified based on comment above.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants