Python Extension API unable to resolve an environment

Type: Bug

Behaviour
Expected vs. Actual
When calling the API to resolve and environment, it should work.
Steps to reproduce:
Not sure whether I can repro this, but here are the steps

Open VS Code
Create a new conda environment named conda1 (without python)
Opened a notebook
Selected the above environment and ran a cell
The above operation resulted in Python and ipykernel getting installed
THe cell ran to completion, meaning the environment is created successfully

However there are plenty of errors in the Jupyter and Python logs

Jupyter logs indicate that calling resolve fails to return a version
Python logs show that the version cannot be retrieved.

If you observe the logs carefully, when I restart the kernel 2 times after the first successful run, Python Extension still reports that the version cannot be retrieved.

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.12.1
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Pylance

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

XXX

User Settings

condaPath: "<placeholder>"

poetryPath: "<placeholder>"

languageServer: "Pylance"

testing
• pytestArgs: "<placeholder>"
• unittestArgs: "<placeholder>"
• unittestEnabled: true

terminal
• activateEnvironment: false

experiments
• enabled: false
• optInto: ["All"]
• optOutFrom: ["All"]

Extension version: 2024.3.10581547
VS Code version: Code - Insiders 1.87.0-insider (e73419bef379f7956f024557cbf40bd3755a0645, 2024-02-26T14:32:36.968Z)
OS version: Darwin arm64 23.3.0
Modes:

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
5, 9, 8

Memory (System)
64.00GB (0.63GB free)

Process Argv
--crash-reporter-id d19b6a50-98d0-43df-ac88-d48cc944a350

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
vsaa593:30376534
py29gd2263:30784851
vscaat:30438846
c4g48928:30535728
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonidxpt:30768918
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythontestfixt:30866404
pythonregdiag2:30926734
pyreplss1:30879911
pythonmypyd1:30859725
pythoncet0:30859736
h48ei257:30968133
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
bf62j303:30968145
pydisww1:30959800
cppperfnew:30963552
8082a590:30961435
edj9j583:30969294
fegfb526:30952798
bg6jg535:30946824
ccp1r3:30958150
pythonait:30973460
666c4381:30973073

