Newly created venv not picked or listed in kernel picker

Type: Bug

Create an empty folder and open in VS Code
Create a dev container from the official conda template
Open the folder in dev container
Install Python and Jupyte prerelease
Switch kernel picker type to mru notebook.kernelPicker.type: "mru"
Open a notebook, click on the kernel picker

Select another kernel...
Local Python Environment
Create Python Environment
Venv

Pick the conda interpreter

After long progress through notification, the creation of venv succeeds (.venv folder created, and Python finds it). But we didn't select this intepreter as kernel, and when going through the same steps, the venv is also not listed under Local Python Environments.
VS Code version: Code - Insiders 1.74.0-insider (fef85ea792f6627c83024d1df726ca729d8c9cb3, 2022-11-21T05:22:37.848Z)
OS version: Windows_NT x64 10.0.22623
Modes:

Refresh fixes it though.

Before creation

Jupyter
Visual Studio Code - Insiders (1.74.0-insider, dev-container, desktop)
Jupyter Extension Version: 2022.11.1003271029.
Python Extension Version: 2022.18.2.
Workspace folder /workspaces/py-container2
info 02:05:57.692: ZMQ install verified.
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 02:05:58.035: Old kernelSpecs (created by Jupyter Extension) stored in directory C:\Users\rebor\AppData\Roaming\jupyter\kernels\__old_vscode_kernelspecs
info 02:05:58.035: Old kernelSpecs (created by Jupyter Extension) stored in directory C:\Users\rebor\AppData\Roaming\jupyter\kernels\__old_vscode_kernelspecs
debug 02:05:58.040: Get Custom Env Variables, Class name = S (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
info 02:05:58.043: LSP Notebooks experiment is enabled
debug 02:05:58.043: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2"
debug 02:05:58.047: getCondaFile, Class name = k (started execution)
debug 02:05:58.048: getCondaVersion, Class name = k (started execution)
debug 02:05:58.048: getCondaVersionFromPython, Class name = k (started execution)
debug 02:05:58.086: getCondaFile, Class name = k, completed in 39ms, has a truthy return value
debug 02:05:58.086: getCondaVersion, Class name = k, completed in 38ms, has a truthy return value
debug 02:05:58.359: Found 4 saved URIs, [{"time":1669077367417,"serverId":"e5df1f762ae220d3a27762d23c58eee33460345b3be832d126a1e089d9759aa0","displayName":"http://localhost:8888/?token=a640050dba2754836cc00f4b6872f0e4db6cf9eb94ca2f5f","uri":"http://localhost:8888/?token=a640050dba2754836cc00f4b6872f0e4db6cf9eb94ca2f5f","isValidated":true},{"time":1662079159263,"serverId":"790f172860f9c6c36c54e446595a99cd0637ebcbcc53c88956e2c944836876e7","displayName":"http://localhost:46331/?token=15bd9a445c2a400d86e3d3070a2daa0a","uri":"http://localhost:46331/?token=15bd9a445c2a400d86e3d3070a2daa0a","isValidated":true},{"time":1662079085730,"serverId":"2199077a6e5934843ea4a5c2a3c580ba0f72480bf1744811ea31a4885dc876b2","displayName":"http://localhost:44891/?token=f831ab494d2449c0ba8c0c249b305f4c","uri":"http://localhost:44891/?token=f831ab494d2449c0ba8c0c249b305f4c","isValidated":true},{"time":1662078873642,"serverId":"19f5493a17eb849727304bc6d31512fa0ab1fa5aaf5073636878635355a73499","displayName":"Codespace rebornix-jungaretti-playground-pjrxq4w5w9hgpv","uri":"https://remote/?id=codespace&uriHandle=rebornix-jungaretti-playground-pjrxq4w5w9hgpv","isValidated":false}]
debug 02:05:58.360: UniversalRemoteKernelFinder: get from cache
debug 02:05:58.361: UniversalRemoteKernelFinder: get from cache
debug 02:05:58.362: UniversalRemoteKernelFinder: get from cache
info 02:05:58.363: Checking for server existence.
info 02:05:58.363: Checking for server existence.
info 02:05:58.363: Checking for server existence.
info 02:05:58.364: Checking for server usability.
info 02:05:58.364: Checking for server usability.
info 02:05:58.364: Checking for server usability.
info 02:05:58.364: Starting notebook server.
info 02:05:58.364: Starting notebook server.
info 02:05:58.364: Starting notebook server.
info 02:05:58.365: Connecting to server
info 02:05:58.365: Connecting to server
info 02:05:58.365: Connecting to server
info 02:05:58.366: Connecting to process server
info 02:05:58.366: Connecting server kernel http://localhost:8888/
Connecting to Jupyter server at http://localhost:8888/
info 02:05:58.366: Connecting to process server
info 02:05:58.366: Connecting server kernel http://localhost:46331/
Connecting to Jupyter server at http://localhost:46331/
info 02:05:58.367: Connecting to process server
info 02:05:58.367: Connecting server kernel http://localhost:44891/
Connecting to Jupyter server at http://localhost:44891/
info 02:05:58.367: Creating server with url : http://localhost:8888/
info 02:05:58.384: Creating server with url : http://localhost:46331/
info 02:05:58.384: Creating server with url : http://localhost:44891/
info 02:05:58.393: Connection complete server
info 02:05:58.393: Connection complete server
info 02:05:58.393: Connection complete server
info 02:05:58.393: Server started.
info 02:05:58.393: Server started.
info 02:05:58.393: Server started.
info 02:05:58.394: Creating server with url : http://localhost:8888/
info 02:05:58.394: Creating server with url : http://localhost:46331/
info 02:05:58.395: Creating server with url : http://localhost:44891/
debug 02:05:58.634: Get Active Interpreter, Class name = x (started execution), Arg 1: undefined
debug 02:05:58.645: Get Custom Env Variables, Class name = S, completed in 605ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 02:05:58.646: Get Jupyter Sub Paths, Class name = j, completed in 606ms, has a truthy return value, Arg 1: "", Arg 2: "kernels", Return Value:
debug 02:05:58.647: Get Jupyter Kernel Paths, Class name = j, completed in 607ms, has a truthy return value, Arg 1: "", Return Value:
debug 02:05:58.647: Get KernelSpec root path, Class name = j, completed in 607ms, has a truthy return value, Arg 1: {"a":false,"b":null}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 02:05:58.668: Get Active Interpreter, Class name = x, completed in 625ms, has a truthy return value, Arg 1: "/workspaces/py-container2", Return Value: {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:05:58.669: Get Active Interpreter, Class name = x, completed in 35ms, has a truthy return value, Arg 1: undefined, Return Value: {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:05:58.670: interpreterPackages getPackageInformation, Class name = r (started execution), Arg 1: {"interpreter":{"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","external":"file:///opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}}
debug 02:05:58.670: Create activated Env, Class name = w (started execution), Arg 1: {"allowEnvironmentFetchExceptions":true,"interpreter":{"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","external":"file:///opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}}
debug 02:05:58.670: Getting activated env variables, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>, Arg 3: true
debug 02:05:58.670: Getting activated env variables impl, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>
debug 02:05:58.670: Getting activated env variables ourselves, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>
debug 02:05:58.670: getCondaEnvVariables, Class name = K (started execution)
debug 02:05:58.670: getCondaVersion, Class name = k (started execution)
debug 02:05:58.670: Got activation Env Vars without any caching. Key is /workspaces/py-container2_/opt/conda/bin/python
debug 02:05:58.670: Getting activated env variables from Python, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>
debug 02:05:58.670: Get Custom Env Variables, Class name = S (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 02:05:58.671: getCondaVersion, Class name = k, completed in 1ms, has a truthy return value
debug 02:05:58.671: Get Interpreter details, Class name = x (started execution), Arg 1: "/opt/conda/bin/python"
debug 02:05:58.674: Get Custom Env Variables, Class name = S, completed in 4ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 02:05:58.674: Interpreter details for /opt/conda/bin/python from Python is {"internal":{"path":"/opt/conda/bin/python","id":"/opt/conda/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/conda"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/opt/conda","scheme":"file"}},"version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"tools":["Conda"]},"id":"/opt/conda/bin/python"} and our mapping is {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:05:58.674: Get Interpreter details, Class name = x, completed in 3ms, has a truthy return value, Arg 1: "/opt/conda/bin/python"
debug 02:05:58.674: Create ProcessService, Class name = h (started execution), Arg 1: undefined
debug 02:05:58.674: Get Custom Env Variables, Class name = S (started execution), Arg 1: undefined, Arg 2: "RunNonPythonCode"
debug 02:05:58.675: Getting env activation commands, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>
debug 02:05:58.675: Getting activation commands for file:///opt/conda/bin/python
debug 02:05:58.675: Getting activation commands for file:///opt/conda/bin/python are cached.
debug 02:05:58.675: Get Custom Env Variables, Class name = S (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 02:05:58.675: Getting env activation commands, Class name = K, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>
debug 02:05:58.676: Get Custom Env Variables, Class name = S, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 02:05:58.685: Not Searching for kernels as path does not exist, /usr/share/jupyter/kernels
debug 02:05:58.685: Not Searching for kernels as path does not exist, /usr/local/share/jupyter/kernels
debug 02:05:58.685: Not Searching for kernels as path does not exist, /home/vscode/.local/share/jupyter/kernels
error 02:05:58.706: Error fetching remote kernels: [FetchError: request to http://localhost:8888/api/kernels?1669082758398 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
	at ClientRequest.<anonymous> (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:17:566135)
	at ClientRequest.emit (node:events:526:28)
	at Socket.socketErrorListener (node:_http_client:442:9)
	at Socket.emit (node:events:526:28)
	at emitErrorNT (node:internal/streams/destroy:157:8)
	at emitErrorCloseNT (node:internal/streams/destroy:122:3)
	at processTicksAndRejections (node:internal/process/task_queues:83:21)]
debug 02:05:58.706: Disposing session manager
debug 02:05:58.706: SessionManager - dispose contents manager
debug 02:05:58.706: ShutdownSessionAndConnection - dispose session manager
error 02:05:58.707: Error fetching remote kernels: [FetchError: request to http://localhost:46331/api/kernels?1669082758399 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:46331
	at ClientRequest.<anonymous> (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:17:566135)
	at ClientRequest.emit (node:events:526:28)
	at Socket.socketErrorListener (node:_http_client:442:9)
	at Socket.emit (node:events:526:28)
	at emitErrorNT (node:internal/streams/destroy:157:8)
	at emitErrorCloseNT (node:internal/streams/destroy:122:3)
	at processTicksAndRejections (node:internal/process/task_queues:83:21)]
debug 02:05:58.707: Disposing session manager
debug 02:05:58.707: SessionManager - dispose contents manager
debug 02:05:58.707: ShutdownSessionAndConnection - dispose session manager
error 02:05:58.707: Error fetching remote kernels: [FetchError: request to http://localhost:44891/api/kernels?1669082758401 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:44891
	at ClientRequest.<anonymous> (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:17:566135)
	at ClientRequest.emit (node:events:526:28)
	at Socket.socketErrorListener (node:_http_client:442:9)
	at Socket.emit (node:events:526:28)
	at emitErrorNT (node:internal/streams/destroy:157:8)
	at emitErrorCloseNT (node:internal/streams/destroy:122:3)
	at processTicksAndRejections (node:internal/process/task_queues:83:21)]
debug 02:05:58.707: Disposing session manager
debug 02:05:58.707: SessionManager - dispose contents manager
debug 02:05:58.707: ShutdownSessionAndConnection - dispose session manager
debug 02:05:58.734: Get Custom Env Variables, Class name = S, completed in 60ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunNonPythonCode"
debug 02:05:58.734: Create ProcessService, Class name = h, completed in 60ms, has a truthy return value, Arg 1: undefined
debug 02:05:58.734: Activation Commands received conda activate base for shell bash
debug 02:05:58.734: Has Custom Env Vars
debug 02:05:58.734: Activating Environment to capture Environment variables, conda activate base && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py
debug 02:05:58.734: Execing shell command, Class name = f (started execution), Arg 1: "~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py", Arg 2: ""
debug 02:05:58.790: Finished disposing jupyter session manager
error 02:05:58.791: UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://localhost:8888/api/kernels?1669082758398 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
	at ClientRequest.<anonymous> (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:17:566135)
	at ClientRequest.emit (node:events:526:28)
	at Socket.socketErrorListener (node:_http_client:442:9)
	at Socket.emit (node:events:526:28)
	at emitErrorNT (node:internal/streams/destroy:157:8)
	at emitErrorCloseNT (node:internal/streams/destroy:122:3)
	at processTicksAndRejections (node:internal/process/task_queues:83:21)]
debug 02:05:58.791: UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
error 02:05:58.792: SessionManager:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at e.dispose (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:171274)
	at dispose (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:62918)
	at u.dispose (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:2008491)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async b.listKernelsFromConnection (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:1862509)]
debug 02:05:58.793: Finished disposing jupyter session manager
error 02:05:58.793: UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://localhost:46331/api/kernels?1669082758399 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:46331
	at ClientRequest.<anonymous> (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:17:566135)
	at ClientRequest.emit (node:events:526:28)
	at Socket.socketErrorListener (node:_http_client:442:9)
	at Socket.emit (node:events:526:28)
	at emitErrorNT (node:internal/streams/destroy:157:8)
	at emitErrorCloseNT (node:internal/streams/destroy:122:3)
	at processTicksAndRejections (node:internal/process/task_queues:83:21)]
debug 02:05:58.793: UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
error 02:05:58.793: SessionManager:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at e.dispose (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:171274)
	at dispose (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:62918)
	at u.dispose (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:2008491)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async b.listKernelsFromConnection (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:1862509)]
debug 02:05:58.794: Finished disposing jupyter session manager
error 02:05:58.794: UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://localhost:44891/api/kernels?1669082758401 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:44891
	at ClientRequest.<anonymous> (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:17:566135)
	at ClientRequest.emit (node:events:526:28)
	at Socket.socketErrorListener (node:_http_client:442:9)
	at Socket.emit (node:events:526:28)
	at emitErrorNT (node:internal/streams/destroy:157:8)
	at emitErrorCloseNT (node:internal/streams/destroy:122:3)
	at processTicksAndRejections (node:internal/process/task_queues:83:21)]
debug 02:05:58.794: UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
error 02:05:58.794: SessionManager:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at e.dispose (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:171274)
	at dispose (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:62918)
	at u.dispose (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:2008491)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async b.listKernelsFromConnection (/home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/out/extension.node.js:2:1862509)]
debug 02:05:59.237: Failed to get activated environment variables ourselves [Error: Command failed: conda activate base && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.

	at ChildProcess.exithandler (node:child_process:399:12)
	at ChildProcess.emit (node:events:526:28)
	at maybeClose (node:internal/child_process:1092:16)
	at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)] {
  killed: false,
  code: 1,
  signal: null,
  cmd: "conda activate base && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py"
}
error 02:05:59.238: Execing shell command, Class name = f, completed in 503ms, has a falsy return value, Arg 1: "~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py", Arg 2: "" [Error: Command failed: conda activate base && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.

	at ChildProcess.exithandler (node:child_process:399:12)
	at ChildProcess.emit (node:events:526:28)
	at maybeClose (node:internal/child_process:1092:16)
	at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)] {
  killed: false,
  code: 1,
  signal: null,
  cmd: "conda activate base && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py"
}
debug 02:05:59.238: getCondaEnvVariables, Class name = K, completed in 568ms, has a falsy return value
debug 02:05:59.239: getCondaEnvVariables and send telemetry took: 569ms
debug 02:05:59.239: Getting activated env variables ourselves, Class name = K, completed in 569ms, has a falsy return value, Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>
debug 02:05:59.239: Got env vars ourselves /opt/conda/bin/python in 569ms with 0 variables
debug 02:05:59.239: Getting activated env variables impl, Class name = K, completed in 569ms, has a falsy return value, Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>
debug 02:05:59.239: Getting activated env variables, Class name = K, completed in 569ms, has a falsy return value, Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>, Arg 3: true
debug 02:05:59.239: Create ProcessService, Class name = h (started execution), Arg 1: undefined
debug 02:05:59.240: Get Custom Env Variables, Class name = S (started execution), Arg 1: undefined, Arg 2: "RunNonPythonCode"
debug 02:05:59.240: Cached data exists getEnvironmentVariables, <No Resource>
debug 02:05:59.240: Get Custom Env Variables, Class name = S, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunNonPythonCode"
debug 02:05:59.240: Create ProcessService, Class name = h, completed in 1ms, has a truthy return value, Arg 1: undefined
debug 02:05:59.240: Creating execution process, Class name = w, completed in 1ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"fsPath":"/opt/conda","path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/conda","path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","external":"file:///opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}}, Return Value: {}
debug 02:05:59.240: Create activated Env, Class name = w, completed in 570ms, has a truthy return value, Arg 1: {"allowEnvironmentFetchExceptions":true,"interpreter":{"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"fsPath":"/opt/conda","path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/conda","path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","external":"file:///opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}}
info 02:05:59.247: Process Execution: > /opt/conda/bin/python -m pip list
> /opt/conda/bin/python -m pip list
debug 02:05:59.520: getCondaVersionFromPython, Class name = k, completed in 1472ms, has a truthy return value
debug 02:05:59.583: Full interpreter list after refreshing (total 1534ms, resolve 595ms, refresh 939ms) is length: 2, /usr/bin/python3:undefined::/usr/bin/python3:/usr/bin/python3, /opt/conda/bin/python:base:Conda:/opt/conda/bin/python:/opt/conda/bin/python
debug 02:05:59.584: Python environment for /opt/conda/bin/python is /opt/conda/bin/python from Python Extension API is {"internal":{"path":"/opt/conda/bin/python","id":"/opt/conda/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/conda"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/opt/conda","scheme":"file"}},"version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"tools":["Conda"]},"id":"/opt/conda/bin/python"} and translated is {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:05:59.591: Python environment for /usr/bin/python3 is /usr/bin/python3 from Python Extension API is {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":9,"micro":2,"release":{"level":"final","serial":0},"sysVersion":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"},"tools":[]},"id":"/usr/bin/python3"} and translated is {"id":"/usr/bin/python3","sysPrefix":"/usr","displayPath":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"envName":"","uri":{"$mid":1,"fsPath":"/usr/bin/python3","path":"/usr/bin/python3","scheme":"file"},"displayName":"","envType":"Unknown","version":{"major":3,"minor":9,"patch":2,"raw":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"}}
debug 02:05:59.591: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2"
debug 02:05:59.592: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2"
debug 02:05:59.594: Get Jupyter Kernel Paths, Class name = j, completed in 2ms, has a truthy return value, Arg 1: "", Return Value:
debug 02:05:59.594: Get Jupyter Kernel Paths, Class name = j, completed in 2ms, has a truthy return value, Arg 1: "", Return Value:
debug 02:05:59.594: Full interpreter list is length: 2, /opt/conda/bin/python:base:Conda:/opt/conda/bin/python, /usr/bin/python3::Unknown:/usr/bin/python3
debug 02:05:59.594: Get KernelSpec root path, Class name = j, completed in 2ms, has a truthy return value, Arg 1: {"a":false,"b":null}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 02:05:59.594: Get KernelSpec root path, Class name = j, completed in 2ms, has a truthy return value, Arg 1: {"a":false,"b":{"j":false,"q":{"a":{"element":{"subscription":{}},"next":{},"prev":{}},"b":{"element":{"subscription":{}},"next":{},"prev":{}},"c":1}}}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 02:05:59.595: Found 2 cached controllers
debug 02:05:59.595: Creating 2 controllers
debug 02:05:59.596: Creating notebook controller for startUsingPythonInterpreter (id=.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher) with name 'base (Python 3.9.12)'
debug 02:05:59.597: Creating notebook controller for startUsingPythonInterpreter (id=.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher) with name 'base (Python 3.9.12)'
debug 02:05:59.598: Creating notebook controller for startUsingPythonInterpreter (id=.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher) with name 'Python 3.9.2'
debug 02:05:59.598: Creating notebook controller for startUsingPythonInterpreter (id=.jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher) with name 'Python 3.9.2'
debug 02:05:59.599: Found 2 cached controllers
debug 02:05:59.599: Creating 2 controllers
debug 02:05:59.599: Found 2 cached controllers
debug 02:05:59.599: Creating 2 controllers
debug 02:05:59.599: Found 2 cached controllers
debug 02:05:59.599: Creating 2 controllers
debug 02:05:59.599: Found 2 cached controllers
debug 02:05:59.599: Creating 2 controllers
debug 02:05:59.599: Found 2 cached controllers
debug 02:05:59.599: Creating 2 controllers
debug 02:05:59.599: Found 2 cached controllers
debug 02:05:59.599: Creating 2 controllers
debug 02:05:59.600: Found 2 cached controllers
debug 02:05:59.600: Creating 2 controllers
debug 02:05:59.601: Get Active Interpreter, Class name = x, completed in 10ms, has a truthy return value, Arg 1: "/workspaces/py-container2", Return Value: {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:05:59.601: Get Active Interpreter, Class name = x, completed in 9ms, has a truthy return value, Arg 1: "/workspaces/py-container2", Return Value: {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
info 02:05:59.601: Preferred Remote kernel for /workspaces/py-container2/test.ipynb is undefined
debug 02:05:59.614: Loading kernelspec from /opt/conda/share/jupyter/kernels/python3/kernel.json for /opt/conda/bin/python
debug 02:05:59.619: Getting Jupyter KernelSpec Root Path, Class name = j, completed in 0ms, has a truthy return value, , Return Value: <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 02:05:59.619: Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe', /opt/conda/bin/python
debug 02:05:59.620: Found 2 cached controllers
debug 02:05:59.620: Creating 2 controllers
debug 02:05:59.702: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2/test.ipynb"
debug 02:05:59.703: Get Active Interpreter, Class name = x, completed in 1ms, has a truthy return value, Arg 1: "/workspaces/py-container2/test.ipynb", Return Value: {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:05:59.703: Rank Kernels, Class name = p (started execution), Arg 1: "/workspaces/py-container2/test.ipynb", Arg 2: "", Arg 3: {"orig_nbformat":4,"language_info":{"name":"python"}}, Arg 4: <Uri:/opt/conda/bin/python>, Arg 5: "", Arg 6: undefined
info 02:05:59.703: Preferred Remote kernel for /workspaces/py-container2/test.ipynb is undefined
info 02:05:59.704: Find preferred kernel for /workspaces/py-container2/test.ipynb with metadata {"orig_nbformat":4,"language_info":{"name":"python"}} & preferred interpreter /opt/conda/bin/python
debug 02:05:59.705: Rank Kernels, Class name = p, completed in 2ms, has a truthy return value, Arg 1: "/workspaces/py-container2/test.ipynb", Arg 2: "", Arg 3: {"orig_nbformat":4,"language_info":{"name":"python"}}, Arg 4: <Uri:/opt/conda/bin/python>, Arg 5: "", Arg 6: undefined
info 02:05:59.705: Preferred Remote kernel for /workspaces/py-container2/test.ipynb is undefined
info 02:05:59.705: Preferred kernel .jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher is exact match or top match for non python kernels, (false, [object Object], false, false)
info 02:05:59.707: PreferredConnection: .jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher found for NotebookDocument: /workspaces/py-container2/test.ipynb
debug 02:05:59.707: TargetController found ID: startUsingPythonInterpreter:.jvsc74a57bd0d4d1e4263499bec80672ea0156c357c1ee493ec2b1c70f0acce89fc37c4a6abe./opt/conda/python./opt/conda/python.-m#ipykernel_launcher for document /workspaces/py-container2/test.ipynb
debug 02:05:59.741: Compute Preferred Controller, Class name = k, completed in 37ms, has a truthy return value, Arg 1: <Uri:/workspaces/py-container2/test.ipynb>, Arg 2: undefined, Arg 3: {"a":false,"b":{"j":false,"q":{"a":{},"b":{},"c":0}}}, Return Value: <Return value cannot be serialized for logging>
debug 02:06:00.023: _jupyterPythonPathFunction: "file:///workspaces/py-container2" is not a notebook
debug 02:06:00.024: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2/test.ipynb"
debug 02:06:00.025: Get Active Interpreter, Class name = x, completed in 1ms, has a truthy return value, Arg 1: "/workspaces/py-container2/test.ipynb", Return Value: {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:06:00.026: _jupyterPythonPathFunction: Giving Pylance "/opt/conda/bin/python" as python path for "file:///workspaces/py-container2/test.ipynb"
debug 02:06:00.137: interpreterPackages getPackageInformation, Class name = r, completed in 1467ms, has a falsy return value, Arg 1: {"interpreter":{"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"fsPath":"/opt/conda","path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/conda","path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","external":"file:///opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}}
info 02:06:01.063: Got env vars with python /opt/conda/bin/python, with env var count 40 and custom env var count 34 in 2393ms
debug 02:06:01.063: Getting activated env variables from Python, Class name = K, completed in 2393ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/opt/conda/bin/python>
debug 02:06:01.063: Got env vars with python /opt/conda/bin/python in 2393ms with 40 variables

Python
Experiment 'pythonPromptNewToolsExtNonExistantcf' is active
[DEBUG 2022-10-22 2:5:58.415]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:58.417]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:58.417]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:58.427]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:58.427]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:58.442]: Waiting for test server to start...
LSP Notebooks experiment is enabled
LSP Notebooks interactive window support is enabled
[INFO 2022-10-22 2:5:58.448]: [
  'Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined'
]
[INFO 2022-10-22 2:5:58.449]: [
  'Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined'
]
[INFO 2022-10-22 2:5:58.643]: [
  'Display locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined'
]
[DEBUG 2022-10-22 2:5:58.645]: Searching for conda.
[DEBUG 2022-10-22 2:5:58.646]: Probing conda binary: conda
[DEBUG 2022-10-22 2:5:58.665]: Test server started.
[DEBUG 2022-10-22 2:5:58.665]: Testing: Setting up watcher for /workspaces/py-container2
[DEBUG 2022-10-22 2:5:58.666]: Searching for workspace virtual envs in: /workspaces/py-container2
[INFO 2022-10-22 2:5:58.666]: Environments added to cache [{"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python3","sysPrefix":"/usr","ctime":1669073868097,"mtime":1617624048000},"display":"Python 3.9.2 64-bit","version":{"major":3,"minor":9,"micro":2,"release":{"level":"final","serial":0},"sysVersion":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python3","detailedDisplayName":"Python 3.9.2 64-bit"},{"name":"base","location":"/opt/conda","kind":"virt-conda","executable":{"filename":"/opt/conda/bin/python","sysPrefix":"/opt/conda","ctime":1669074047977,"mtime":1655134608000},"display":"Python 3.9.12 ('base')","version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/opt/conda/bin/python","detailedDisplayName":"Python 3.9.12 ('base': conda)"}]
> conda info --json
[DEBUG 2022-10-22 2:5:58.686]: Searching for workspace virtual envs in: /workspaces/py-container2
Python interpreter path: /opt/conda/bin/python
[INFO 2022-10-22 2:5:58.800]: Environments added to cache [{"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python3","sysPrefix":"/usr","ctime":1669073868097,"mtime":1617624048000},"display":"Python 3.9.2 64-bit","version":{"major":3,"minor":9,"micro":2,"release":{"level":"final","serial":0},"sysVersion":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python3","detailedDisplayName":"Python 3.9.2 64-bit"},{"name":"base","location":"/opt/conda","kind":"virt-conda","executable":{"filename":"/opt/conda/bin/python","sysPrefix":"/opt/conda","ctime":1669074047977,"mtime":1655134608000},"display":"Python 3.9.12 ('base')","version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/opt/conda/bin/python","detailedDisplayName":"Python 3.9.12 ('base': conda)"}]
[INFO 2022-10-22 2:5:58.814]: Found: /usr/bin/python3 --> /usr/bin/python3.9
[INFO 2022-10-22 2:5:58.814]: Found: /usr/bin/python3.9 --> /usr/bin/python3.9
[INFO 2022-10-22 2:5:58.828]: Found: /opt/conda/bin/python --> /opt/conda/bin/python3.9
[INFO 2022-10-22 2:5:58.828]: Found: /opt/conda/bin/python3 --> /opt/conda/bin/python3.9
[INFO 2022-10-22 2:5:58.829]: Found: /opt/conda/bin/python3.9 --> /opt/conda/bin/python3.9
[DEBUG 2022-10-22 2:5:58.837]: Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange
[DEBUG 2022-10-22 2:5:58.844]: Extension ms-toolsai.jupyter accessed getEnvironmentVariables
[DEBUG 2022-10-22 2:5:58.844]: Extension ms-toolsai.jupyter accessed onDidChangeActiveEnvironmentPath
[DEBUG 2022-10-22 2:5:58.846]: Extension ms-toolsai.jupyter accessed onDidChangeEnvironments
[DEBUG 2022-10-22 2:5:58.847]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
[DEBUG 2022-10-22 2:5:58.878]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:5:58.881]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:5:58.881]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:5:58.886]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:5:58.892]: Extension ms-toolsai.jupyter accessed getEnvironmentVariables
[DEBUG 2022-10-22 2:5:58.893]: Extension ms-toolsai.jupyter accessed getEnvironmentVariables
[DEBUG 2022-10-22 2:5:58.894]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:5:58.896]: Extension ms-toolsai.jupyter accessed getEnvironmentVariables
[DEBUG 2022-10-22 2:5:58.896]: Extension ms-python.isort accessed onDidChangeActiveEnvironmentPath
[DEBUG 2022-10-22 2:5:58.896]: Extension ms-python.isort accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:5:58.896]: Extension ms-python.isort accessed resolveEnvironment
[DEBUG 2022-10-22 2:5:58.897]: Extension ms-python.isort accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:5:58.897]: Extension ms-python.isort accessed resolveEnvironment
[DEBUG 2022-10-22 2:5:58.897]: Extension ms-python.isort accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:5:58.902]: Extension ms-python.isort accessed resolveEnvironment
[DEBUG 2022-10-22 2:5:58.902]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[INFO 2022-10-22 2:5:58.928]: Found interpreter for /usr/bin/python3,/home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py,/home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
[DEBUG 2022-10-22 2:5:59.519]: conda info --json: {
  "GID": 1000,
  "UID": 1000,
  "active_prefix": null,
  "active_prefix_name": null,
  "av_data_dir": "/opt/conda/etc/conda",
  "av_metadata_url_base": null,
  "channels": [
    "https://repo.anaconda.com/pkgs/main/linux-64",
    "https://repo.anaconda.com/pkgs/main/noarch",
    "https://repo.anaconda.com/pkgs/r/linux-64",
    "https://repo.anaconda.com/pkgs/r/noarch"
  ],
  "conda_build_version": "3.21.8",
  "conda_env_version": "4.12.0",
  "conda_location": "/opt/conda/lib/python3.9/site-packages/conda",
  "conda_prefix": "/opt/conda",
  "conda_private": false,
  "conda_shlvl": 0,
  "conda_version": "4.12.0",
  "config_files": [],
  "default_prefix": "/opt/conda",
  "env_vars": {
    "CIO_TEST": "<not set>",
    "CONDA_EXE": "/opt/conda/bin/conda",
    "CONDA_PYTHON_EXE": "/opt/conda/bin/python",
    "CONDA_ROOT": "/opt/conda",
    "CONDA_SHLVL": "0",
    "CURL_CA_BUNDLE": "<not set>",
    "PATH": "/vscode/vscode-server-insiders/bin/linux-x64/fef85ea792f6627c83024d1df726ca729d8c9cb3-insider/bin/remote-cli:/opt/conda/condabin:/usr/local/share/nvm/current/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
    "PYTHONIOENCODING": "utf-8",
    "PYTHONUNBUFFERED": "1",
    "REQUESTS_CA_BUNDLE": "<not set>",
    "SSL_CERT_FILE": "<not set>"
  },
  "envs": [
    "/opt/conda"
  ],
  "envs_dirs": [
    "/opt/conda/envs",
    "/home/vscode/.conda/envs"
  ],
  "netrc_file": null,
  "offline": false,
  "pkgs_dirs": [
    "/opt/conda/pkgs",
    "/home/vscode/.conda/pkgs"
  ],
  "platform": "linux-64",
  "python_version": "3.9.12.final.0",
  "rc_path": "/home/vscode/.condarc",
  "requests_version": "2.27.1",
  "root_prefix": "/opt/conda",
  "root_writable": true,
  "site_dirs": [],
  "sys.executable": "/opt/conda/bin/python",
  "sys.prefix": "/opt/conda",
  "sys.version": "3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]",
  "sys_rc_path": "/opt/conda/.condarc",
  "user_agent": "conda/4.12.0 requests/2.27.1 CPython/3.9.12 Linux/<IP_ADDRESS>-microsoft-standard-WSL2 debian/11 glibc/2.31",
  "user_rc_path": "/home/vscode/.condarc",
  "virtual_pkgs": [
    [
      "__linux",
      "<IP_ADDRESS>",
      "0"
    ],
    [
      "__glibc",
      "2.31",
      "0"
    ],
    [
      "__unix",
      "0",
      "0"
    ],
    [
      "__archspec",
      "1",
      "x86_64"
    ]
  ]
}

[DEBUG 2022-10-22 2:5:59.519]: Found conda via filesystem probing: conda
[DEBUG 2022-10-22 2:5:59.519]: Searching for conda environments using conda
[DEBUG 2022-10-22 2:5:59.519]: Cached data exists KeyPrefix=Cache_Method_Output_y.getInfoImpl-Args="conda"
[DEBUG 2022-10-22 2:5:59.519]: Cached data exists KeyPrefix=Cache_Method_Output_y.getCondaVersion-Args=
[DEBUG 2022-10-22 2:5:59.520]: Looking into conda env for executable: {"prefix":"/opt/conda","name":"base"}
[DEBUG 2022-10-22 2:5:59.520]: Has Custom Env Vars
[DEBUG 2022-10-22 2:5:59.520]: Activating Environment to capture Environment variables, conda run -n base --no-capture-output python /home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py /home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/printEnvVariables.py
> conda run -n base --no-capture-output python ~/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/printEnvVariables.py
[DEBUG 2022-10-22 2:5:59.530]: Found executable within conda env {"prefix":"/opt/conda","name":"base"}
[DEBUG 2022-10-22 2:5:59.530]: Found conda executable: /opt/conda/bin/python
> /opt/conda/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
[INFO 2022-10-22 2:5:59.576]: Found interpreter for /opt/conda/bin/python,/home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py,/home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
[INFO 2022-10-22 2:5:59.577]: Environments added to cache [{"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python3","sysPrefix":"/usr","ctime":1669073868097,"mtime":1617624048000},"display":"Python 3.9.2 64-bit","version":{"major":3,"minor":9,"micro":2,"release":{"level":"final","serial":0},"sysVersion":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python3","detailedDisplayName":"Python 3.9.2 64-bit"},{"name":"base","location":"/opt/conda","kind":"virt-conda","executable":{"filename":"/opt/conda/bin/python","sysPrefix":"/opt/conda","ctime":1669074047977,"mtime":1655134608000},"display":"Python 3.9.12 ('base')","version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/opt/conda/bin/python","detailedDisplayName":"Python 3.9.12 ('base': conda)"}]
[INFO 2022-10-22 2:5:59.577]: [
  'Hide locator refreshing progress, Class name = g, completed in 0ms, has a falsy return value, , Return Value: undefined'
]
[DEBUG 2022-10-22 2:5:59.578]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:59.578]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:59.578]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:59.579]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:59.579]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:59.580]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:59.580]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:5:59.701]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
[DEBUG 2022-10-22 2:5:59.743]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:5:59.745]: Extension ms-toolsai.jupyter accessed refreshEnvironments
[DEBUG 2022-10-22 2:5:59.745]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:5:59.746]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:5:59.747]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:5:59.747]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:5:59.748]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:5:59.749]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:5:59.751]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:5:59.751]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:5:59.752]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:5:59.754]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:5:59.754]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:5:59.766]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:5:59.767]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[INFO 2022-10-22 2:6:0.10]: [
  'Starting language server, Class name = d, completed in 403ms, has a falsy return value, , Return Value: undefined'
]
Starting Pylance language server.
[DEBUG 2022-10-22 2:6:0.16]: [object Object]. Shell identified as undefined
[DEBUG 2022-10-22 2:6:0.16]: Shell path '/bin/bash', base path '/bin/bash'
[DEBUG 2022-10-22 2:6:0.16]: Shell path identified as shell 'bash'
[DEBUG 2022-10-22 2:6:0.16]: Terminal shell path '/bin/bash' identified as shell 'bash'
[DEBUG 2022-10-22 2:6:0.16]: [object Object]. Shell identified as bash
[DEBUG 2022-10-22 2:6:0.16]: Shell identified as 'bash'
[DEBUG 2022-10-22 2:6:0.17]: Cached data exists KeyPrefix=Cache_Method_Output_y.getCondaVersion-Args=
[DEBUG 2022-10-22 2:6:0.17]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:6:0.17]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:6:0.17]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/workspaces/py-container2"-Arg-Separator-undefined
Jupyter provided interpreter path override: /opt/conda/bin/python
[DEBUG 2022-10-22 2:6:0.46]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:6:0.47]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[INFO 2022-10-22 2:6:1.62]: [
  'parseEnvironmentOutput, Class name = O, completed in 0ms, has a truthy return value'
]
[INFO 2022-10-22 2:6:1.62]: [
  'getActivatedEnvironmentVariables, Class name = O, completed in 2391ms, has a truthy return value, Arg 1: undefined, Arg 2: {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":"/opt/conda","displayPath":{"$mid":1,"fsPath":"/opt/conda","path":"/opt/conda","scheme":"file"},"envName":"base","displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \\n[GCC 7.5.0]"},"path":"/opt/conda/bin/python"}, Arg 3: false'
]
[DEBUG 2022-10-22 2:6:2.835]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
[DEBUG 2022-10-22 2:6:3.569]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
[DEBUG 2022-10-22 2:6:10.140]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
[DEBUG 2022-10-22 2:6:10.513]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
[DEBUG 2022-10-22 2:7:38.305]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
[DEBUG 2022-10-22 2:7:38.683]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"