Python Logs
2024-02-28 22:53:33.208 [info] Test server listening.
2024-02-28 22:53:33.208 [info] Python interpreter path: ~/.pyenv/versions/3.12.1/bin/python
2024-02-28 22:53:33.208 [warning] Failed to check if /Users/donjayamanne/miniconda3/envs/xyz/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/donjayamanne/miniconda3/envs/xyz/bin/python'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/donjayamanne/miniconda3/envs/xyz/bin/python'
}
2024-02-28 22:53:33.652 [info] > ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/out/client/x~/miniforge3/bin/conda info --json
2024-02-28 22:53:33.653 [info] > conda info --json
2024-02-28 22:53:41.639 [info] > ~/.conda/bin/conda info --json
2024-02-28 22:53:41.644 [info] > ~/miniconda3/bin/conda info --json
2024-02-28 22:53:48.345 [info] Starting Pylance language server.
2024-02-28 22:53:59.047 [info] > ~/miniconda3/envs/xyz/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:53:59.055 [info] > ~/miniconda3/bin/conda run -n xyz --no-capture-output python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:54:01.160 [error] Error: Command failed: /Users/donjayamanne/miniconda3/bin/conda run -n xyz --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
/var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/tmpfoco70vl: line 3: python: command not found
ERROR conda.cli.main_run:execute(124): `conda run python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py` failed. (See above for error)

    at ChildProcess.exithandler (node:child_process:420:12)
    at ChildProcess.emit (node:events:526:35)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:514:28)
    at Socket.emit (node:domain:489:12)
    at Pipe.<anonymous> (node:net:323:12)
    at Pipe.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 127,
  killed: false,
  signal: null,
  cmd: '/Users/donjayamanne/miniconda3/bin/conda run -n xyz --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py'
}
2024-02-28 22:54:03.161 [info] > ~/miniconda3/envs/xyz/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:54:03.180 [info] > ~/miniconda3/bin/conda run -n xyz --no-capture-output python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:54:04.064 [error] Error: Command failed: /Users/donjayamanne/miniconda3/bin/conda run -n xyz --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
/var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/tmppgq6ypmq: line 3: python: command not found
ERROR conda.cli.main_run:execute(124): `conda run python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py` failed. (See above for error)

    at ChildProcess.exithandler (node:child_process:420:12)
    at ChildProcess.emit (node:events:526:35)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1091:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
    at Process.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 127,
  killed: false,
  signal: null,
  cmd: '/Users/donjayamanne/miniconda3/bin/conda run -n xyz --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py'
}
2024-02-28 22:54:32.313 [error] Dir "/Users/donjayamanne/demo" is not watchable (too many files)
2024-02-28 22:54:32.313 [info] Default formatter is set to null for workspace /Users/donjayamanne/demo
2024-02-28 22:54:32.314 [info] Test server listening.
2024-02-28 22:54:33.559 [info] Python interpreter path: ./.venv310/bin/python
2024-02-28 22:54:34.189 [warning] Failed to check if /Users/donjayamanne/miniconda3/envs/xyz/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/donjayamanne/miniconda3/envs/xyz/bin/python'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/donjayamanne/miniconda3/envs/xyz/bin/python'
}
2024-02-28 22:54:35.891 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:54:35.891 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:54:40.282 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-02-28 22:54:40.323 [info] > ./x/~/miniforge3/bin/conda info --json
2024-02-28 22:54:40.324 [info] > conda info --json
2024-02-28 22:54:40.349 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:54:40.349 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:54:40.349 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:54:40.349 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:54:40.349 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:54:40.349 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:55:12.270 [error] Dir "/Users/donjayamanne/demo" is not watchable (too many files)
2024-02-28 22:55:12.270 [info] Default formatter is set to null for workspace /Users/donjayamanne/demo
2024-02-28 22:55:12.272 [info] Test server listening.
2024-02-28 22:55:13.044 [info] Python interpreter path: ./.venv310/bin/python
2024-02-28 22:55:13.517 [warning] Failed to check if /Users/donjayamanne/miniconda3/envs/xyz/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/donjayamanne/miniconda3/envs/xyz/bin/python'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/donjayamanne/miniconda3/envs/xyz/bin/python'
}
2024-02-28 22:55:19.712 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-02-28 22:55:19.735 [info] > ./x/~/miniforge3/bin/conda info --json
2024-02-28 22:55:19.736 [info] > conda info --json
2024-02-28 22:55:20.467 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:55:20.467 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-02-28 22:56:00.962 [info] > ~/.conda/bin/conda info --json
2024-02-28 22:56:00.973 [info] > ~/miniconda3/bin/conda info --json
2024-02-28 22:56:19.664 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/printEnvVariables.py
2024-02-28 22:56:19.664 [info] shell: bash
2024-02-28 22:56:19.671 [info] > . ./.venv310/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/printEnvVariables.py
2024-02-28 22:56:19.671 [info] shell: bash
2024-02-28 22:56:20.249 [info] Starting Pylance language server.
2024-02-28 22:56:20.862 [info] > ./.venv/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:20.939 [info] > ~/miniconda3/envs/xyz/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:21.069 [info] > ~/miniconda3/bin/conda run -n xyz --no-capture-output python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:21.150 [info] > ~/.pyenv/versions/3.10.13/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:21.258 [info] > ~/.pyenv/versions/3.11.7/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:21.842 [info] > ./.venv310/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:21.900 [info] > ./.venv3117/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:21.965 [info] > ./.venv399/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:22.126 [info] > ./.venvEmpty/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:22.202 [info] > ./.venvIPyKernel/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:22.342 [info] > ./.venvLatest/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:22.445 [info] > ./.venvPandas/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:22.458 [info] > ./.venvPandas2/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:22.514 [info] > ~/.pyenv/versions/3.12.1/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:22.559 [info] > ~/.pyenv/versions/3.9.9/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:22.567 [info] > ~/miniconda3/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:22.683 [info] > /usr/bin/python3 -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:23.821 [error] Error: Command failed: /Users/donjayamanne/miniconda3/bin/conda run -n xyz --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
/var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/tmp__1tungd: line 3: python: command not found
ERROR conda.cli.main_run:execute(124): `conda run python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py` failed. (See above for error)

    at ChildProcess.exithandler (node:child_process:420:12)
    at ChildProcess.emit (node:events:526:35)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:514:28)
    at Socket.emit (node:domain:489:12)
    at Pipe.<anonymous> (node:net:323:12)
    at Pipe.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 127,
  killed: false,
  signal: null,
  cmd: '/Users/donjayamanne/miniconda3/bin/conda run -n xyz --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py'
}
2024-02-28 22:56:25.823 [info] > ~/miniconda3/envs/xyz/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:25.922 [info] > ~/miniconda3/bin/conda run -n xyz --no-capture-output python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 22:56:26.654 [error] Error: Command failed: /Users/donjayamanne/miniconda3/bin/conda run -n xyz --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
/var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/tmp6yi6npdi: line 3: python: command not found
ERROR conda.cli.main_run:execute(124): `conda run python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py` failed. (See above for error)

    at ChildProcess.exithandler (node:child_process:420:12)
    at ChildProcess.emit (node:events:526:35)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:514:28)
    at Socket.emit (node:domain:489:12)
    at Pipe.<anonymous> (node:net:323:12)
    at Pipe.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 127,
  killed: false,
  signal: null,
  cmd: '/Users/donjayamanne/miniconda3/bin/conda run -n xyz --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py'
}
2024-02-28 23:05:07.269 [info] > ~/miniconda3/bin/conda info --json
2024-02-28 23:05:08.798 [warning] Failed to check if /Users/donjayamanne/miniconda3/envs/conda1/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/donjayamanne/miniconda3/envs/conda1/bin/python'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/donjayamanne/miniconda3/envs/conda1/bin/python'
}
2024-02-28 23:05:13.600 [info] > ~/miniconda3/envs/conda1/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 23:05:13.606 [info] > ~/miniconda3/bin/conda run -n conda1 --no-capture-output python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 23:05:14.289 [error] Error: Command failed: /Users/donjayamanne/miniconda3/bin/conda run -n conda1 --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
/var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/tmpxxve3chi: line 3: python: command not found
ERROR conda.cli.main_run:execute(124): `conda run python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py` failed. (See above for error)

    at ChildProcess.exithandler (node:child_process:420:12)
    at ChildProcess.emit (node:events:526:35)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1091:16)
    at Process.onexit (node:internal/child_process:302:5)
    at Process.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 127,
  killed: false,
  signal: null,
  cmd: '/Users/donjayamanne/miniconda3/bin/conda run -n conda1 --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py'
}
2024-02-28 23:05:16.293 [info] > ~/miniconda3/envs/conda1/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 23:05:16.317 [info] > ~/miniconda3/bin/conda run -n conda1 --no-capture-output python -I ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
2024-02-28 23:05:17.225 [error] Error: Command failed: /Users/donjayamanne/miniconda3/bin/conda run -n conda1 --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py
/var/folders/_7/7q__vcg961x5x6k8313dvzq40000gn/T/tmpcging04g: line 3: python: command not found
ERROR conda.cli.main_run:execute(124): `conda run python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py` failed. (See above for error)

    at ChildProcess.exithandler (node:child_process:420:12)
    at ChildProcess.emit (node:events:526:35)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1091:16)
    at Process.onexit (node:internal/child_process:302:5)
    at Process.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 127,
  killed: false,
  signal: null,
  cmd: '/Users/donjayamanne/miniconda3/bin/conda run -n conda1 --no-capture-output python -I /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/get_output_via_markers.py /Users/donjayamanne/.vscode-insiders/extensions/ms-python.python-2024.3.10581547/pythonFiles/interpreterInfo.py'
}
2024-02-28 23:06:45.701 [warning] Failed to check if /Users/donjayamanne/miniconda3/envs/conda1/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/donjayamanne/miniconda3/envs/conda1/bin/python'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/donjayamanne/miniconda3/envs/conda1/bin/python'
}
2024-02-28 23:06:46.266 [warning] Failed to check if /Users/donjayamanne/miniconda3/envs/conda1/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/donjayamanne/miniconda3/envs/conda1/bin/python'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/donjayamanne/miniconda3/envs/conda1/bin/python'
}
2024-02-28 23:06:47.525 [warning] Failed to check if /Users/donjayamanne/miniconda3/envs/conda1/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/donjayamanne/miniconda3/envs/conda1/bin/python'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/donjayamanne/miniconda3/envs/conda1/bin/python'
}
2024-02-28 23:07:33.473 [info] > ~/miniconda3/bin/conda info --json
2024-02-28 23:14:01.735 [debug] Best effort version B for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":1,"micro":-1}
2024-02-28 23:14:01.737 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.739 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.740 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.742 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.743 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.745 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.746 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.748 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.750 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.751 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.759 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.762 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.766 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.768 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.769 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.772 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.773 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.775 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.780 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.780 [debug] Best effort version C for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}}
2024-02-28 23:14:01.790 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.794 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/donjayamanne/miniconda3/envs/conda1","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","executable":{"bitness":"Unknown"},"environment":{"type":"Conda","name":"conda1","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/conda1","scheme":"file"}},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python"}
2024-02-28 23:14:01.799 [debug] Best effort version D for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":12,"micro":2}
2024-02-28 23:14:01.800 [debug] Environment resolver resolved /Users/donjayamanne/miniconda3/envs/conda1/bin/python for {"name":"conda1","location":"/Users/donjayamanne/miniconda3/envs/conda1","kind":"virt-conda","executable":{"filename":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","sysPrefix":"","ctime":1709122056214,"mtime":1709122056214},"display":"Python 3.12.2 ('conda1')","version":{"major":3,"minor":12,"micro":2},"arch":1,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","detailedDisplayName":"Python 3.12.2 ('conda1': conda)"} to undefined
2024-02-28 23:14:01.800 [debug] Resolved /Users/donjayamanne/miniconda3/envs/conda1 using downstream locator
2024-02-28 23:14:01.828 [debug] Best effort version B for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":1,"micro":-1}
2024-02-28 23:14:01.829 [debug] Best effort version B for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":1,"micro":-1}
2024-02-28 23:14:01.832 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.834 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.835 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.837 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.838 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.839 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.841 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/donjayamanne/miniconda3/envs/conda1","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","executable":{"bitness":"Unknown"},"environment":{"type":"Conda","name":"conda1","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/conda1","scheme":"file"}},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python"}
2024-02-28 23:14:01.843 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/donjayamanne/miniconda3/envs/conda1","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","executable":{"bitness":"Unknown"},"environment":{"type":"Conda","name":"conda1","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/conda1","scheme":"file"}},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python"}
2024-02-28 23:14:01.843 [debug] Best effort version C for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}}
2024-02-28 23:14:01.843 [debug] Best effort version C for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}}
2024-02-28 23:14:01.845 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.847 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-28 23:14:01.852 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:14:01.858 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-28 23:14:01.858 [debug] Found cached env for /Users/donjayamanne/demo/.venv310/bin/python
2024-02-28 23:14:01.861 [debug] Best effort version D for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":12,"micro":2}
2024-02-28 23:14:01.861 [debug] Best effort version D for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":12,"micro":2}
2024-02-28 23:14:01.861 [debug] Environment resolver resolved /Users/donjayamanne/miniconda3/envs/conda1/bin/python for {"name":"conda1","location":"/Users/donjayamanne/miniconda3/envs/conda1","kind":"virt-conda","executable":{"filename":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","sysPrefix":"","ctime":1709122056214,"mtime":1709122056214},"display":"Python 3.12.2 ('conda1')","version":{"major":3,"minor":12,"micro":2},"arch":1,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","detailedDisplayName":"Python 3.12.2 ('conda1': conda)"} to undefined
2024-02-28 23:14:01.861 [debug] Resolved /Users/donjayamanne/miniconda3/envs/conda1 using downstream locator
2024-02-28 23:14:01.862 [debug] Environment resolver resolved /Users/donjayamanne/miniconda3/envs/conda1/bin/python for {"name":"conda1","location":"/Users/donjayamanne/miniconda3/envs/conda1","kind":"virt-conda","executable":{"filename":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","sysPrefix":"","ctime":1709122056214,"mtime":1709122056214},"display":"Python 3.12.2 ('conda1')","version":{"major":3,"minor":12,"micro":2},"arch":1,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","detailedDisplayName":"Python 3.12.2 ('conda1': conda)"} to undefined
2024-02-28 23:14:01.863 [debug] Resolved /Users/donjayamanne/miniconda3/envs/conda1 using downstream locator
2024-02-28 23:14:01.906 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-28 23:14:34.573 [debug] Found cached env for /Users/donjayamanne/demo/.venv310/bin/python

Jupyter Logs
Visual Studio Code - Insiders (1.87.0-insider, undefined, desktop)
Jupyter Extension Version: 2024.2.0.
Python Extension Version: 2024.3.10581547.
Pylance Extension Version: 2024.2.104.
Platform: darwin (arm64).
Workspace folder ~/demo, Home = /Users/donjayamanne
22:55:09.612 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
22:55:09.613 [info] Start refreshing Kernel Picker<PHONE_NUMBER>613)
22:55:09.627 [info] Using Pylance
22:55:09.820 [debug] Preferred Remote kernel for ~/demo/sample.ipynb is undefined
22:55:11.880 [debug] API called from ms-toolsai.vscode-jupyter-powertoys
22:55:11.931 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 2530ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
22:55:11.932 [debug] Jupyter Paths /kernels:
22:55:11.933 [debug] Kernel Spec Root Paths, /usr/share/jupyter/kernels, /usr/local/share/jupyter/kernels, ~/Library/Jupyter/kernels
22:55:12.279 [debug] Search for KernelSpecs in Interpreter /usr/bin/python3
22:55:12.283 [debug] Search for KernelSpecs in Interpreter ~/.pyenv/versions/3.10.13/bin/python
22:55:12.287 [debug] Search for KernelSpecs in Interpreter ~/.pyenv/versions/3.11.7/bin/python
22:55:12.290 [debug] Search for KernelSpecs in Interpreter ~/.pyenv/versions/3.12.1/bin/python
22:55:12.296 [debug] Search for KernelSpecs in Interpreter ~/.pyenv/versions/3.9.9/bin/python
22:55:12.299 [debug] Search for KernelSpecs in Interpreter ~/miniconda3/bin/python
22:55:12.303 [debug] Search for KernelSpecs in Interpreter ~/miniconda3/envs/xyz/bin/python
22:55:12.309 [debug] Search for KernelSpecs in Interpreter ~/demo/.venv310/bin/python
22:55:12.313 [debug] Search for KernelSpecs in Interpreter ~/demo/.venv/bin/python
22:55:12.316 [debug] Search for KernelSpecs in Interpreter ~/demo/.venv3117/bin/python
22:55:12.320 [debug] Search for KernelSpecs in Interpreter ~/demo/.venv399/bin/python
22:55:12.326 [debug] Search for KernelSpecs in Interpreter ~/demo/.venvEmpty/bin/python
22:55:12.330 [debug] Search for KernelSpecs in Interpreter ~/demo/.venvIPyKernel/bin/python
22:55:12.333 [debug] Search for KernelSpecs in Interpreter ~/demo/.venvLatest/bin/python
22:55:12.337 [debug] Search for KernelSpecs in Interpreter ~/demo/.venvPandas/bin/python
22:55:12.340 [debug] Search for KernelSpecs in Interpreter ~/demo/.venvPandas2/bin/python
22:55:12.346 [debug] Search for KernelSpecs in Interpreter /opt/homebrew/bin/python3
22:55:12.348 [debug] Finding Global Python KernelSpecs
22:55:13.034 [debug] Full interpreter list is length: 19, /usr/bin/python3:Python 3.9.6:Unknown:/usr/bin/python3, ~/.pyenv/versions/3.10.13/bin/python:Python 3.10.13:Pyenv:~/.pyenv/versions/3.10.13/bin/python, ~/.pyenv/versions/3.11.7/bin/python:Python 3.11.7:Pyenv:~/.pyenv/versions/3.11.7/bin/python, ~/.pyenv/versions/3.12.1/bin/python:Python 3.12.1:Pyenv:~/.pyenv/versions/3.12.1/bin/python, ~/.pyenv/versions/3.9.9/bin/python:Python 3.9.9:Pyenv:~/.pyenv/versions/3.9.9/bin/python, ~/miniconda3/bin/python:base (Python 3.11.5):Conda:~/miniconda3/bin/python, ~/miniconda3/envs/xyz/bin/python:xyz:Conda:~/miniconda3/envs/xyz/bin/python, ~/miniconda3/envs/xyz/bin/python:xyz:Conda:~/miniconda3/envs/xyz/bin/python, ~/miniconda3/bin/python:base (Python 3.11.5):Conda:~/miniconda3/bin/python, ~/demo/.venv310/bin/python:.venv310 (Python 3.12.1):Venv:~/demo/.venv310/bin/python, ~/demo/.venv/bin/python:.venv (Python 3.12.1):Venv:~/demo/.venv/bin/python, ~/demo/.venv3117/bin/python:.venv3117 (Python 3.11.7):Venv:~/demo/.venv3117/bin/python, ~/demo/.venv399/bin/python:.venv399 (Python 3.12.1):Venv:~/demo/.venv399/bin/python, ~/demo/.venvEmpty/bin/python:.venvEmpty (Python 3.12.1):Venv:~/demo/.venvEmpty/bin/python, ~/demo/.venvIPyKernel/bin/python:.venvIPyKernel (Python 3.12.1):Venv:~/demo/.venvIPyKernel/bin/python, ~/demo/.venvLatest/bin/python:.venvLatest (Python 3.12.1):Venv:~/demo/.venvLatest/bin/python, ~/demo/.venvPandas/bin/python:.venvPandas (Python 3.12.1):Venv:~/demo/.venvPandas/bin/python, ~/demo/.venvPandas2/bin/python:.venvPandas2 (Python 3.12.1):Venv:~/demo/.venvPandas2/bin/python, /opt/homebrew/bin/python3:Python 3.11.6:Unknown:/opt/homebrew/bin/python3
22:55:13.036 [info] Active Interpreter for '~/demo' is ~/demo/.venv310/bin/python (Venv, '.venv310', 3.12.1)
22:55:13.040 [debug] Getting activated env variables, Class name = EnvironmentActivationService (started execution), Arg 1: "~/demo", Arg 2: "~/demo/.venv310/bin/python", Arg 3: undefined
22:55:13.040 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo", Arg 2: "RunPythonCode"
22:55:13.041 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 1ms, has a truthy return value, Arg 1: "~/demo", Arg 2: "RunPythonCode"
22:55:15.463 [debug] Kernels for interpreter /usr/bin/python3 are .jvsc74a57bd031f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6./usr/bin/python3./usr/bin/python3.-m#ipykernel_launcher
22:55:15.465 [debug] Kernels for interpreter ~/.pyenv/versions/3.11.7/bin/python are .jvsc74a57bd0a969181444b98e5cc0289b695bf732c847abbfe049bc9a82ace707ebedd50e17.~/.pyenv/versions/3.11.7/python.~/.pyenv/versions/3.11.7/python.-m#ipykernel_launcher
22:55:15.466 [debug] Kernels for interpreter ~/.pyenv/versions/3.12.1/bin/python are .jvsc74a57bd06553b78007e988231932ed78d6e9e0c1382969a1542ca8fd20bac2cfac32c8c2.~/.pyenv/versions/3.12.1/python.~/.pyenv/versions/3.12.1/python.-m#ipykernel_launcher
22:55:15.468 [debug] Kernels for interpreter ~/.pyenv/versions/3.9.9/bin/python are .jvsc74a57bd049be3e6b497fca75eadf142643e0b314c77df88786d9a4ee82dc56bb9997f0cc.~/.pyenv/versions/3.9.9/python.~/.pyenv/versions/3.9.9/python.-m#ipykernel_launcher
22:55:15.469 [debug] Kernels for interpreter ~/miniconda3/bin/python are .jvsc74a57bd0ddc83e5931d5bfced9dc9876512c795e7c619f25ce8ed6c90c7cb801511c6f7c.~/miniconda3/python.~/miniconda3/python.-m#ipykernel_launcher
22:55:15.471 [debug] Kernels for interpreter ~/demo/.venv310/bin/python are .jvsc74a57bd0d1f99c487c4e9cd363fa9dbc49304e6d0aa018307a604756440029a2b05845b5.~/demo/.venv310/python.~/demo/.venv310/python.-m#ipykernel_launcher
22:55:15.473 [debug] Kernels for interpreter ~/demo/.venv399/bin/python are .jvsc74a57bd0efd97bb4702daacef2a895878d151b05b05e6c0c77848202648145e029898219.~/demo/.venv399/python.~/demo/.venv399/python.-m#ipykernel_launcher
22:55:15.474 [debug] Kernels for interpreter ~/demo/.venvEmpty/bin/python are .jvsc74a57bd0a782689078521368a8b5648082acc96b27597db189e4fb8ef572e249d2f9db3f.~/demo/.venvEmpty/python.~/demo/.venvEmpty/python.-m#ipykernel_launcher
22:55:15.478 [debug] Kernels for interpreter ~/demo/.venvPandas/bin/python are .jvsc74a57bd07ba2a28788311f41ca1c97a7ff38a7666794a6b760c67727771df68c852c4dab.~/demo/.venvPandas/python.~/demo/.venvPandas/python.-m#ipykernel_launcher
22:55:15.480 [debug] Kernels for interpreter ~/demo/.venvPandas2/bin/python are .jvsc74a57bd01f26c5a9af7a926240fc1cc054a2932b02de7dde12239546a17efbca69de9cf5.~/demo/.venvPandas2/python.~/demo/.venvPandas2/python.-m#ipykernel_launcher
22:55:15.481 [debug] Kernels for interpreter /opt/homebrew/bin/python3 are .jvsc74a57bd0b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e./opt/homebrew/bin/python3./opt/homebrew/bin/python3.-m#ipykernel_launcher
22:55:17.455 [debug] KernelProvider switched kernel to id = .jvsc74a57bd0228db264b1d7d69242a0ad599328c84fd76faee75d7a7b8b842d98ebd02b8a11.~/demo/.venv/python.~/demo/.venv/python.-m#ipykernel_launcher
22:55:17.456 [debug] Initialize notebook communications for editor ~/demo/sample.ipynb
22:55:17.456 [debug] Resolving notebook UI Comms (resolve) for ~/demo/sample.ipynb
22:55:17.457 [debug] initialize CommonMessageCoordinator
22:55:17.482 [debug] Registering commtarget jupyter.widget
22:55:17.483 [debug] IPyWidgetMessageDispatcher.initialize
22:55:17.484 [debug] Attempting to determine version of IPyWidgets
22:55:17.485 [debug] Controller selection change completed
22:55:17.485 [debug] Waiting for IPyWidgets version
22:55:17.488 [debug] Waiting for IPyWidgets version promise
22:55:17.812 [debug] Loading kernelspec from ~/Library/Jupyter/kernels/deno/kernel.json
22:55:17.829 [debug] Getting activated env variables, Class name = EnvironmentActivationService (started execution), Arg 1: "~/demo", Arg 2: "~/demo/.venv/bin/python", Arg 3: undefined
22:55:17.830 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo", Arg 2: "RunPythonCode"
22:55:17.831 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 1ms, has a truthy return value, Arg 1: "~/demo", Arg 2: "RunPythonCode"
22:55:19.713 [debug] Loading kernelspec from ~/demo/.venv3117/share/jupyter/kernels/python3/kernel.json for ~/demo/.venv3117/bin/python
22:55:19.714 [debug] Loading kernelspec from ~/.pyenv/versions/3.10.13/share/jupyter/kernels/python3/kernel.json for ~/.pyenv/versions/3.10.13/bin/python
22:55:19.714 [debug] Loading kernelspec from ~/demo/.venv/share/jupyter/kernels/python_kernel_0/kernel.json for ~/demo/.venv/bin/python
22:55:19.715 [debug] Loading kernelspec from ~/demo/.venv/share/jupyter/kernels/python3/kernel.json for ~/demo/.venv/bin/python
22:55:19.716 [debug] Loading kernelspec from ~/demo/.venvIPyKernel/share/jupyter/kernels/python3/kernel.json for ~/demo/.venvIPyKernel/bin/python
22:55:19.716 [debug] Loading kernelspec from ~/demo/.venvLatest/share/jupyter/kernels/python3/kernel.json for ~/demo/.venvLatest/bin/python
22:56:07.773 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'python3117jvsc74a57bd0c0b5e0940148421373bc2a6afe8f1f4b888ce7a6c4545960eb1825d396660524', /python for interpreter ~/demo/.venv3117/bin/python and spec ~/demo/.venv3117/share/jupyter/kernels/python3/kernel.json
22:56:07.774 [debug] Kernels for interpreter ~/demo/.venv3117/bin/python are .jvsc74a57bd0c0b5e0940148421373bc2a6afe8f1f4b888ce7a6c4545960eb1825d396660524.~/demo/.venv3117/python.~/demo/.venv3117/python.-m#ipykernel_launcher
22:56:08.152 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'python31013jvsc74a57bd0538174cd1d70d5be54b459aee158c48dca07cea63520d49e34de4d13d9fde60d', /python for interpreter ~/.pyenv/versions/3.10.13/bin/python and spec ~/.pyenv/versions/3.10.13/share/jupyter/kernels/python3/kernel.json
22:56:08.153 [debug] Kernels for interpreter ~/.pyenv/versions/3.10.13/bin/python are .jvsc74a57bd0538174cd1d70d5be54b459aee158c48dca07cea63520d49e34de4d13d9fde60d.~/.pyenv/versions/3.10.13/python.~/.pyenv/versions/3.10.13/python.-m#ipykernel_launcher
22:56:08.154 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'python3121jvsc74a57bd0228db264b1d7d69242a0ad599328c84fd76faee75d7a7b8b842d98ebd02b8a11', /python for interpreter ~/demo/.venv/bin/python and spec ~/demo/.venv/share/jupyter/kernels/python3/kernel.json
22:56:08.155 [debug] Kernels for interpreter ~/demo/.venv/bin/python are .jvsc74a57bd0228db264b1d7d69242a0ad599328c84fd76faee75d7a7b8b842d98ebd02b8a11#python_kernel_0.~/demo/.venv/python.~/demo/.venv/python.-m#ipykernel_launcher, .jvsc74a57bd0228db264b1d7d69242a0ad599328c84fd76faee75d7a7b8b842d98ebd02b8a11.~/demo/.venv/python.~/demo/.venv/python.-m#ipykernel_launcher
22:56:08.160 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'python3121jvsc74a57bd0e3fa51720aebcfa7bcc8aacaac745ee158a6804454288b998d6f350e91addf90', /python for interpreter ~/demo/.venvIPyKernel/bin/python and spec ~/demo/.venvIPyKernel/share/jupyter/kernels/python3/kernel.json
22:56:08.161 [debug] Kernels for interpreter ~/demo/.venvIPyKernel/bin/python are .jvsc74a57bd0e3fa51720aebcfa7bcc8aacaac745ee158a6804454288b998d6f350e91addf90.~/demo/.venvIPyKernel/python.~/demo/.venvIPyKernel/python.-m#ipykernel_launcher
22:56:08.163 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'python3121jvsc74a57bd075de0e3f2ab3c730a2299999e3c58861fd70e343e012e41e3b72c1a6f1afc76c', /python for interpreter ~/demo/.venvLatest/bin/python and spec ~/demo/.venvLatest/share/jupyter/kernels/python3/kernel.json
22:56:08.164 [debug] Kernels for interpreter ~/demo/.venvLatest/bin/python are .jvsc74a57bd075de0e3f2ab3c730a2299999e3c58861fd70e343e012e41e3b72c1a6f1afc76c.~/demo/.venvLatest/python.~/demo/.venvLatest/python.-m#ipykernel_launcher
22:56:19.463 [debug] Conda file returned by Python Extension is ~/miniconda3/bin/conda
22:56:19.675 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache RemoteJupyterServerUriProviderError: request to http://localhost:8000/hub/api/authorizations/token failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8000
    at JupyterConnection.getJupyterServerUri (~/Development/vsc/vscode-jupyter/src/kernels/jupyter/connection/jupyterConnection.ts:184:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at JupyterConnection.createConnectionInfo (~/Development/vsc/vscode-jupyter/src/kernels/jupyter/connection/jupyterConnection.ts:43:24)
    at ~/Development/vsc/vscode-jupyter/src/kernels/jupyter/finder/remoteKernelFinder.ts:219:31 {
  category: 'remotejupyterserveruriprovider',
  isJupyterError: true,
  serverProviderHandle: {
    id: 'UserJupyterServerPickerProviderId',
    handle: '06549267-04d8-d804-8efb-1d7cd9b08d29',
    extensionId: 'ms-toolsai.jupyter-hub'
  },
  originalError: FetchError: request to http://localhost:8000/hub/api/authorizations/token failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8000
      at ClientRequest.<anonymous> (~/.vscode-insiders/extensions/ms-toolsai.jupyter-hub-2023.10.1003492320/dist/extension.node.js:63581:18)
      at ClientRequest.emit (node:events:514:28)
      at ClientRequest.emit (node:domain:489:12)
      at Socket.socketErrorListener (node:_http_client:501:9)
      at Socket.emit (node:events:514:28)
      at Socket.emit (node:domain:489:12)
      at emitErrorNT (node:internal/streams/destroy:151:8)
      at emitErrorCloseNT (node:internal/streams/destroy:116:3)
      at processTicksAndRejections (node:internal/process/task_queues:82:21) {
    type: 'system',
    errno: 'ECONNREFUSED',
    code: 'ECONNREFUSED',
    vslsStack: [
      CallSite {}, CallSite {},
      CallSite {}, CallSite {},
      CallSite {}, CallSite {},
      CallSite {}, CallSite {},
      CallSite {}
    ]
  },
  vslsStack: [ CallSite {}, CallSite {}, CallSite {}, CallSite {} ]
}
22:56:19.677 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
22:56:19.856 [debug] Got env vars with python ~/demo/.venv310/bin/python, with env var count 40 in 66816ms.
    PATH value is ~/demo/.venv310/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin and
    Path value is undefined
22:56:19.856 [debug] Prepend PATH with python bin for ~/demo/.venv310/bin/python
22:56:19.857 [debug] Activated Env Variables for ~/demo/.venv310/bin/python,
    PATH value is ~/demo/.venv310/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin and
    Path value is undefined
22:56:19.857 [debug] Getting activated env variables, Class name = EnvironmentActivationService, completed in 66818ms, has a truthy return value, Arg 1: "~/demo", Arg 2: "~/demo/.venv310/bin/python", Arg 3: undefined
22:56:19.859 [info] Process Execution: ~/demo/.venv310/bin/python -m pip list
22:56:19.862 [debug] Got env vars with python ~/demo/.venv/bin/python, with env var count 40 in 62033ms.
    PATH value is ~/demo/.venv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin and
    Path value is undefined
22:56:19.862 [debug] Prepend PATH with python bin for ~/demo/.venv/bin/python
22:56:19.863 [debug] Activated Env Variables for ~/demo/.venv/bin/python,
    PATH value is ~/demo/.venv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin and
    Path value is undefined
22:56:19.863 [debug] Getting activated env variables, Class name = EnvironmentActivationService, completed in 62034ms, has a truthy return value, Arg 1: "~/demo", Arg 2: "~/demo/.venv/bin/python", Arg 3: undefined
22:56:19.865 [info] Process Execution: ~/demo/.venv/bin/python -m pip list
22:56:19.869 [error] The API registerRemoteServerProvider has being deprecated and will be removed soon, please use createJupyterServerCollection (extension GitHub.codespaces).
22:56:26.655 [warn] Unable to find sysPrefix for interpreter ~/miniconda3/envs/xyz/bin/python
22:56:26.655 [warn] Failed to get sysPrefix for interpreter ~/miniconda3/envs/xyz/bin/python
22:56:26.656 [debug] Kernels for interpreter ~/miniconda3/envs/xyz/bin/python are .jvsc74a57bd0290d8d6dffd988252a073986326c28aac87a2479d2e82c05ace53b2730f8df97.~/miniconda3/envs/xyz/python.~/miniconda3/envs/xyz/python.-m#ipykernel_launcher
22:56:26.658 [info] End refreshing Kernel Picker<PHONE_NUMBER>613)
22:56:27.380 [info] Start refreshing Kernel Picker<PHONE_NUMBER>379)
22:56:30.975 [debug] UniversalRemoteKernelFinder: Writing 2 remote kernel connection metadata to cache
22:57:05.718 [debug] Disposing Jupyter Lab Helper
22:57:05.719 [debug] SessionManager - dispose contents manager
22:57:05.719 [debug] ShutdownSessionAndConnection - dispose session manager
22:57:05.720 [debug] Finished disposing Jupyter Lab Helper
22:57:05.720 [debug] UniversalRemoteKernelFinder: Writing 11 remote kernel connection metadata to cache
22:57:06.094 [debug] Disposing Jupyter Lab Helper
22:57:06.094 [debug] SessionManager - dispose contents manager
22:57:06.095 [debug] ShutdownSessionAndConnection - dispose session manager
22:57:06.095 [debug] Finished disposing Jupyter Lab Helper
22:57:06.095 [debug] UniversalRemoteKernelFinder: Writing 11 remote kernel connection metadata to cache
22:57:06.150 [info] End refreshing Kernel Picker<PHONE_NUMBER>379)
23:05:08.535 [debug] Python API env change detected, add => '~/miniconda3/envs/conda1/bin/python'
23:05:08.536 [info] Start refreshing Kernel Picker<PHONE_NUMBER>535)
23:05:08.552 [debug] Python API env change detected, update => '~/miniconda3/envs/conda1/bin/python'
23:05:08.572 [debug] Search for KernelSpecs in Interpreter ~/miniconda3/envs/conda1/bin/python
23:05:08.785 [debug] Full interpreter list is length: 20, /usr/bin/python3:Python 3.9.6:Unknown:/usr/bin/python3, ~/.pyenv/versions/3.10.13/bin/python:Python 3.10.13:Pyenv:~/.pyenv/versions/3.10.13/bin/python, ~/.pyenv/versions/3.11.7/bin/python:Python 3.11.7:Pyenv:~/.pyenv/versions/3.11.7/bin/python, ~/.pyenv/versions/3.12.1/bin/python:Python 3.12.1:Pyenv:~/.pyenv/versions/3.12.1/bin/python, ~/.pyenv/versions/3.9.9/bin/python:Python 3.9.9:Pyenv:~/.pyenv/versions/3.9.9/bin/python, ~/miniconda3/bin/python:base (Python 3.11.5):Conda:~/miniconda3/bin/python, ~/miniconda3/bin/python:base (Python 3.11.5):Conda:~/miniconda3/bin/python, ~/demo/.venv310/bin/python:.venv310 (Python 3.12.1):Venv:~/demo/.venv310/bin/python, ~/demo/.venv/bin/python:.venv (Python 3.12.1):Venv:~/demo/.venv/bin/python, ~/demo/.venv3117/bin/python:.venv3117 (Python 3.11.7):Venv:~/demo/.venv3117/bin/python, ~/demo/.venv399/bin/python:.venv399 (Python 3.12.1):Venv:~/demo/.venv399/bin/python, ~/demo/.venvEmpty/bin/python:.venvEmpty (Python 3.12.1):Venv:~/demo/.venvEmpty/bin/python, ~/demo/.venvIPyKernel/bin/python:.venvIPyKernel (Python 3.12.1):Venv:~/demo/.venvIPyKernel/bin/python, ~/demo/.venvLatest/bin/python:.venvLatest (Python 3.12.1):Venv:~/demo/.venvLatest/bin/python, ~/demo/.venvPandas/bin/python:.venvPandas (Python 3.12.1):Venv:~/demo/.venvPandas/bin/python, ~/demo/.venvPandas2/bin/python:.venvPandas2 (Python 3.12.1):Venv:~/demo/.venvPandas2/bin/python, /opt/homebrew/bin/python3:Python 3.11.6:Unknown:/opt/homebrew/bin/python3, ~/miniconda3/envs/xyz/bin/python:xyz:Conda:~/miniconda3/envs/xyz/bin/python, ~/miniconda3/envs/xyz/bin/python:xyz:Conda:~/miniconda3/envs/xyz/bin/python, ~/miniconda3/envs/conda1/bin/python:conda1:Conda:~/miniconda3/envs/conda1/bin/python
23:05:17.226 [warn] Unable to find sysPrefix for interpreter ~/miniconda3/envs/conda1/bin/python
23:05:17.226 [warn] Failed to get sysPrefix for interpreter ~/miniconda3/envs/conda1/bin/python
23:05:17.228 [debug] Kernels for interpreter ~/miniconda3/envs/conda1/bin/python are .jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86.~/miniconda3/envs/conda1/python.~/miniconda3/envs/conda1/python.-m#ipykernel_launcher
23:05:17.229 [info] End refreshing Kernel Picker<PHONE_NUMBER>535)
23:05:59.918 [debug] notebook communications already initialized for editor ~/demo/sample.ipynb
23:05:59.918 [info] Start refreshing Interpreter Kernel Picker
23:05:59.919 [info] Start refreshing Kernel Picker<PHONE_NUMBER>919)
23:06:00.035 [debug] Full interpreter list is length: 20, /usr/bin/python3:Python 3.9.6:Unknown:/usr/bin/python3, ~/.pyenv/versions/3.10.13/bin/python:Python 3.10.13:Pyenv:~/.pyenv/versions/3.10.13/bin/python, ~/.pyenv/versions/3.11.7/bin/python:Python 3.11.7:Pyenv:~/.pyenv/versions/3.11.7/bin/python, ~/.pyenv/versions/3.12.1/bin/python:Python 3.12.1:Pyenv:~/.pyenv/versions/3.12.1/bin/python, ~/.pyenv/versions/3.9.9/bin/python:Python 3.9.9:Pyenv:~/.pyenv/versions/3.9.9/bin/python, ~/miniconda3/bin/python:base (Python 3.11.5):Conda:~/miniconda3/bin/python, ~/miniconda3/bin/python:base (Python 3.11.5):Conda:~/miniconda3/bin/python, ~/demo/.venv310/bin/python:.venv310 (Python 3.12.1):Venv:~/demo/.venv310/bin/python, ~/demo/.venv/bin/python:.venv (Python 3.12.1):Venv:~/demo/.venv/bin/python, ~/demo/.venv3117/bin/python:.venv3117 (Python 3.11.7):Venv:~/demo/.venv3117/bin/python, ~/demo/.venv399/bin/python:.venv399 (Python 3.12.1):Venv:~/demo/.venv399/bin/python, ~/demo/.venvEmpty/bin/python:.venvEmpty (Python 3.12.1):Venv:~/demo/.venvEmpty/bin/python, ~/demo/.venvIPyKernel/bin/python:.venvIPyKernel (Python 3.12.1):Venv:~/demo/.venvIPyKernel/bin/python, ~/demo/.venvLatest/bin/python:.venvLatest (Python 3.12.1):Venv:~/demo/.venvLatest/bin/python, ~/demo/.venvPandas/bin/python:.venvPandas (Python 3.12.1):Venv:~/demo/.venvPandas/bin/python, ~/demo/.venvPandas2/bin/python:.venvPandas2 (Python 3.12.1):Venv:~/demo/.venvPandas2/bin/python, /opt/homebrew/bin/python3:Python 3.11.6:Unknown:/opt/homebrew/bin/python3, ~/miniconda3/envs/xyz/bin/python:xyz:Conda:~/miniconda3/envs/xyz/bin/python, ~/miniconda3/envs/xyz/bin/python:xyz:Conda:~/miniconda3/envs/xyz/bin/python, ~/miniconda3/envs/conda1/bin/python:conda1:Conda:~/miniconda3/envs/conda1/bin/python
23:06:00.036 [debug] Refreshed Environments
23:06:01.038 [info] End refreshing Kernel Picker<PHONE_NUMBER>919)
23:06:17.442 [debug] Preferred Remote kernel for Untitled-1.ipynb is undefined
23:06:17.447 [info] No interpreter for Pylance for Notebook URI "Untitled-1.ipynb"
23:06:17.451 [debug] KernelProvider switched kernel to id = b5bb4c40f9208848971877d354afa45a0235ec06929ba6570c3c5194f7c1c6dd..python38-azureml./anaconda/envs/azureml_py38/python./.-m#ipykernel_launcher
23:06:17.451 [debug] Controller selection change completed
23:06:17.465 [debug] Initialize notebook communications for editor Untitled-1.ipynb
23:06:17.466 [debug] Resolving notebook UI Comms (resolve) for Untitled-1.ipynb
23:06:17.468 [debug] initialize CommonMessageCoordinator
23:06:17.470 [debug] Registering commtarget jupyter.widget
23:06:17.470 [debug] IPyWidgetMessageDispatcher.initialize
23:06:17.472 [debug] Attempting to determine version of IPyWidgets
23:06:17.475 [debug] Waiting for IPyWidgets version
23:06:17.475 [debug] Waiting for IPyWidgets version promise
23:06:17.768 [debug] Attempting to determine version of IPyWidgets
23:06:17.769 [debug] Waiting for IPyWidgets version
23:06:17.773 [debug] Waiting for IPyWidgets version promise
23:06:20.473 [debug] Preferred Remote kernel for Untitled-2.ipynb is 7f09fe3d-46c1-4a6e-a5c6-6742185f332d
23:06:20.479 [info] No interpreter for Pylance for Notebook URI "Untitled-2.ipynb"
23:06:20.489 [debug] No controller, hence notebook communications cannot be initialized for editor Untitled-2.ipynb
23:06:22.193 [debug] Preferred Remote kernel for Untitled-3.ipynb is undefined
23:06:22.194 [info] No interpreter for Pylance for Notebook URI "Untitled-3.ipynb"
23:06:22.207 [debug] No controller, hence notebook communications cannot be initialized for editor Untitled-3.ipynb
23:06:24.229 [debug] Notebook document Untitled-3.ipynb got closed
23:06:24.251 [debug] No controller, hence notebook communications cannot be initialized for editor Untitled-2.ipynb
23:06:25.294 [debug] Notebook document Untitled-2.ipynb got closed
23:06:25.314 [debug] notebook communications already initialized for editor Untitled-1.ipynb
23:06:26.252 [info] Disposing kernel b5bb4c40f9208848971877d354afa45a0235ec06929ba6570c3c5194f7c1c6dd..python38-azureml./anaconda/envs/azureml_py38/python./.-m#ipykernel_launcher for notebook Untitled-1.ipynb due to selection of another kernel or closing of the notebook
23:06:26.254 [info] Dispose Kernel 'Untitled-1.ipynb' associated with 'Untitled-1.ipynb'
23:06:26.255 [debug] Kernel got disposed, hence there is no longer a kernel associated with Untitled-1.ipynb
23:06:26.259 [debug] Notebook document Untitled-1.ipynb got closed
23:06:26.285 [debug] notebook communications already initialized for editor ~/demo/sample.ipynb
23:06:28.255 [info] Start refreshing Kernel Picker<PHONE_NUMBER>254)
23:06:28.378 [warn] Could not fetch kernels from the remote server, falling back to cache: Error: request to http://localhost:8000/hub/api/authorizations/token failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8000
23:06:28.383 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
23:06:30.616 [debug] Preferred Remote kernel for ~/demo/sample copy 2.ipynb is undefined
23:06:30.617 [info] No interpreter for Pylance for Notebook URI "~/demo/sample copy 2.ipynb"
23:06:30.619 [debug] No controller, hence notebook communications cannot be initialized for editor ~/demo/sample copy 2.ipynb
23:06:31.449 [debug] Preferred Remote kernel for ~/demo/sample copy 4.ipynb is undefined
23:06:31.461 [debug] No controller, hence notebook communications cannot be initialized for editor ~/demo/sample copy 4.ipynb
23:06:31.775 [info] No interpreter for Pylance for Notebook URI "~/demo/sample copy 4.ipynb"
23:06:45.369 [warn] No interpreter with path ~/miniconda3/envs/conda1 found in Python API, will convert Uri path to string as Id ~/miniconda3/envs/conda1
23:06:45.668 [info] Check & install missing Kernel dependencies for ~/miniconda3/envs/conda1/bin/python, ui.disabled=false for resource '~/demo/sample copy 4.ipynb'
23:06:45.684 [debug] Getting activated env variables, Class name = EnvironmentActivationService (started execution), Arg 1: "~/demo", Arg 2: "~/miniconda3/envs/conda1/bin/python", Arg 3: undefined
23:06:45.685 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo", Arg 2: "RunPythonCode"
23:06:45.686 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 2ms, has a truthy return value, Arg 1: "~/demo", Arg 2: "RunPythonCode"
23:06:46.259 [error] Failed to get activated conda env vars for ~/miniconda3/envs/conda1
                 in 575ms
23:06:46.916 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:06:46.945 [warn] Unable to find sysPrefix for interpreter ~/miniconda3/envs/conda1/bin/python
23:06:46.945 [warn] Failed to get the SysPrefix for the Conda Environment ~/miniconda3/envs/conda1}
23:06:46.948 [debug] Prepend PATH with python bin for ~/miniconda3/envs/conda1
23:06:46.948 [debug] Activated Env Variables for ~/miniconda3/envs/conda1,
    PATH value is /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin and
    Path value is undefined
23:06:46.948 [debug] Getting activated env variables, Class name = EnvironmentActivationService, completed in 1264ms, has a truthy return value, Arg 1: "~/demo", Arg 2: "~/miniconda3/envs/conda1/bin/python", Arg 3: undefined
23:06:46.949 [info] Process Execution: ~/miniconda3/envs/conda1/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
23:06:46.950 [warn] Module ipykernel not installed in environment ~/miniconda3/envs/conda1/bin/python Error: spawn ~/miniconda3/envs/conda1/bin/python ENOENT
    at Process.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn ~/miniconda3/envs/conda1/bin/python',
  path: '~/miniconda3/envs/conda1/bin/python',
  spawnargs: [
    '-c',
    "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
  ],
  vslsStack: [ CallSite {}, CallSite {}, CallSite {} ]
}
23:06:46.950 [debug] Checking if product is installed, Class name = DataScienceInstaller, completed in 1282ms, has a falsy return value, Arg 1: 19, Arg 2: undefined, Return Value: false
23:06:46.950 [debug] Are Dependencies Installed, Class name = KernelDependencyService, completed in 1282ms, has a falsy return value, Arg 1: "~/miniconda3/envs/conda1/python.~/miniconda3/envs/conda1/python.-m#ipykernel_launcher", Arg 2: {"a":false,"b":{"w":1,"u":{"i":-1,"end":0},"t":[{"id":4312}]}}, Arg 3: true, Return Value: false
23:06:47.462 [debug] Getting activated env variables, Class name = EnvironmentActivationService (started execution), Arg 1: undefined, Arg 2: "~/miniconda3/envs/conda1/bin/python", Arg 3: undefined
23:06:47.462 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo", Arg 2: "RunPythonCode"
23:06:47.463 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 1ms, has a truthy return value, Arg 1: "~/demo", Arg 2: "RunPythonCode"
23:06:47.522 [error] Failed to get activated conda env vars for ~/miniconda3/envs/conda1
                 in 60ms