** Creation **
After the creation, I got a notifcation from Python

Jupyter
debug 02:08:40.679: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2/test.ipynb"
debug 02:08:40.685: Get Active Interpreter, Class name = x, completed in 6ms, has a truthy return value, Arg 1: "/workspaces/py-container2/test.ipynb", Return Value: {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:10:55.325: Get Interpreter details, Class name = x (started execution), Arg 1: <Uri:/workspaces/py-container2/.venv/bin/python>
warn 02:10:55.326: No interpreter with path /workspaces/py-container2/.venv/bin/python found in Python API, will convert Uri path to string as Id file:///workspaces/py-container2/.venv/bin/python
debug 02:10:55.387: Detected change in Active Python environment via Python API
debug 02:10:55.388: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2"
debug 02:10:55.388: Get Active Interpreter, Class name = x (started execution), Arg 1: undefined
debug 02:10:55.390: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2"
debug 02:10:55.390: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2"
debug 02:10:55.394: Get Jupyter Kernel Paths, Class name = j, completed in 4ms, has a truthy return value, Arg 1: "", Return Value:
debug 02:10:55.394: Get Jupyter Kernel Paths, Class name = j, completed in 4ms, has a truthy return value, Arg 1: "", Return Value:
debug 02:10:55.395: Get KernelSpec root path, Class name = j, completed in 5ms, has a truthy return value, Arg 1: {"a":false,"b":null}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 02:10:55.396: Get KernelSpec root path, Class name = j, completed in 6ms, has a truthy return value, Arg 1: {"a":false,"b":null}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/vscode/.local/share/jupyter/kernels>
debug 02:10:55.426: _jupyterPythonPathFunction: "file:///workspaces/py-container2" is not a notebook
debug 02:10:55.432: Get Active Interpreter, Class name = x (started execution), Arg 1: "/workspaces/py-container2/test.ipynb"
debug 02:10:55.475: Detected change in Python environments via Python API
debug 02:10:55.479: Full interpreter list after refreshing (total 1ms, resolve 1ms, refresh 0ms) is length: 3, /usr/bin/python3:undefined::/usr/bin/python3:/usr/bin/python3, /opt/conda/bin/python:base:Conda:/opt/conda/bin/python:/opt/conda/bin/python, /workspaces/py-container2/.venv/bin/python:.venv:Venv:/workspaces/py-container2/.venv/bin/python:/workspaces/py-container2/.venv/bin/python
debug 02:10:55.480: Get Interpreter details, Class name = x, completed in 155ms, has a truthy return value, Arg 1: <Uri:/workspaces/py-container2/.venv/bin/python>
debug 02:10:55.481: Python environment for /usr/bin/python3 is /usr/bin/python3 from Python Extension API is {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"fsPath":"/usr/bin/python3","path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":9,"micro":2,"release":{"level":"final","serial":0},"sysVersion":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"},"tools":[]},"id":"/usr/bin/python3"} and translated is {"id":"/usr/bin/python3","sysPrefix":"/usr","displayPath":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"envName":"","uri":{"$mid":1,"fsPath":"/usr/bin/python3","path":"/usr/bin/python3","scheme":"file"},"displayName":"","envType":"Unknown","version":{"major":3,"minor":9,"patch":2,"raw":"3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"}}
debug 02:10:55.481: Python environment for /opt/conda/bin/python is /opt/conda/bin/python from Python Extension API is {"internal":{"path":"/opt/conda/bin/python","id":"/opt/conda/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/conda"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/opt/conda","scheme":"file"}},"version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"tools":["Conda"]},"id":"/opt/conda/bin/python"} and translated is {"id":"/opt/conda/bin/python","sysPrefix":"/opt/conda","envPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"displayPath":{"$mid":1,"path":"/opt/conda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/conda/bin/python","path":"/opt/conda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:10:55.481: Python environment for /workspaces/py-container2/.venv/bin/python is /workspaces/py-container2/.venv/bin/python from Python Extension API is {"internal":{"path":"/workspaces/py-container2/.venv/bin/python","id":"/workspaces/py-container2/.venv/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/workspaces/py-container2/.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"/workspaces/py-container2","external":"file:///workspaces/py-container2","path":"/workspaces/py-container2","scheme":"file"},"name":"py-container2","index":0}},"version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"tools":["Venv"]},"id":"/workspaces/py-container2/.venv/bin/python"} and translated is {"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:10:55.481: Full interpreter list is length: 3, /usr/bin/python3::Unknown:/usr/bin/python3, /opt/conda/bin/python:base:Conda:/opt/conda/bin/python, /workspaces/py-container2/.venv/bin/python:.venv:Venv:/workspaces/py-container2/.venv/bin/python
debug 02:10:55.517: Get Active Interpreter, Class name = x, completed in 127ms, has a truthy return value, Arg 1: "/workspaces/py-container2", Return Value: {"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:10:55.524: Get Active Interpreter, Class name = x, completed in 136ms, has a truthy return value, Arg 1: "/workspaces/py-container2", Return Value: {"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:10:55.526: Get Active Interpreter, Class name = x, completed in 135ms, has a truthy return value, Arg 1: "/workspaces/py-container2", Return Value: {"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:10:55.537: Found 2 cached controllers
debug 02:10:55.537: Creating 2 controllers
debug 02:10:55.552: Get Active Interpreter, Class name = x, completed in 164ms, has a truthy return value, Arg 1: undefined, Return Value: {"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:10:55.552: interpreterPackages getPackageInformation, Class name = r (started execution), Arg 1: {"interpreter":{"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","external":"file:///workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}}
debug 02:10:55.553: Create activated Env, Class name = w (started execution), Arg 1: {"allowEnvironmentFetchExceptions":true,"interpreter":{"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","external":"file:///workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}}
debug 02:10:55.553: Getting activated env variables, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>, Arg 3: true
debug 02:10:55.553: Getting activated env variables impl, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>
debug 02:10:55.553: Getting activated env variables ourselves, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>
debug 02:10:55.553: Get Interpreter details, Class name = x (started execution), Arg 1: "/workspaces/py-container2/.venv/bin/python"
debug 02:10:55.553: Got activation Env Vars without any caching. Key is /workspaces/py-container2_/workspaces/py-container2/.venv/bin/python
debug 02:10:55.553: Getting activated env variables from Python, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>
debug 02:10:55.553: Get Custom Env Variables, Class name = S (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 02:10:55.558: Get Custom Env Variables, Class name = S, completed in 5ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 02:10:55.558: Interpreter details for /workspaces/py-container2/.venv/bin/python from Python is {"internal":{"path":"/workspaces/py-container2/.venv/bin/python","id":"/workspaces/py-container2/.venv/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/workspaces/py-container2/.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"/workspaces/py-container2","external":"file:///workspaces/py-container2","path":"/workspaces/py-container2","scheme":"file"},"name":"py-container2","index":0}},"version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"tools":["Venv"]},"id":"/workspaces/py-container2/.venv/bin/python"} and our mapping is {"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:10:55.558: Get Interpreter details, Class name = x, completed in 5ms, has a truthy return value, Arg 1: "/workspaces/py-container2/.venv/bin/python"
debug 02:10:55.558: Create ProcessService, Class name = h (started execution), Arg 1: undefined
debug 02:10:55.558: Get Custom Env Variables, Class name = S (started execution), Arg 1: undefined, Arg 2: "RunNonPythonCode"
debug 02:10:55.559: Getting env activation commands, Class name = K (started execution), Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>
debug 02:10:55.559: Getting activation commands for file:///workspaces/py-container2/.venv/bin/python
debug 02:10:55.559: Getting activation commands for file:///workspaces/py-container2/.venv/bin/python are not cached. May take a while.
debug 02:10:55.559: Get Custom Env Variables, Class name = S (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 02:10:55.560: Get Custom Env Variables, Class name = S, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 02:10:55.585: Get Custom Env Variables, Class name = S, completed in 27ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunNonPythonCode"
debug 02:10:55.585: Create ProcessService, Class name = h, completed in 27ms, has a truthy return value, Arg 1: undefined
debug 02:10:55.661: Get Active Interpreter, Class name = x, completed in 229ms, has a truthy return value, Arg 1: "/workspaces/py-container2/test.ipynb", Return Value: {"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}
debug 02:10:55.661: _jupyterPythonPathFunction: Giving Pylance "/workspaces/py-container2/.venv/bin/python" as python path for "file:///workspaces/py-container2/test.ipynb"
debug 02:10:55.695: Activation Commands received source /workspaces/py-container2/.venv/bin/activate for shell bash
debug 02:10:55.700: Getting env activation commands, Class name = K, completed in 141ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>
debug 02:10:55.700: Activation Commands received source /workspaces/py-container2/.venv/bin/activate for shell bash
debug 02:10:55.701: Has Custom Env Vars
debug 02:10:55.701: Activating Environment to capture Environment variables, . /workspaces/py-container2/.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/vscode/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py
debug 02:10:55.701: Execing shell command, Class name = f (started execution), Arg 1: "~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py", Arg 2: ""
debug 02:10:55.765: Execing shell command, Class name = f, completed in 64ms, has a truthy return value, Arg 1: "~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.11.1003271029/pythonFiles/printEnvVariables.py", Arg 2: ""
debug 02:10:55.765: parseEnvironmentOutput, Class name = K, completed in 0ms, has a truthy return value
debug 02:10:55.767: Getting activated env variables ourselves, Class name = K, completed in 214ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>
debug 02:10:55.767: Got env vars ourselves /workspaces/py-container2/.venv/bin/python in 214ms with 38 variables
debug 02:10:55.767: Getting activated env variables impl, Class name = K, completed in 214ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>
debug 02:10:55.768: Getting activated env variables, Class name = K, completed in 215ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>, Arg 3: true
debug 02:10:55.768: Create activated Env, Class name = w, completed in 215ms, has a truthy return value, Arg 1: {"allowEnvironmentFetchExceptions":true,"interpreter":{"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv","path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv","path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","external":"file:///workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}}
info 02:10:55.776: Process Execution: > /workspaces/py-container2/.venv/bin/python -m pip list
> /workspaces/py-container2/.venv/bin/python -m pip list
info 02:10:55.782: Got env vars with python /workspaces/py-container2/.venv/bin/python, with env var count 38 and custom env var count 34 in 229ms
debug 02:10:55.783: Getting activated env variables from Python, Class name = K, completed in 230ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/workspaces/py-container2/.venv/bin/python>
debug 02:10:55.783: Got env vars with python /workspaces/py-container2/.venv/bin/python in 230ms with 38 variables
debug 02:11:02.034: interpreterPackages getPackageInformation, Class name = r, completed in 6482ms, has a falsy return value, Arg 1: {"interpreter":{"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv","path":"/workspaces/py-container2/.venv","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv","path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","uri":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv/bin/python","external":"file:///workspaces/py-container2/.venv/bin/python","path":"/workspaces/py-container2/.venv/bin/python","scheme":"file"},"displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"}}}

Python
[DEBUG 2022-10-22 2:7:56.689]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
[DEBUG 2022-10-22 2:8:40.723]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:8:40.724]: Extension ms-toolsai.jupyter accessed resolveEnvironment
Running Env creation script:  [
  '/opt/conda/bin/python',
  '/home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/create_venv.py',
  '--git-ignore',
  '--install'
]
Running: /opt/conda/bin/python -m venv .venv

CREATED_VENV:/workspaces/py-container2/.venv/bin/python

Creating: /workspaces/py-container2/.venv/.gitignore

Running: /workspaces/py-container2/.venv/bin/python -m pip install --upgrade pip

Requirement already satisfied: pip in ./.venv/lib/python3.9/site-packages (22.0.4)

Collecting pip

  Downloading pip-22.3.1-py3-none-any.whl (2.1 MB)

     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 12.5 MB/s eta 0:00:00

Installing collected packages: pip

  Attempting uninstall: pip

    Found existing installation: pip 22.0.4

    Uninstalling pip-22.0.4:

      Successfully uninstalled pip-22.0.4

[DEBUG 2022-10-22 2:10:24.437]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
[DEBUG 2022-10-22 2:10:31.473]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
[DEBUG 2022-10-22 2:10:32.360]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/conda/bin/python"
Successfully installed pip-22.3.1

[DEBUG 2022-10-22 2:10:55.324]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
> ./.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
[DEBUG 2022-10-22 2:10:55.375]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:10:55.375]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:10:55.378]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:10:55.378]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:10:55.380]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:10:55.380]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:10:55.385]: Testing: Triggered refresh due to interpreter change.
[DEBUG 2022-10-22 2:10:55.386]: Testing: Clearing all discovered tests
[DEBUG 2022-10-22 2:10:55.386]: Testing: Forcing test data refresh
[DEBUG 2022-10-22 2:10:55.386]: Testing: Refreshing all test data
[DEBUG 2022-10-22 2:10:55.395]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:10:55.395]: Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/py-container2"-Arg-Separator-undefined
[DEBUG 2022-10-22 2:10:55.399]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:10:55.400]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:10:55.451]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:10:55.452]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:10:55.458]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:10:55.463]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:10:55.464]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:10:55.465]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:10:55.468]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:10:55.469]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[INFO 2022-10-22 2:10:55.473]: Found interpreter for /workspaces/py-container2/.venv/bin/python,/home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py,/home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
[DEBUG 2022-10-22 2:10:55.489]: Extension ms-python.isort accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:10:55.489]: Extension ms-python.isort accessed resolveEnvironment
[DEBUG 2022-10-22 2:10:55.491]: Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:10:55.492]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:10:55.562]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:10:55.563]: Extension ms-toolsai.jupyter accessed refreshEnvironments
[DEBUG 2022-10-22 2:10:55.577]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:10:55.577]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:10:55.579]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:10:55.580]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:10:55.581]: Extension ms-toolsai.jupyter accessed resolveEnvironment
Python interpreter path: ./.venv/bin/python
[DEBUG 2022-10-22 2:10:55.618]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:10:55.618]: Extension ms-toolsai.jupyter accessed known
Jupyter provided interpreter path override: /workspaces/py-container2/.venv/bin/python
[DEBUG 2022-10-22 2:10:55.683]: Extension ms-toolsai.jupyter accessed getEnvironmentVariables
[DEBUG 2022-10-22 2:10:55.688]: Extension ms-toolsai.jupyter accessed known
[DEBUG 2022-10-22 2:10:55.690]: Extension ms-toolsai.jupyter accessed resolveEnvironment
[DEBUG 2022-10-22 2:10:55.691]: Extension ms-toolsai.jupyter accessed getEnvironmentVariables
[DEBUG 2022-10-22 2:10:55.694]: Extension ms-toolsai.jupyter accessed getEnvironmentVariables
[DEBUG 2022-10-22 2:10:55.695]: Activation Commands received source /workspaces/py-container2/.venv/bin/activate for shell bash
[DEBUG 2022-10-22 2:10:55.695]: Has Custom Env Vars
[DEBUG 2022-10-22 2:10:55.695]: Activating Environment to capture Environment variables, . /workspaces/py-container2/.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/vscode/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/printEnvVariables.py
> . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server-insiders/extensions/ms-python.python-2022.18.2/pythonFiles/printEnvVariables.py
[DEBUG 2022-10-22 2:10:55.744]: Extension ms-python.isort accessed getActiveEnvironmentPath
[DEBUG 2022-10-22 2:10:55.744]: Extension ms-python.isort accessed resolveEnvironment
[INFO 2022-10-22 2:10:55.777]: [
  'parseEnvironmentOutput, Class name = O, completed in 1ms, has a truthy return value'
]
[INFO 2022-10-22 2:10:55.781]: [
  'getActivatedEnvironmentVariables, Class name = O, completed in 227ms, has a truthy return value, Arg 1: undefined, Arg 2: {"id":"/workspaces/py-container2/.venv/bin/python","sysPrefix":"/workspaces/py-container2/.venv","envPath":"/workspaces/py-container2/.venv","displayPath":{"$mid":1,"fsPath":"/workspaces/py-container2/.venv","path":"/workspaces/py-container2/.venv","scheme":"file"},"envName":".venv","displayName":".venv","envType":"Venv","version":{"major":3,"minor":9,"patch":12,"raw":"3.9.12 (main, Apr  5 2022, 06:56:58) \\n[GCC 7.5.0]"},"path":"/workspaces/py-container2/.venv/bin/python"}, Arg 3: false'
]
[DEBUG 2022-10-22 2:12:16.667]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/workspaces/py-container2/.venv/bin/python"
[DEBUG 2022-10-22 2:12:17.209]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/workspaces/py-container2/.venv/bin/python"