23:06:47.578 [warn] Unable to find sysPrefix for interpreter ~/miniconda3/envs/conda1/bin/python
23:06:47.578 [warn] Failed to get the SysPrefix for the Conda Environment ~/miniconda3/envs/conda1}
23:06:47.580 [debug] Prepend PATH with python bin for ~/miniconda3/envs/conda1
23:06:47.580 [debug] Activated Env Variables for ~/miniconda3/envs/conda1,
    PATH value is /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin and
    Path value is undefined
23:06:47.580 [debug] Getting activated env variables, Class name = EnvironmentActivationService, completed in 119ms, has a truthy return value, Arg 1: undefined, Arg 2: "~/miniconda3/envs/conda1/bin/python", Arg 3: undefined
23:06:47.581 [debug] Create ProcessService, Class name = ProcessServiceFactory (started execution), Arg 1: undefined
23:06:47.581 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: undefined, Arg 2: "RunNonPythonCode", Arg 3: undefined
23:06:47.601 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 19ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunNonPythonCode", Arg 3: undefined
23:06:47.601 [debug] Create ProcessService, Class name = ProcessServiceFactory, completed in 20ms, has a truthy return value, Arg 1: undefined
23:06:47.602 [info] Process Execution: ~/miniconda3/bin/conda install -c conda-forge --name conda1 ipykernel -y
23:06:48.351 [debug] Channels:
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): ...working...
23:06:59.927 [debug] done
Solving environment: ...working...
23:07:00.078 [debug] done

23:07:00.867 [debug] Disposing Jupyter Lab Helper
23:07:00.868 [debug] SessionManager - dispose contents manager
23:07:00.868 [debug] ShutdownSessionAndConnection - dispose session manager
23:07:00.868 [debug] Finished disposing Jupyter Lab Helper
23:07:00.869 [debug] UniversalRemoteKernelFinder: Writing 11 remote kernel connection metadata to cache
23:07:00.883 [info] End refreshing Kernel Picker<PHONE_NUMBER>254)
23:07:03.482 [debug]
## Package Plan ##

  environment location: ~/miniconda3/envs/conda1

  added / updated specs:
    - ipykernel

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    bzip2-1.0.8                |       h93a5062_5         119 KB  conda-forge
    debugpy-1.8.1              |  py312h20a0b95_0         2.0 MB  conda-forge
    ipykernel-6.29.3           |     pyh3cd1d5f_0         117 KB  conda-forge
    ipython-8.22.1             |     pyh707e725_0         579 KB  conda-forge
    jupyter_core-5.7.1         |  py312h81bd7bf_0          91 KB  conda-forge
    libexpat-2.5.0             |       hb7217d7_1          62 KB  conda-forge
    libffi-3.4.2               |       h3422bc3_5          38 KB  conda-forge
    libsqlite-3.45.1           |       h091b4b1_0         805 KB  conda-forge
    libzlib-1.2.13             |       h53f4e23_5          47 KB  conda-forge
    ncurses-6.4                |       h463b476_2         776 KB  conda-forge
    pip-24.0                   |     pyhd8ed1ab_0         1.3 MB  conda-forge
    psutil-5.9.8               |  py312he37b823_0         488 KB  conda-forge
    python-3.12.2              |hdf0ec26_0_cpython        12.5 MB  conda-forge
    python_abi-3.12            |          4_cp312           6 KB  conda-forge
    pyzmq-25.1.2               |  py312h1edf716_0         483 KB  conda-forge
    readline-8.2               |       h92ec313_1         244 KB  conda-forge
    setuptools-69.1.1          |     pyhd8ed1ab_0         459 KB  conda-forge
    tk-8.6.13                  |       h5083fa2_1         3.0 MB  conda-forge
    tornado-6.4                |  py312he37b823_0         821 KB  conda-forge
    typing_extensions-4.10.0   |     pyha770c72_0          36 KB  conda-forge
    tzdata-2024a               |       h0c530f3_0         117 KB  conda-forge
    wheel-0.42.0               |     pyhd8ed1ab_0          56 KB  conda-forge
    xz-5.2.6                   |       h57fd34a_0         230 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        24.2 MB