Open a notebook, click on the kernel picker
Select another kernel...
Local Python Environment
Create Python Environment
Venv

@rebornix I belive you didn't use the recommended python.
You must have used Conda to create the .venv.
Please note, when using conda, the recommendation is to create conda envs. creating virtual Envs from conda environments don't work too well.
I have tried this and it works for me.

@DonJayamanne you are right, I was using Conda to create .venv and I was not picking the recommended python interpreter:

I didn't pick the recommended one due to https://github.com/microsoft/vscode-python/issues/20260
I picked venv as it's the first option and there isn't any warning/suggestion that I should only pick the conda one

For venv option in Create Python Environment, currently it doesn't work at all, even though it's an official Python/Conda dev container.

@DonJayamanne despite the fact that I might be using the wrong interpreter, the venv was created, showed up in the Python interpreter, can show up if we refresh our kernel list, isn't this still a bug that we are not picking the new python environment?

this still a bug that we are not picking the new python environment?

yes yes, agreed
please could you try this again, ive added more logging


setup bug

Hello,
This seems like a fantastic tool, and I'm hoping for my students to use it in the classroom, but I was wondering if it would be possible for you to fix the setup script? When I try to pip install it, I get the error of

Building wheels for collected packages: peaky
Building wheel for peaky (setup.py) ... done
Created wheel for peaky: filename=peaky-1.0.41-py3-none-any.whl size=10012 sha256=6987607f40936218e6f892efa674a6a34e11bda98dc8a5f66dcc419a15157f87
Stored in directory: /tmp/pip-ephem-wheel-cache-b_h8wvo8/wheels/51/65/51/e997cb9aecdaf15543b435f3a2700a57308aa47ca358dd0d66
Successfully built peaky
Installing collected packages: peaky
Successfully installed peaky-1.0.41
WARNING: The following packages were previously imported in this runtime:
[code]
You must restart the runtime in order to use newly installed versions.