The following NEW packages will be INSTALLED:

  appnope            conda-forge/noarch::appnope-0.1.4-pyhd8ed1ab_0
  asttokens          conda-forge/noarch::asttokens-2.4.1-pyhd8ed1ab_0
  bzip2              conda-forge/osx-arm64::bzip2-1.0.8-h93a5062_5
  ca-certificates    conda-forge/osx-arm64::ca-certificates-2024.2.2-hf0a4a13_0
  comm               conda-forge/noarch::comm-0.2.1-pyhd8ed1ab_0
  debugpy            conda-forge/osx-arm64::debugpy-1.8.1-py312h20a0b95_0
  decorator          conda-forge/noarch::decorator-5.1.1-pyhd8ed1ab_0
  exceptiongroup     conda-forge/noarch::exceptiongroup-1.2.0-pyhd8ed1ab_2
  executing          conda-forge/noarch::executing-2.0.1-pyhd8ed1ab_0
  importlib-metadata conda-forge/noarch::importlib-metadata-7.0.1-pyha770c72_0
  importlib_metadata conda-forge/noarch::importlib_metadata-7.0.1-hd8ed1ab_0
  ipykernel          conda-forge/noarch::ipykernel-6.29.3-pyh3cd1d5f_0
  ipython            conda-forge/noarch::ipython-8.22.1-pyh707e725_0
  jedi               conda-forge/noarch::jedi-0.19.1-pyhd8ed1ab_0
  jupyter_client     conda-forge/noarch::jupyter_client-8.6.0-pyhd8ed1ab_0
  jupyter_core       conda-forge/osx-arm64::jupyter_core-5.7.1-py312h81bd7bf_0
  libcxx             conda-forge/osx-arm64::libcxx-16.0.6-h4653b0c_0
  libexpat           conda-forge/osx-arm64::libexpat-2.5.0-hb7217d7_1
  libffi             conda-forge/osx-arm64::libffi-3.4.2-h3422bc3_5
  libsodium          conda-forge/osx-arm64::libsodium-1.0.18-h27ca646_1
  libsqlite          conda-forge/osx-arm64::libsqlite-3.45.1-h091b4b1_0
  libzlib            conda-forge/osx-arm64::libzlib-1.2.13-h53f4e23_5
  matplotlib-inline  conda-forge/noarch::matplotlib-inline-0.1.6-pyhd8ed1ab_0
  ncurses            conda-forge/osx-arm64::ncurses-6.4-h463b476_2
  nest-asyncio       conda-forge/noarch::nest-asyncio-1.6.0-pyhd8ed1ab_0
  openssl            conda-forge/osx-arm64::openssl-3.2.1-h0d3ecfb_0
  packaging          conda-forge/noarch::packaging-23.2-pyhd8ed1ab_0
  parso              conda-forge/noarch::parso-0.8.3-pyhd8ed1ab_0
  pexpect            conda-forge/noarch::pexpect-4.9.0-pyhd8ed1ab_0
  pickleshare        conda-forge/noarch::pickleshare-0.7.5-py_1003
  pip                conda-forge/noarch::pip-24.0-pyhd8ed1ab_0
  platformdirs       conda-forge/noarch::platformdirs-4.2.0-pyhd8ed1ab_0
  prompt-toolkit     conda-forge/noarch::prompt-toolkit-3.0.42-pyha770c72_0
  psutil             conda-forge/osx-arm64::psutil-5.9.8-py312he37b823_0
  ptyprocess         conda-forge/noarch::ptyprocess-0.7.0-pyhd3deb0d_0
  pure_eval          conda-forge/noarch::pure_eval-0.2.2-pyhd8ed1ab_0
  pygments           conda-forge/noarch::pygments-2.17.2-pyhd8ed1ab_0
  python             conda-forge/osx-arm64::python-3.12.2-hdf0ec26_0_cpython
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.2-pyhd8ed1ab_0
  python_abi         conda-forge/osx-arm64::python_abi-3.12-4_cp312
  pyzmq              conda-forge/osx-arm64::pyzmq-25.1.2-py312h1edf716_0
  readline           conda-forge/osx-arm64::readline-8.2-h92ec313_1
  setuptools         conda-forge/noarch::setuptools-69.1.1-pyhd8ed1ab_0
  six                conda-forge/noarch::six-1.16.0-pyh6c4a22f_0
  stack_data         conda-forge/noarch::stack_data-0.6.2-pyhd8ed1ab_0
  tk                 conda-forge/osx-arm64::tk-8.6.13-h5083fa2_1
  tornado            conda-forge/osx-arm64::tornado-6.4-py312he37b823_0
  traitlets          conda-forge/noarch::traitlets-5.14.1-pyhd8ed1ab_0
  typing_extensions  conda-forge/noarch::typing_extensions-4.10.0-pyha770c72_0
  tzdata             conda-forge/noarch::tzdata-2024a-h0c530f3_0
  wcwidth            conda-forge/noarch::wcwidth-0.2.13-pyhd8ed1ab_0
  wheel              conda-forge/noarch::wheel-0.42.0-pyhd8ed1ab_0
  xz                 conda-forge/osx-arm64::xz-5.2.6-h57fd34a_0
  zeromq             conda-forge/osx-arm64::zeromq-4.3.5-h965bd2d_0
  zipp               conda-forge/noarch::zipp-3.17.0-pyhd8ed1ab_0

23:07:03.483 [debug]
Downloading and Extracting Packages: ...working...
23:07:07.680 [debug]  done
Preparing transaction: ...working...
23:07:11.472 [debug] done
Verifying transaction: ...working...
23:07:33.362 [debug] done

23:07:33.363 [debug] Executing transaction: ...working...
23:08:48.431 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:08:48.432 [debug] KernelProvider switched kernel to id = .jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86.~/miniconda3/envs/conda1/python.~/miniconda3/envs/conda1/python.-m#ipykernel_launcher
23:08:48.433 [debug] Initialize notebook communications for editor ~/demo/sample copy 4.ipynb
23:08:48.434 [debug] Resolving notebook UI Comms (resolve) for ~/demo/sample copy 4.ipynb
23:08:48.434 [debug] initialize CommonMessageCoordinator
23:08:48.435 [debug] Registering commtarget jupyter.widget
23:08:48.436 [debug] IPyWidgetMessageDispatcher.initialize
23:08:48.437 [debug] Attempting to determine version of IPyWidgets
23:08:48.438 [debug] Controller selection change completed
23:08:48.439 [debug] Waiting for IPyWidgets version
23:08:48.439 [debug] Waiting for IPyWidgets version promise
23:08:48.441 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:08:48.465 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:08:48.466 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:08:59.732 [debug] done

23:08:59.962 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:08:59.962 [debug] Create ProcessService, Class name = ProcessServiceFactory (started execution), Arg 1: "~/demo"
23:08:59.963 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:08:59.966 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 4ms, has a truthy return value, Arg 1: "~/demo", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:08:59.967 [debug] Create ProcessService, Class name = ProcessServiceFactory, completed in 4ms, has a truthy return value, Arg 1: "~/demo"
23:08:59.968 [info] Process Execution: ~/miniconda3/envs/conda1/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
23:09:19.997 [debug] Checking if product is installed, Class name = DataScienceInstaller, completed in 20093ms, has a truthy return value, Arg 1: 19, Arg 2: undefined, Return Value: true
23:09:20.000 [debug] Install Missing Dependencies, Class name = KernelDependencyService, completed in 154332ms, has a falsy return value, Arg 1: {"resource":{"$mid":1,"fsPath":"~/demo/sample copy 4.ipynb","external":"file://~/demo/sample%20copy%204.ipynb","path":"~/demo/sample copy 4.ipynb","scheme":"file"},"kernelConnection":{"id":".jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86.~/miniconda3/envs/conda1/python.~/miniconda3/envs/conda1/python.-m#ipykernel_launcher","kernelSpec":{"specFile":"~/Development/vsc/vscode-jupyter/temp/jupyter/kernels/python3jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86/kernel.json","interpreterPath":"~/miniconda3/envs/conda1/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"python3jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"conda1","metadata":{"interpreter":{"path":"~/miniconda3/envs/conda1/bin/python"}},"env":{}},"interpreter":{"id":"~/miniconda3/envs/conda1/bin/python","path":"~/miniconda3/envs/conda1/bin/python"},"kind":"startUsingPythonInterpreter"},"token":{"a":false,"b":{"w":0,"u":{"i":-1,"end":0}}},"ui":{"_event":{"w":0},"_disableUI":false},"cannotChangeKernels":true,"ignoreCache":true,"installWithoutPrompting":true}, Return Value: 0
23:09:20.002 [info] Handle Execution of Cells 0 for ~/demo/sample copy 4.ipynb
23:09:20.033 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:09:20.034 [debug] start the kernel, options.disableUI=false for ~/demo/sample copy 4.ipynb
23:09:20.040 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:09:20.064 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:09:20.066 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86.~/miniconda3/envs/conda1/python.~/miniconda3/envs/conda1/python.-m#ipykernel_launcher  (Python Path: ~/miniconda3/envs/conda1/bin/python, Conda, conda1) for '~/demo/sample copy 4.ipynb' (disableUI=false)
23:09:20.070 [debug] Creating raw notebook for resource '~/demo/sample copy 4.ipynb'
23:09:20.079 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:09:20.084 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:09:20.216 [debug] Launching kernel .jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86.~/miniconda3/envs/conda1/python.~/miniconda3/envs/conda1/python.-m#ipykernel_launcher for ~/demo/sample copy 4.ipynb in ~/demo with ports 9001, 9000, 9004, 9002, 9003
23:09:20.238 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:09:20.238 [debug] Create ProcessService, Class name = ProcessServiceFactory (started execution), Arg 1: "~/demo/sample copy 4.ipynb"
23:09:20.239 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:09:20.239 [debug] Cached data exists getEnvironmentVariables, ~/demo/sample copy 4.ipynb
23:09:20.239 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 1ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:09:20.240 [debug] Create ProcessService, Class name = ProcessServiceFactory, completed in 1ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb"
23:09:20.241 [info] Process Execution: ~/miniconda3/envs/conda1/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
23:09:20.279 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:09:20.279 [debug] Create ProcessService, Class name = ProcessServiceFactory (started execution), Arg 1: "~/demo/sample copy 4.ipynb"
23:09:20.280 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:09:20.280 [debug] Cached data exists getEnvironmentVariables, ~/demo/sample copy 4.ipynb
23:09:20.280 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 1ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:09:20.281 [debug] Create ProcessService, Class name = ProcessServiceFactory, completed in 1ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb"
23:09:20.281 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:09:20.281 [debug] Kernel Env Variables for ~/Development/vsc/vscode-jupyter/temp/jupyter/kernels/python3jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86/kernel.json, PATH value is /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
23:09:20.283 [info] Process Execution: ~/miniconda3/envs/conda1/bin/python -m ipykernel_launcher --f=~/Library/Jupyter/runtime/kernel-v2-81931te6jow4mA0Ik.json
    > cwd: ~/demo
23:09:20.283 [info] Kernel process 18388.
23:09:20.581 [debug] ipykernel version & path 6.29.3, ~/miniconda3/envs/conda1/lib/python3.12/site-packages/ipykernel/__init__.py for ~/miniconda3/envs/conda1/bin/python
23:09:36.542 [warn] StdErr from Kernel Process 0.11s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
23:09:36.542 [debug] KernelProcess error: 0.11s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.

23:09:40.396 [debug] Kernel output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing kernel-v2-81931te6jow4mA0Ik.json

23:09:40.709 [debug] Waiting for Raw Session to be ready in postStartRawSession
23:09:40.709 [debug] Waiting for Raw session to be ready, status: connected
23:09:40.710 [debug] Raw session connected
23:09:40.710 [debug] Waiting for Raw session to be ready
23:09:40.711 [debug] Waited for Raw session to be ready & got status: connected
23:09:40.711 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
23:09:40.711 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
23:09:40.712 [debug] Sending request for kernelInfo
23:09:40.719 [debug] Got response for requestKernelInfo
23:09:40.719 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 7ms
23:09:40.720 [debug] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
23:09:40.727 [debug] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
23:09:40.727 [debug] End sendTelemetryForPythonKernelExecutable after 7ms
23:09:40.728 [debug] Started running kernel initialization for ~/demo/sample copy 4.ipynb
23:09:40.728 [debug] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
23:09:40.732 [debug] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 0 output(s)
23:09:40.733 [debug] Determined IPyWidgets Version as undefined
23:09:40.735 [debug] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
23:09:40.745 [debug] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 1 output(s)
23:09:40.746 [debug] Requesting Kernel info
23:09:40.746 [debug] Got Kernel info
23:09:40.747 [debug] End running kernel initialization, now waiting for idle
23:09:40.747 [debug] Waiting for idle on (kernel): 6f98f95f-1b16-4f8a-9761-6d2ca1b4d780 -> idle
23:09:40.747 [debug] Finished waiting for idle on (kernel): 6f98f95f-1b16-4f8a-9761-6d2ca1b4d780 -> idle
23:09:40.748 [debug] End running kernel initialization, session is idle
23:09:40.754 [info] Registering Kernel Completion Provider from kernel conda1 for language python
23:09:40.756 [debug] IPyWidgetScriptSource.initialize
23:09:40.756 [debug] IPyWidgetMessageDispatcher.initialize
23:09:40.777 [warn] Unable to find sysPrefix for interpreter ~/miniconda3/envs/conda1/bin/python
23:09:40.780 [warn] No nbextensions folder found for kernel .jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86.~/miniconda3/envs/conda1/python.~/miniconda3/envs/conda1/python.-m#ipykernel_launcher
23:09:40.783 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:09:40.889 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:09:40.890 [debug] Cell Index:0 sent to kernel
23:09:41.128 [debug] Start cell 0 execution @<PHONE_NUMBER>092 (clear output)
23:09:41.129 [info] Kernel acknowledged execution of cell 0 @<PHONE_NUMBER>092
23:09:41.137 [info] End cell 0 execution after 0.044s, completed @<PHONE_NUMBER>136, started @<PHONE_NUMBER>092
23:09:41.137 [debug] Cell 0 executed successfully
23:13:20.432 [info] Handle Execution of Cells 0 for ~/demo/sample copy 4.ipynb
23:13:20.442 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:13:20.481 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:13:20.501 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:13:20.502 [debug] Cell Index:0 sent to kernel
23:13:20.509 [debug] Start cell 0 execution @<PHONE_NUMBER>508 (clear output)
23:13:20.509 [info] Kernel acknowledged execution of cell 0 @<PHONE_NUMBER>508
23:13:20.511 [info] End cell 0 execution after 0.002s, completed @<PHONE_NUMBER>510, started @<PHONE_NUMBER>508
23:13:20.511 [debug] Cell 0 executed successfully
23:13:23.901 [debug] Restart kernel command handler for ~/demo/sample copy 4.ipynb
23:13:25.251 [debug] restart the kernel, options.disableUI=false for ~/demo/sample copy 4.ipynb
23:13:25.251 [info] Restart requested ~/demo/sample copy 4.ipynb
23:13:25.260 [debug] Cancel pending cells
23:13:25.262 [info] Dispose Kernel process 18388.
23:13:25.302 [debug] Disposed Kernel process 18388.
23:13:25.305 [debug] KernelProcess Exited, Exit Code - undefined
23:13:25.371 [debug] Launching kernel .jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86.~/miniconda3/envs/conda1/python.~/miniconda3/envs/conda1/python.-m#ipykernel_launcher for ~/demo/sample copy 4.ipynb in ~/demo with ports 9006, 9005, 9009, 9007, 9008
23:13:25.389 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:13:25.390 [debug] Create ProcessService, Class name = ProcessServiceFactory (started execution), Arg 1: "~/demo/sample copy 4.ipynb"
23:13:25.390 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:13:25.411 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 20ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:13:25.411 [debug] Create ProcessService, Class name = ProcessServiceFactory, completed in 22ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb"
23:13:25.413 [info] Process Execution: ~/miniconda3/envs/conda1/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
23:13:25.414 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:13:25.415 [debug] Kernel Env Variables for ~/Development/vsc/vscode-jupyter/temp/jupyter/kernels/python3jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86/kernel.json, PATH value is /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
23:13:25.415 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:13:25.416 [debug] Create ProcessService, Class name = ProcessServiceFactory (started execution), Arg 1: "~/demo/sample copy 4.ipynb"
23:13:25.417 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:13:25.417 [debug] Cached data exists getEnvironmentVariables, ~/demo/sample copy 4.ipynb
23:13:25.418 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 1ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:13:25.418 [debug] Create ProcessService, Class name = ProcessServiceFactory, completed in 3ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb"
23:13:25.419 [info] Process Execution: ~/miniconda3/envs/conda1/bin/python -m ipykernel_launcher --f=~/Library/Jupyter/runtime/kernel-v2-819312ORmJjO7KytM.json
    > cwd: ~/demo
23:13:25.420 [info] Kernel process 28169.
23:13:25.665 [debug] ipykernel version & path 6.29.3, ~/miniconda3/envs/conda1/lib/python3.12/site-packages/ipykernel/__init__.py for ~/miniconda3/envs/conda1/bin/python
23:13:27.083 [warn] StdErr from Kernel Process 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
23:13:27.084 [debug] KernelProcess error: 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.

23:13:27.247 [debug] Kernel output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing kernel-v2-819312ORmJjO7KytM.json