and then everything just kind of breaks, and it can't import this module, seems like it can't navigate the directory tree. I was able to hack around it by cloning the repo and importing the script itself, but for students it would be nice if it would be possible to streamline it a bit.
Thanks!

Hi @mkounkel,
I am glad you appreciate the package.
I am not particulalry sure about that that error is and how to solve it. But from a quick online search it seems that the even though the package was installed, the currently running environment won't automatically use the newly installed version. Possible solution:
Restart the Runtime/Environment:
If you're working in an environment like Jupyter Notebook, Google Colab, or another interactive Python environment, you should restart the kernel or runtime. This will reload all the packages, including the newly installed ones.
In Jupyter Notebook, you can do this by going to the menu: Kernel -> Restart Kernel.
After restarting the runtime, you should re-import the peaky package or any other relevant modules. This will ensure that you're using the newly installed version.
By the way, I have updated peaky to version 1.1 from version 1.0, available on both GitHub and PyPi.
I hope this help and let me know f you need further assistance.
All the best,
Savino

It wasn't the issue of restarting the environment, "code" was trying to overwrite some fundamental function within python, which was causing it to break.
But, thank you so much - renaming it fixed it.

Hi , I suspect in the previous version I overwritten the default function round(), which has been renamed in new version.
Hopefully I did not mess the code up.
Thanks for the report.
Savino


[CI] Test TorchMetrics with PL releases

🚀 Feature

The latest TM release introduced a wrong design causing ddp to hang in previous version of PyTorch Lightning.
To avoid this in the future, we should test TM vs N previous of Lightning before realising.
Proposal:

On release CI run a matrix with multiple Lightning version:
- Clone Lightning
- Run Lightning tests with current metric version
- If they all pass, Metric should be backward compatible and can be released !

Motivation

Pitch

Alternatives

Additional context

@Borda Any thoughts on feasibility ?

it is already there, you just need to add a proper test, I mentioned in https://github.com/PyTorchLightning/pytorch-lightning/pull/8231#pullrequestreview-697148399
https://github.com/PyTorchLightning/metrics/blob/master/integrations/test_metric_lightning.py