23:13:27.432 [debug] Waiting for Raw Session to be ready in postStartRawSession
23:13:27.432 [debug] Waiting for Raw session to be ready, status: connected
23:13:27.432 [debug] Raw session connected
23:13:27.433 [debug] Waiting for Raw session to be ready
23:13:27.433 [debug] Waited for Raw session to be ready & got status: connected
23:13:27.434 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
23:13:27.434 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
23:13:27.435 [debug] Sending request for kernelInfo
23:13:27.438 [debug] Got response for requestKernelInfo
23:13:27.438 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 4ms
23:13:27.439 [info] Restarted 6f98f95f-1b16-4f8a-9761-6d2ca1b4d780
23:13:27.440 [debug] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
23:13:27.460 [debug] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
23:13:27.461 [debug] End sendTelemetryForPythonKernelExecutable after 21ms
23:13:27.462 [debug] Started running kernel initialization for ~/demo/sample copy 4.ipynb
23:13:27.462 [debug] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
23:13:27.475 [debug] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 0 output(s)
23:13:27.476 [debug] Determined IPyWidgets Version as undefined
23:13:27.480 [debug] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
23:13:27.628 [debug] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 1 output(s)
23:13:27.628 [debug] Requesting Kernel info
23:13:27.629 [debug] Got Kernel info
23:13:27.629 [debug] End running kernel initialization, now waiting for idle
23:13:27.630 [debug] Waiting for idle on (kernel): 6f98f95f-1b16-4f8a-9761-6d2ca1b4d780 -> idle
23:13:27.632 [debug] Finished waiting for idle on (kernel): 6f98f95f-1b16-4f8a-9761-6d2ca1b4d780 -> idle
23:13:27.633 [debug] End running kernel initialization, session is idle
23:13:27.633 [debug] Registering commtarget jupyter.widget
23:14:00.261 [debug] Restart kernel command handler for ~/demo/sample copy 4.ipynb
23:14:01.650 [debug] restart the kernel, options.disableUI=false for ~/demo/sample copy 4.ipynb
23:14:01.651 [info] Restart requested ~/demo/sample copy 4.ipynb
23:14:01.659 [debug] Cancel pending cells
23:14:01.660 [info] Dispose Kernel process 28169.
23:14:01.713 [debug] Disposed Kernel process 28169.
23:14:01.715 [debug] KernelProcess Exited, Exit Code - undefined
23:14:01.781 [debug] Launching kernel .jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86.~/miniconda3/envs/conda1/python.~/miniconda3/envs/conda1/python.-m#ipykernel_launcher for ~/demo/sample copy 4.ipynb in ~/demo with ports 9001, 9000, 9004, 9002, 9003
23:14:01.801 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:14:01.801 [debug] Create ProcessService, Class name = ProcessServiceFactory (started execution), Arg 1: "~/demo/sample copy 4.ipynb"
23:14:01.802 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:14:01.802 [debug] Cached data exists getEnvironmentVariables, ~/demo/sample copy 4.ipynb
23:14:01.802 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 1ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:14:01.803 [debug] Create ProcessService, Class name = ProcessServiceFactory, completed in 1ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb"
23:14:01.804 [info] Process Execution: ~/miniconda3/envs/conda1/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
23:14:01.862 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:14:01.862 [debug] Kernel Env Variables for ~/Development/vsc/vscode-jupyter/temp/jupyter/kernels/python3jvsc74a57bd071370307c123c8d64b83b1f00aefa7c039bebe2dbd3670d34b48b76d8568ed86/kernel.json, PATH value is /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
23:14:01.863 [warn] Failed to resolve environment for ~/miniconda3/envs/conda1/bin/python
23:14:01.864 [debug] Create ProcessService, Class name = ProcessServiceFactory (started execution), Arg 1: "~/demo/sample copy 4.ipynb"
23:14:01.864 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider (started execution), Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:14:01.865 [debug] Cached data exists getEnvironmentVariables, ~/demo/sample copy 4.ipynb
23:14:01.865 [debug] Get Custom Env Variables, Class name = CustomEnvironmentVariablesProvider, completed in 1ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb", Arg 2: "RunNonPythonCode", Arg 3: undefined
23:14:01.866 [debug] Create ProcessService, Class name = ProcessServiceFactory, completed in 2ms, has a truthy return value, Arg 1: "~/demo/sample copy 4.ipynb"
23:14:01.867 [info] Process Execution: ~/miniconda3/envs/conda1/bin/python -m ipykernel_launcher --f=~/Library/Jupyter/runtime/kernel-v2-81931OuevxDJZkf8T.json
    > cwd: ~/demo
23:14:01.867 [info] Kernel process 29599.
23:14:02.061 [debug] ipykernel version & path 6.29.3, ~/miniconda3/envs/conda1/lib/python3.12/site-packages/ipykernel/__init__.py for ~/miniconda3/envs/conda1/bin/python
23:14:02.471 [warn] StdErr from Kernel Process 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
23:14:02.471 [debug] KernelProcess error: 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.

23:14:02.596 [debug] Kernel output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing kernel-v2-81931OuevxDJZkf8T.json

23:14:02.674 [debug] Waiting for Raw Session to be ready in postStartRawSession
23:14:02.674 [debug] Waiting for Raw session to be ready, status: connected
23:14:02.675 [debug] Raw session connected
23:14:02.675 [debug] Waiting for Raw session to be ready
23:14:02.676 [debug] Waited for Raw session to be ready & got status: connected
23:14:02.676 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
23:14:02.677 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
23:14:02.677 [debug] Sending request for kernelInfo
23:14:02.680 [debug] Got response for requestKernelInfo
23:14:02.680 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 3ms
23:14:02.681 [info] Restarted 6f98f95f-1b16-4f8a-9761-6d2ca1b4d780
23:14:02.682 [debug] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
23:14:02.691 [debug] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
23:14:02.691 [debug] End sendTelemetryForPythonKernelExecutable after 9ms
23:14:02.691 [debug] Started running kernel initialization for ~/demo/sample copy 4.ipynb
23:14:02.692 [debug] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
23:14:02.696 [debug] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 0 output(s)
23:14:02.697 [debug] Determined IPyWidgets Version as undefined
23:14:02.698 [debug] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
23:14:02.707 [debug] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 1 output(s)
23:14:02.707 [debug] Requesting Kernel info
23:14:02.708 [debug] Got Kernel info
23:14:02.708 [debug] End running kernel initialization, now waiting for idle
23:14:02.708 [debug] Waiting for idle on (kernel): 6f98f95f-1b16-4f8a-9761-6d2ca1b4d780 -> idle
23:14:02.709 [debug] Finished waiting for idle on (kernel): 6f98f95f-1b16-4f8a-9761-6d2ca1b4d780 -> idle
23:14:02.709 [debug] End running kernel initialization, session is idle
23:14:02.710 [debug] Registering commtarget jupyter.widget

This is the final entry in Python extension for the new conda env, even after 5 minutes I'm getting the same error,
meaning Python extension is now in a broken state.
2024-02-28 23:14:01.862 [debug] Environment resolver resolved /Users/donjayamanne/miniconda3/envs/conda1/bin/python for {"name":"conda1","location":"/Users/donjayamanne/miniconda3/envs/conda1","kind":"virt-conda","executable":{"filename":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","sysPrefix":"","ctime":1709122056214,"mtime":1709122056214},"display":"Python 3.12.2 ('conda1')","version":{"major":3,"minor":12,"micro":2},"arch":1,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","detailedDisplayName":"Python 3.12.2 ('conda1': conda)"} to undefined

Here are the logs after clearing the previous logs and trying to restart the kernel in a notebook
2024-02-28 23:19:10.451 [debug] Best effort version B for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":1,"micro":-1}
2024-02-28 23:19:10.454 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.455 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.457 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.458 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.460 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.462 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.463 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.465 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.466 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.467 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.469 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.470 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.472 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.473 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.474 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.475 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.477 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.479 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.491 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.491 [debug] Best effort version C for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}}
2024-02-28 23:19:10.494 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/donjayamanne/miniconda3/envs/conda1","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","executable":{"bitness":"Unknown"},"environment":{"type":"Conda","name":"conda1","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/conda1","scheme":"file"}},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python"}
2024-02-28 23:19:10.501 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.505 [debug] Best effort version D for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":12,"micro":2}
2024-02-28 23:19:10.507 [debug] Environment resolver resolved /Users/donjayamanne/miniconda3/envs/conda1/bin/python for {"name":"conda1","location":"/Users/donjayamanne/miniconda3/envs/conda1","kind":"virt-conda","executable":{"filename":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","sysPrefix":"","ctime":1709122056214,"mtime":1709122056214},"display":"Python 3.12.2 ('conda1')","version":{"major":3,"minor":12,"micro":2},"arch":1,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","detailedDisplayName":"Python 3.12.2 ('conda1': conda)"} to undefined
2024-02-28 23:19:10.507 [debug] Resolved /Users/donjayamanne/miniconda3/envs/conda1 using downstream locator
2024-02-28 23:19:10.515 [debug] Best effort version B for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":1,"micro":-1}
2024-02-28 23:19:10.516 [debug] Best effort version B for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":1,"micro":-1}
2024-02-28 23:19:10.518 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.520 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.521 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.522 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.524 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.526 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.527 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/donjayamanne/miniconda3/envs/conda1","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","executable":{"bitness":"Unknown"},"environment":{"type":"Conda","name":"conda1","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/conda1","scheme":"file"}},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python"}
2024-02-28 23:19:10.530 [debug] Best effort version C for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}}
2024-02-28 23:19:10.532 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.532 [debug] Best effort version C for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}}
2024-02-28 23:19:10.534 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/donjayamanne/miniconda3/envs/conda1","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","executable":{"bitness":"Unknown"},"environment":{"type":"Conda","name":"conda1","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/conda1","scheme":"file"}},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python"}
2024-02-28 23:19:10.541 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-28 23:19:10.543 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-28 23:19:10.545 [debug] Best effort version D for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":12,"micro":2}
2024-02-28 23:19:10.546 [debug] Best effort version D for /Users/donjayamanne/miniconda3/envs/conda1/bin/python {"major":3,"minor":12,"micro":2}
2024-02-28 23:19:10.546 [debug] Environment resolver resolved /Users/donjayamanne/miniconda3/envs/conda1/bin/python for {"name":"conda1","location":"/Users/donjayamanne/miniconda3/envs/conda1","kind":"virt-conda","executable":{"filename":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","sysPrefix":"","ctime":1709122056214,"mtime":1709122056214},"display":"Python 3.12.2 ('conda1')","version":{"major":3,"minor":12,"micro":2},"arch":1,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","detailedDisplayName":"Python 3.12.2 ('conda1': conda)"} to undefined
2024-02-28 23:19:10.546 [debug] Resolved /Users/donjayamanne/miniconda3/envs/conda1 using downstream locator
2024-02-28 23:19:10.548 [debug] Environment resolver resolved /Users/donjayamanne/miniconda3/envs/conda1/bin/python for {"name":"conda1","location":"/Users/donjayamanne/miniconda3/envs/conda1","kind":"virt-conda","executable":{"filename":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","sysPrefix":"","ctime":1709122056214,"mtime":1709122056214},"display":"Python 3.12.2 ('conda1')","version":{"major":3,"minor":12,"micro":2},"arch":1,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","detailedDisplayName":"Python 3.12.2 ('conda1': conda)"} to undefined
2024-02-28 23:19:10.548 [debug] Resolved /Users/donjayamanne/miniconda3/envs/conda1 using downstream locator

This is not indicative of what Python extension returns eventually, it's just an intermediatory state which isn't exposed, actual resolving happens following this step:
2024-02-28 23:14:01.862 [debug] Environment resolver resolved /Users/donjayamanne/miniconda3/envs/conda1/bin/python for {"name":"conda1","location":"/Users/donjayamanne/miniconda3/envs/conda1","kind":"virt-conda","executable":{"filename":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","sysPrefix":"","ctime":1709122056214,"mtime":1709122056214},"display":"Python 3.12.2 ('conda1')","version":{"major":3,"minor":12,"micro":2},"arch":1,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/Users/donjayamanne/miniconda3/envs/conda1/bin/python","detailedDisplayName":"Python 3.12.2 ('conda1': conda)"} to undefined

If Python extension indeed resolved any of the micro/major/minor to -1, we would've seen an error starting with https://github.com/microsoft/vscode-python/blob/420927771b9e4f86037f91b4c045d4b653874627/src/client/environmentApi.ts#L292-L294
Even in Jupyter logs, I don't see any indication of any of those being -1.
I think this could be residual issue from Jupyter not waiting on resolveEnvironment before attempting to work with the Environment. Btw, the following info is not expected to be present for an env without Python, so it is expected:
23:06:46.916 [warn] Unable to find Version for interpreter ~/miniconda3/envs/conda1/bin/python
23:06:46.945 [warn] Unable to find sysPrefix for interpreter ~/miniconda3/envs/conda1/bin/python

Let us know in case you're able to spot anything in the logs which Python extension is expected to return but is not, thanks.