Skip to content

Import third-party packages causes the kernel to crash #25653

Closed as not planned
Closed as not planned

Description

@chenyulue

Environment data

  • VS Code version: 1.106.3
  • Jupyter Extension version (available under the Extensions sidebar): 2025.9.1
  • Python Extension version (available under the Extensions sidebar): 2025.18.0
  • OS (Windows | Mac | Linux distro) and version: Windows
  • Python and/or Anaconda version: python 3.13.9
  • Type of virtual environment used: pixi
  • Jupyter server running: Local

Expected behaviour

When importing a third-party packages, everything should work properly.

Actual behaviour

When importing the built-in package, the kernel works properly. Once I import a third-party package, the kernel crashes.

Steps to reproduce:

I have a pixi global environment base, and the following is my global environment.

Global environments as specified in 'C:\Users\cheny\.pixi\manifests\pixi-global.toml'
└── base
    ├─ dependencies: python 3.13.9, matplotlib 3.10.8, altair-all 6.0.0, jupyterlab 4.5.0, plotly 6.5.0, pandas 2.3.3, polars 1.35.2, marimo 0.18.0, openpyxl 3.1.5, streamlit 1.8.0, jupyter 1.1.1, python-kaleido 1.2.0, pip 25.3
    └─ exposes: idle, pydoc, python, pythonw, jupyter-lab, jupyter-labextension, jupyter-labhub, jlpm, marimo, streamlit, jupyter, pip, pip3, ipython

If I start the jupyter lab from terminal and edit it in browser, I can import the installed third-party packages. However, in vscode, when importing a third-party package, the kernel will crash.

Logs

14:24:50.432 [info] Restart requested ~\codes\py\python_notes\pandas\notes.ipynb
14:24:50.434 [warn] Cancel all remaining cells due to dead kernel
14:24:50.494 [error] Failed to get activated conda env vars for ~\.pixi\envs\base\python.exe
                 in 37ms
14:24:50.496 [error] Unable to determine site packages path for python ~\.pixi\envs\base\python.exe (Conda)
14:24:50.499 [info] Process Execution: ~\.pixi\envs\base\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
14:24:50.504 [info] Process Execution: ~\.pixi\envs\base\python.exe -Xfrozen_modules=off -m ipykernel_launcher --f=~\AppData\Roaming\jupyter\runtime\kernel-v334a645a02345535c3ce0b397a6d0be3c3dd27041.json
    > cwd: ~\codes\py\python_notes\pandas
14:24:51.383 [info] Restarted 2af35a85-863a-4dfe-99c6-1cba345e1460
14:28:10.730 [error] Disposing session as kernel process died ExitCode: 3228369023, Reason: 
14:28:38.735 [error] Error in notebook cell execution Error: 内核 "base(Pixi) (Python 3.13.9)" 已终止。有关详细信息,请单击[此处](https://aka.ms/vscodeJupyterKernelCrash)。有关更多详细信息,请查看 Jupyter [log](command:jupyter.viewOutput)。
    > Kernel Id = .undefined.-xfrozen_modules=off.~\.pixi\bin\python.exe.~\.pixi\envs\base\python.exe.-xfrozen_modules=off#-m#ipykernel_launcher
    > Interpreter Id = ~\.pixi\envs\base\python.exe
    > at n.verifyKernelState (~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\dist\extension.node.js:309:81661)
    > originalException = undefined
14:28:38.736 [error] Error in execution (get message for cell) Error: 内核 "base(Pixi) (Python 3.13.9)" 已终止。有关详细信息,请单击[此处](https://aka.ms/vscodeJupyterKernelCrash)。有关更多详细信息,请查看 Jupyter [log](command:jupyter.viewOutput)。
    > Kernel Id = .undefined.-xfrozen_modules=off.~\.pixi\bin\python.exe.~\.pixi\envs\base\python.exe.-xfrozen_modules=off#-m#ipykernel_launcher
    > Interpreter Id = ~\.pixi\envs\base\python.exe
    > at n.verifyKernelState (~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\dist\extension.node.js:309:81661)
    > originalException = undefined
I'm not sure whether this is related to the error `Unable to determine site packages path for python `

Activity

  1. added
    bugIssue identified by VS Code Team member as probable bug
    on Nov 29, 2025
  2. DonJayamanne commented on Dec 1, 2025

    @DonJayamanne

    Thank you for share the logs, please can you you enable logging as follows (and please share all of the logs):

    • Open settings & go into Jupyter->Logging
    • Change the value to trace
    • Reload VS Code,
    • Attempt to repro the issue & then copy the output from the Jupyter output panel (use the command Jupyter: Show Output to get to the logs).

    I need all of the logs to get more context on Python env, versions, what happens and when, etc
    If you want to remove any sensitve information (like paths) please feel free to do so, but let me know what was removed and what it was replaced with.

  3. chenyulue commented on Dec 2, 2025

    @chenyulue
    Author

    The full log are as follows Don Jayamanne (@DonJayamanne)

    Visual Studio Code (1.106.3, undefined, desktop)
    Jupyter Extension Version: 2025.9.1.
    Python Extension Version: 2025.18.0.
    Python Environment Extension not installed.
    Pylance Extension Version: 2025.10.3.
    Platform: win32 (x64).
    Home = c:\Users\cheny
    Temp Storage folder ~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2025.9.1
    Workspace folder ~\codes\py\python_notes
    19:26:01.083 [debug] getDataDirsImpl, Class name = zr (started execution), Arg 1: undefined, Arg 2: undefined
    19:26:01.084 [debug] Start refreshing Kernel Picker (1764674761084)
    19:26:01.157 [debug] Start refreshing Interpreter Kernel Picker
    19:26:02.868 [trace] Search for KernelSpecs in Interpreter ~\.pixi\envs\base\python.exe
    19:26:02.868 [trace] Search for KernelSpecs in Interpreter c:\ghcup\msys64\ucrt64\bin\python.exe
    19:26:02.868 [trace] Search for KernelSpecs in Interpreter c:\ghcup\msys64\ucrt64\bin\python3.12.exe
    19:26:02.868 [trace] Search for KernelSpecs in Interpreter c:\ghcup\msys64\ucrt64\bin\python3.exe
    19:26:02.869 [trace] Search for KernelSpecs in Interpreter usr\bin\python.exe
    19:26:02.869 [trace] Search for KernelSpecs in Interpreter usr\bin\python3.12.exe
    19:26:02.869 [trace] Search for KernelSpecs in Interpreter usr\bin\python3.exe
    19:26:02.872 [debug] Get Custom Env Variables, Class name = Gm, completed in 1788ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
    19:26:02.872 [debug] Jupyter Paths : 
    19:26:02.874 [debug] getDataDirsImpl, Class name = zr, completed in 1791ms, has a truthy return value, Arg 1: undefined, Arg 2: undefined, Return Value: <Uri:/C:/Users/<username>/AppData/Roaming/jupyter>, <Uri:/C:/ProgramData/jupyter>
    19:26:02.874 [warn] No interpreter with path ~\.pixi\bin\python.exe found in Python API, will convert Uri path to string as Id ~\.pixi\bin\python.exe
    19:26:02.876 [debug] Kernel Spec Root Paths, ~\AppData\Roaming\jupyter\kernels, c:\ProgramData\jupyter\kernels
    19:26:04.583 [trace] Hiding default KernelSpec ~\.pixi\env\base\python.exe for interpreter ~\.pixi\envs\base\python.exe (KernelSpec file ~\.pixi\envs\base\share\jupyter\kernels\python3\kernel.json)
    19:26:04.741 [trace] Python API env change detected, update => '~\.pixi\envs\base\python.exe'
    19:26:04.741 [trace] Search for KernelSpecs in Interpreter ~\.pixi\envs\base\python.exe
    19:26:04.746 [trace] Hiding default KernelSpec ~\.pixi\env\base\python.exe for interpreter ~\.pixi\envs\base\python.exe (KernelSpec file ~\.pixi\envs\base\share\jupyter\kernels\python3\kernel.json)
    19:26:04.752 [trace] Python API env change detected, update => '~\.pixi\envs\base\python.exe'
    19:26:04.752 [trace] Search for KernelSpecs in Interpreter ~\.pixi\envs\base\python.exe
    19:26:04.754 [trace] Hiding default KernelSpec ~\.pixi\env\base\python.exe for interpreter ~\.pixi\envs\base\python.exe (KernelSpec file ~\.pixi\envs\base\share\jupyter\kernels\python3\kernel.json)
    19:26:04.791 [debug] KernelProvider switched kernel to id = .undefined.-xfrozen_modules=off.~\.pixi\bin\python.exe.~\.pixi\envs\base\python.exe.-xfrozen_modules=off#-m#ipykernel_launcher
    19:26:04.791 [debug] start the kernel, options.disableUI=true for ~\codes\py\python_notes\pandas\notes.ipynb
    19:26:04.825 [trace] Registering commtarget jupyter.widget
    19:26:04.826 [debug] Controller selection change completed
    19:26:04.835 [info] Starting Kernel (Python Path: ~\.pixi\envs\base\python.exe, Conda, 3.13.9) for '~\codes\py\python_notes\pandas\notes.ipynb' (disableUI=true)
    19:26:04.835 [trace] Creating raw notebook for resource '~\codes\py\python_notes\pandas\notes.ipynb'
    19:26:04.952 [debug] Refreshed Environments
    19:26:04.953 [debug] Launching kernel .undefined.-xfrozen_modules=off.~\.pixi\bin\python.exe.~\.pixi\envs\base\python.exe.-xfrozen_modules=off#-m#ipykernel_launcher for ~\codes\py\python_notes\pandas\notes.ipynb in ~\codes\py\python_notes\pandas with ports 9001, 9000, 9004, 9002, 9003
    19:26:04.965 [trace] Python API env change detected, update => '~\.pixi\envs\base\python.exe'
    19:26:04.965 [trace] Search for KernelSpecs in Interpreter ~\.pixi\envs\base\python.exe
    19:26:04.968 [trace] Hiding default KernelSpec ~\.pixi\env\base\python.exe for interpreter ~\.pixi\envs\base\python.exe (KernelSpec file ~\.pixi\envs\base\share\jupyter\kernels\python3\kernel.json)
    19:26:04.968 [debug] Get Custom Env Variables, Class name = Gm, completed in 1ms, has a truthy return value, Arg 1: "/C:/Users/<username>/codes/py/python_notes", Arg 2: "RunPythonCode"
    19:26:04.968 [debug] Get Custom Env Variables, Class name = Gm, completed in 1ms, has a truthy return value, Arg 1: "/c:/Users/<username>/codes/py/python_notes/pandas/notes.ipynb", Arg 2: "RunPythonCode"
    19:26:05.046 [trace] Conda file is conda
    19:26:05.102 [error] Failed to get activated conda env vars for ~\.pixi\envs\base\python.exe
                     in 135ms
    19:26:05.103 [error] Unable to determine site packages path for python ~\.pixi\envs\base\python.exe (Conda)
    19:26:05.103 [trace] Prepend PATH with python bin for ~\.pixi\envs\base\python.exe
    19:26:05.104 [debug] Getting activated env variables, Class name = Wd, completed in 137ms, has a truthy return value, Arg 1: "/C:/Users/<username>/codes/py/python_notes", Arg 2: "~\\.pixi\\envs\\base\\python.exe", Arg 3: undefined
    19:26:05.111 [info] Process Execution: ~\.pixi\envs\base\python.exe -m pip list
    19:26:05.115 [error] Failed to get activated conda env vars for ~\.pixi\envs\base\python.exe
                     in 148ms
    19:26:05.116 [error] Unable to determine site packages path for python ~\.pixi\envs\base\python.exe (Conda)
    19:26:05.116 [trace] Prepend PATH with python bin for ~\.pixi\envs\base\python.exe
    19:26:05.117 [debug] Getting activated env variables, Class name = Wd, completed in 149ms, has a truthy return value, Arg 1: "/c:/Users/<username>/codes/py/python_notes/pandas/notes.ipynb", Arg 2: "~\\.pixi\\envs\\base\\python.exe", Arg 3: undefined
    19:26:05.123 [info] Process Execution: ~\.pixi\envs\base\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
    19:26:05.131 [info] Process Execution: ~\.pixi\envs\base\python.exe ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 16244
        > cwd: ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\vscode_datascience_helpers
    19:26:06.214 [trace] ipykernel version & path 7.1.0, ~\.pixi\envs\base\Lib\site-packages\ipykernel\__init__.py for ~\.pixi\envs\base\python.exe
    19:26:06.217 [debug] End refreshing Kernel Picker (1764674761084)
    19:26:06.488 [trace] Got a response of 2644 for INITIALIZE_INTERRUPT:0
    19:26:06.497 [info] Process Execution: ~\.pixi\envs\base\python.exe -Xfrozen_modules=off -m ipykernel_launcher --f=~\AppData\Roaming\jupyter\runtime\kernel-v391d87d3b33e9bb13cd5b72fa5402441d551bb25f.json
        > cwd: ~\codes\py\python_notes\pandas
    19:26:06.497 [debug] Kernel process 19744.
    19:26:07.780 [debug] Kernel output 19744: To connect another client to this kernel, use:
    --existing ~\AppData\Roaming\jupyter\runtime\kernel-v391d87d3b33e9bb13cd5b72fa5402441d551bb25f.json
    19:26:07.981 [debug] Waiting for Raw Session to be ready in postStartRawSession
    19:26:07.981 [debug] Waiting for Raw session to be ready, status: connected
    19:26:07.981 [trace] Raw session connected
    19:26:07.982 [debug] Waited for Raw session to be ready & got status: connected
    19:26:07.982 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
    19:26:07.982 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
    19:26:07.982 [debug] Sending request for kernelInfo
    19:26:08.010 [trace] Got response for requestKernelInfo
    19:26:08.010 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 28ms
    19:26:08.012 [trace] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
    19:26:08.028 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
    19:26:08.028 [trace] Started running kernel initialization for ~\codes\py\python_notes\pandas\notes.ipynb
    19:26:08.029 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
    19:26:08.099 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
    19:26:08.099 [trace] Determined IPyWidgets Version as 7
    19:26:08.099 [trace] Version of IPyWidgets 7 determined after 3.274s
    19:26:08.100 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
    19:26:08.111 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
    19:26:08.111 [debug] Requesting Kernel info
    19:26:08.112 [trace] Got Kernel info
    19:26:08.112 [trace] End running kernel initialization, now waiting for idle
    19:26:08.112 [trace] Waiting for idle on (kernel): 0df810f7-f3a8-4b9d-aed4-c5b7cb659d01 -> idle
    19:26:08.112 [trace] Finished waiting for idle on (kernel): 0df810f7-f3a8-4b9d-aed4-c5b7cb659d01 -> idle
    19:26:08.112 [trace] End running kernel initialization, session is idle
    19:26:08.113 [trace] Registering Kernel Completion Provider from kernel base(Pixi) (Python 3.13.9) for language python
    19:26:08.113 [trace] IPyWidgetScriptSource.initialize
    19:26:08.114 [info] Kernel successfully started
    19:26:08.116 [debug] getDataDirsImpl, Class name = zr (started execution), Arg 1: "/c:/Users/<username>/codes/py/python_notes/pandas/notes.ipynb", Arg 2: "~\\.pixi\\envs\\base\\python.exe"
    19:26:08.124 [info] Process Execution: ~\.pixi\envs\base\python.exe ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\printJupyterDataDir.py
    19:26:08.172 [debug] getDataDirsImpl, Class name = zr, completed in 56ms, has a truthy return value, Arg 1: "/c:/Users/<username>/codes/py/python_notes/pandas/notes.ipynb", Arg 2: "~\\.pixi\\envs\\base\\python.exe", Return Value: <Uri:/C:/Users/<username>/AppData/Roaming/jupyter>, <Uri:/C:/Users/<username>/.pixi/envs/base/share/jupyter>, <Uri:/C:/ProgramData/jupyter>
    19:26:08.631 [trace] Web view is ready to receive widget messages
    19:26:08.637 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
    19:26:08.638 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
    19:26:08.650 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/<username>/.vscode/extensions/ms-toolsai.jupyter-2025.9.1-win32-x64/temp/scripts/b7f97af617b03e99b6d5b66ba7c87ed97b07090bffc285d66e8fca9253abb3f5/jupyter
    19:26:08.651 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
    19:26:08.651 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
    19:26:08.651 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/<username>/.vscode/extensions/ms-toolsai.jupyter-2025.9.1-win32-x64/temp/scripts/b7f97af617b03e99b6d5b66ba7c87ed97b07090bffc285d66e8fca9253abb3f5/jupyter
    19:26:08.652 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"anywidget","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/<username>/.vscode/extensions/ms-toolsai.jupyter-2025.9.1-win32-x64/temp/scripts/b7f97af617b03e99b6d5b66ba7c87ed97b07090bffc285d66e8fca9253abb3f5/jupyter/nbextensions/anywidget/index","source":"local"}]
    19:26:08.652 [trace] Widget Message: Source for IPyWidget anywidget found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/<username>/.vscode/extensions/ms-toolsai.jupyter-2025.9.1-win32-x64/temp/scripts/b7f97af617b03e99b6d5b66ba7c87ed97b07090bffc285d66e8fca9253abb3f5/jupyter/nbextensions/anywidget/index.
    19:26:08.652 [trace] Widget Message: Registering IPyWidget anywidget found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/<username>/.vscode/extensions/ms-toolsai.jupyter-2025.9.1-win32-x64/temp/scripts/b7f97af617b03e99b6d5b66ba7c87ed97b07090bffc285d66e8fca9253abb3f5/jupyter/nbextensions/anywidget/index.
    19:26:09.006 [error] Widget Error: Failed to access CDN https://unpkg.com/ after 0 attempt(s), TypeError: Failed to fetch
    19:26:50.982 [debug] Handle Execution of Cells 3 for ~\codes\py\python_notes\pandas\notes.ipynb
    19:26:50.983 [trace] Execute Notebook ~\codes\py\python_notes\pandas\notes.ipynb. Step 1
    19:26:50.983 [trace] Connect to Kernel ~\codes\py\python_notes\pandas\notes.ipynb. Step 2
    19:26:50.984 [trace] Connected to Kernel ~\codes\py\python_notes\pandas\notes.ipynb. Step 3
    19:26:50.984 [trace] executeCell 3. Step 4
    19:26:50.985 [trace] Cell Index:3 sent to kernel
    19:26:50.991 [trace] Start cell 3 execution @ 1764674810990 (clear output)
    19:26:50.991 [debug] Kernel acknowledged execution of cell 3 @ 1764674810990
    19:26:51.008 [trace] Cell 3 completed in 0.018s (start: 1764674810990, end: 1764674811008)
    19:26:51.009 [trace] Cell 3 executed successfully     【Notes: Successfully because only a built-in package is imported】
    19:27:00.726 [debug] Handle Execution of Cells 4 for ~\codes\py\python_notes\pandas\notes.ipynb
    19:27:00.727 [trace] Execute Notebook ~\codes\py\python_notes\pandas\notes.ipynb. Step 1
    19:27:00.727 [trace] Connect to Kernel ~\codes\py\python_notes\pandas\notes.ipynb. Step 2
    19:27:00.727 [trace] Connected to Kernel ~\codes\py\python_notes\pandas\notes.ipynb. Step 3
    19:27:00.728 [trace] executeCell 4. Step 4
    19:27:00.728 [trace] Cell Index:4 sent to kernel
    19:27:00.734 [trace] Start cell 4 execution @ 1764674820733 (clear output)
    19:27:00.734 [debug] Kernel acknowledged execution of cell 4 @ 1764674820733
    19:27:03.213 [debug] KernelProcess Exited 19744, Exit Code - 3228369023 【Notes: Kernel exits because only a third-party package is imported】
    19:27:03.214 [error] Disposing session as kernel process died ExitCode: 3228369023, Reason: 
    19:27:03.214 [debug] Dispose Kernel process 19744.
    19:27:03.220 [debug] Disposed Kernel process 19744.
    19:27:03.247 [trace] Cell 4 completed in -1764674820.733s (start: 1764674820733, end: undefined)
  4. DonJayamanne commented on Dec 10, 2025

    @DonJayamanne

    chenyulue
    Are you able to create a virtual environment, i.e. try using something other than Pixi to test this.
    I suspect this issue is specific to Pixi environment support in Jupyter/Python extension.

  5. chenyulue commented on Dec 11, 2025

    @chenyulue
    Author

    Don Jayamanne (@DonJayamanne) When I use uv to create a virtual environment, and choose the kernel therein, the third-party packages such as pandas can be imported successfully.

    I also test a virtual environment created by pixi init test, and there I can import the third-party package too.

    So maybe the issue is related to the global environment created by pixi.

  6. removed
    bugIssue identified by VS Code Team member as probable bug
    info-neededIssue requires more information from poster
    on Dec 12, 2025
  7. DonJayamanne commented on Dec 12, 2025

    @DonJayamanne

    Eleanor Boyd (@eleanorjboyd) Karthik Nadig (@karthiknadig)
    Transferring issue here as Python extension API fails to resolve env vars for the environment. & as a result things fall over in Jupyter extension
    I believe its because its a variant of conda, which needs proper activation unlike venv

    14:24:50.494 [error] Failed to get activated conda env vars for ~.pixi\envs\base\python.exe
    in 37ms

  8. eleanorjboyd commented on Dec 18, 2025

    @eleanorjboyd
    Member

    Follow up question here- you are using Conda as the environment manager right? Have you tried the pixi specific environment manager made by a community member here: https://github.com/renan-r-santos/pixi-code

  9. chenyulue commented on Dec 19, 2025

    @chenyulue
    Author

    Eleanor Boyd (@eleanorjboyd) I've tried the pixi-code plugin, and the same issue happens. The problem is related to the pixi global environment, that is, I use such as pixi global install pandas --environment base to create a global environment and install the related packages. After that, if I import a globally installed third-party package, the kernel will crash.

    However, everything works correctly if I use jupyter by jupyter lab in browser.

  10. eleanorjboyd commented on Jan 8, 2026

    @eleanorjboyd
    Member

    Have you tried the pixi extension from one of our community members? https://marketplace.visualstudio.com/items?itemName=renan-r-santos.pixi-code is made specifically to work with the Python Envs extension and Pixi environments

  11. github-actions commented on Feb 8, 2026

    @github-actions

    Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

    Happy Coding!

  12. Elektrobomb commented on Mar 11, 2026

    @Elektrobomb

    Hey! I am seeing the same issue:

    • When I use a pixi as my python kernel, I get crashes when importing third party libraries
    • If I use another python kernel on my system, The kernel is find and the script runs as expected.
    • After reading this issue thread I found that if you start vscode from the terminal using pixi, the issue goes away and I am able to use pixi as my kernel source in Jupyter notebooks
    • I am using the Pixi Code extension by renan-r-santos, all of the above behaviour is using that plugin.

    Logs when launching VSCode from start menu

    23:21:18.234 [trace] Execute Notebook d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb. Step 1
    23:21:18.234 [trace] Connect to Kernel d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb. Step 2
    23:21:38.102 [warn] Failed to get activated env vars for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe in 30101ms
    23:21:38.102 [debug] Create ProcessService, Class name = Hm (started execution), Arg 1: undefined
    23:21:38.102 [debug] Cached data exists getEnvironmentVariables, d:\Documents\Random scripting scratchpad\Optical simulation
    23:21:38.103 [debug] Get Custom Env Variables, Class name = Gm, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunNonPythonCode", Arg 3: undefined
    23:21:38.103 [debug] Create ProcessService, Class name = Hm, completed in 1ms, has a truthy return value, Arg 1: undefined
    23:21:38.108 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe -c "import site;print("USER_BASE_VALUE");print(site.USER_SITE);print("USER_BASE_VALUE");"
    23:21:38.109 [warn] Failed to get activated env vars for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe in 30106ms
    23:21:38.142 [trace] USER_SITE for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe is ~\AppData\Roaming\Python\Python314\Scripts
    23:21:38.142 [trace] Prepend PATH with user site path for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe, user site ~\AppData\Roaming\Python\Python314\Scripts
    23:21:38.142 [trace] Prepend PATH with python bin for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe
    23:21:38.142 [trace] Prepend PATH with user site path for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe, user site ~\AppData\Roaming\Python\Python314\Scripts
    23:21:38.142 [trace] Prepend PATH with python bin for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe
    23:21:38.143 [debug] Getting activated env variables, Class name = Wd, completed in 30142ms, has a truthy return value, Arg 1: "/d:/Documents/Random scripting scratchpad/Optical simulation", Arg 2: "d:\\Documents\\Random scripting scratchpad\\Optical simulation\\.pixi\\envs\\default\\python.exe", Arg 3: undefined
    23:21:38.143 [debug] Getting activated env variables, Class name = Wd, completed in 30140ms, has a truthy return value, Arg 1: "/d:/Documents/Random scripting scratchpad/Optical simulation/simple doublet simulation.ipynb", Arg 2: "d:\\Documents\\Random scripting scratchpad\\Optical simulation\\.pixi\\envs\\default\\python.exe", Arg 3: {"_isCancelled":false,"_emitter":{"_size":3,"_deliveryQueue":{"i":-1,"end":0},"_listeners":[{"id":1283},{"id":1284},null,{"id":1289},null]}}
    23:21:38.148 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe -m pip list
    23:21:38.153 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
    23:21:38.160 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe -m ipykernel_launcher --f=~\AppData\Roaming\jupyter\runtime\kernel-v3d4cfad1a7feb00e4ccaba74c4792801f49cd3c99.json
        > cwd: d:\Documents\Random scripting scratchpad\Optical simulation
    23:21:38.160 [debug] Kernel process 10956.
    23:21:38.374 [trace] ipykernel version & path 7.2.0, d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\Lib\site-packages\ipykernel\__init__.py for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe
    23:21:38.690 [debug] Kernel output 10956: To connect another client to this kernel, use:
    --existing ~\AppData\Roaming\jupyter\runtime\kernel-v3d4cfad1a7feb00e4ccaba74c4792801f49cd3c99.json
    23:21:38.800 [debug] Waiting for Raw Session to be ready in postStartRawSession
    23:21:38.800 [debug] Waiting for Raw session to be ready, status: connected
    23:21:38.800 [trace] Raw session connected
    23:21:38.801 [debug] Waited for Raw session to be ready & got status: connected
    23:21:38.801 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
    23:21:38.801 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
    23:21:38.801 [debug] Sending request for kernelInfo
    23:21:38.823 [trace] Got response for requestKernelInfo
    23:21:38.823 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 22ms
    23:21:38.824 [trace] Executing silently Code (busy) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
    23:21:38.829 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
    23:21:38.830 [trace] Started running kernel initialization for d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb
    23:21:38.830 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
    23:21:38.873 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
    23:21:38.874 [trace] Determined IPyWidgets Version as 8
    23:21:38.874 [trace] Version of IPyWidgets 8 determined after 28.712s
    23:21:38.874 [trace] Version of IPyWidgets 8 determined after 28.543s
    23:21:38.874 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
    23:21:38.882 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
    23:21:38.882 [debug] Requesting Kernel info
    23:21:38.882 [trace] Got Kernel info
    23:21:38.882 [trace] End running kernel initialization, now waiting for idle
    23:21:38.883 [trace] Waiting for idle on (kernel): 0c3581c6-ab3e-4a0d-a20e-e18215d56006 -> idle
    23:21:38.883 [trace] Finished waiting for idle on (kernel): 0c3581c6-ab3e-4a0d-a20e-e18215d56006 -> idle
    23:21:38.883 [trace] End running kernel initialization, session is idle
    23:21:38.883 [trace] Registering Kernel Completion Provider from kernel default (Python 3.14.3) for language python
    23:21:38.884 [trace] IPyWidgetScriptSource.initialize
    23:21:38.884 [info] Kernel successfully started
    23:21:38.886 [debug] getDataDirsImpl, Class name = zr (started execution), Arg 1: "/d:/Documents/Random scripting scratchpad/Optical simulation/simple doublet simulation.ipynb", Arg 2: "D:\\Documents\\Random scripting scratchpad\\Optical simulation\\.pixi\\envs\\default\\python.exe"
    23:21:38.886 [debug] Dispose Kernel process 10956.
    23:21:38.890 [info] Process Execution: c:\WINDOWS\System32\taskkill.exe /F /T /PID 10956
    23:21:38.930 [debug] Launching kernel .jvsc74a57bd0448e822cde66b9fcd9abdc1e7712d18bb844756000fd727408cf81f225f5a78c.d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe.d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe.-m#ipykernel_launcher for d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb in d:\Documents\Random scripting scratchpad\Optical simulation with ports 9006, 9005, 9009, 9007, 9008
    23:21:38.934 [trace] Got a response of 2424 for INITIALIZE_INTERRUPT:1
    23:21:38.999 [debug] Disposed Kernel process 10956.
    23:21:39.000 [trace] Python API env change detected, add => 'd:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe'
    23:21:39.000 [debug] Start refreshing Kernel Picker (1773271299000)
    23:21:39.001 [debug] Get Custom Env Variables, Class name = Gm, completed in 0ms, has a truthy return value, Arg 1: "/d:/Documents/Random scripting scratchpad/Optical simulation/simple doublet simulation.ipynb", Arg 2: "RunPythonCode"
    23:21:39.001 [debug] End refreshing Kernel Picker (1773271299000)
    23:21:39.006 [debug] KernelProcess Exited 10956, Exit Code - 1
    23:21:39.399 [trace] Web view is ready to receive widget messages
    23:21:39.403 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
    23:21:39.403 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
    23:21:39.407 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
    23:21:39.408 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
    23:21:39.801 [error] Widget Error: Failed to access CDN https://unpkg.com/ after 0 attempt(s), TypeError: Failed to fetch
    23:22:09.052 [warn] Failed to get activated env vars for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe in 30052ms
    23:22:09.052 [trace] Prepend PATH with user site path for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe, user site ~\AppData\Roaming\Python\Python314\Scripts
    23:22:09.053 [trace] Prepend PATH with python bin for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe
    23:22:09.053 [debug] Getting activated env variables, Class name = Wd, completed in 30053ms, has a truthy return value, Arg 1: "/d:/Documents/Random scripting scratchpad/Optical simulation/simple doublet simulation.ipynb", Arg 2: "d:\\Documents\\Random scripting scratchpad\\Optical simulation\\.pixi\\envs\\default\\python.exe", Arg 3: undefined
    23:22:09.058 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\printJupyterDataDir.py
    23:22:09.060 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
    23:22:09.065 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe -m ipykernel_launcher --f=~\AppData\Roaming\jupyter\runtime\kernel-v36049db4f32e3721fe6d1eced772d0ff23a56e3e9.json
        > cwd: d:\Documents\Random scripting scratchpad\Optical simulation
    23:22:09.065 [debug] Kernel process 30140.
    23:22:09.088 [debug] getDataDirsImpl, Class name = zr, completed in 30202ms, has a truthy return value, Arg 1: "/d:/Documents/Random scripting scratchpad/Optical simulation/simple doublet simulation.ipynb", Arg 2: "D:\\Documents\\Random scripting scratchpad\\Optical simulation\\.pixi\\envs\\default\\python.exe", Return Value: <Uri:/C:/Users/<username>/AppData/Roaming/Python/share/jupyter>, <Uri:/C:/Users/<username>/AppData/Roaming/jupyter>, <Uri:/D:/Documents/Random scripting scratchpad/Optical simulation/.pixi/envs/default/share/jupyter>, <Uri:/C:/ProgramData/jupyter>
    23:22:09.101 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/<username>/.vscode/extensions/ms-toolsai.jupyter-2025.9.1-win32-x64/temp/scripts/00783851dd758c22a62245e9fc76ba416f0ea1c2da6db694e1c3729d07877643/jupyter
    23:22:09.101 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/<username>/.vscode/extensions/ms-toolsai.jupyter-2025.9.1-win32-x64/temp/scripts/00783851dd758c22a62245e9fc76ba416f0ea1c2da6db694e1c3729d07877643/jupyter
    23:22:09.273 [trace] ipykernel version & path 7.2.0, d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\Lib\site-packages\ipykernel\__init__.py for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe
    23:22:09.578 [debug] Kernel output 30140: To connect another client to this kernel, use:
    --existing ~\AppData\Roaming\jupyter\runtime\kernel-v36049db4f32e3721fe6d1eced772d0ff23a56e3e9.json
    23:22:09.679 [debug] Waiting for Raw Session to be ready in postStartRawSession
    23:22:09.679 [debug] Waiting for Raw session to be ready, status: connected
    23:22:09.679 [trace] Raw session connected
    23:22:09.680 [debug] Waited for Raw session to be ready & got status: connected
    23:22:09.680 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
    23:22:09.680 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
    23:22:09.680 [debug] Sending request for kernelInfo
    23:22:09.694 [trace] Got response for requestKernelInfo
    23:22:09.694 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 14ms
    23:22:09.695 [info] Restarted 0c3581c6-ab3e-4a0d-a20e-e18215d56006
    23:22:09.695 [trace] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
    23:22:09.696 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_onRestartKernel
    23:22:09.699 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
    23:22:09.699 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
    23:22:09.701 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
    23:22:09.701 [trace] Started running kernel initialization for d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb
    23:22:09.701 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
    23:22:09.745 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
    23:22:09.745 [trace] Determined IPyWidgets Version as 8
    23:22:09.745 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
    23:22:09.754 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
    23:22:09.754 [debug] Requesting Kernel info
    23:22:09.755 [trace] Got Kernel info
    23:22:09.755 [trace] End running kernel initialization, now waiting for idle
    23:22:09.755 [trace] Waiting for idle on (kernel): 0c3581c6-ab3e-4a0d-a20e-e18215d56006 -> idle
    23:22:09.755 [trace] Finished waiting for idle on (kernel): 0c3581c6-ab3e-4a0d-a20e-e18215d56006 -> idle
    23:22:09.755 [trace] End running kernel initialization, session is idle
    23:22:09.755 [trace] Registering commtarget jupyter.widget
    23:22:09.756 [trace] Connected to Kernel d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb. Step 3
    23:22:09.756 [trace] executeCell 1. Step 4
    23:22:09.757 [trace] Cell Index:1 sent to kernel
    23:22:09.761 [trace] Start cell 1 execution @ 1773271329761 (clear output)
    23:22:09.761 [debug] Kernel acknowledged execution of cell 1 @ 1773271329761
    23:22:09.830 [debug] KernelProcess Exited 30140, Exit Code - 3228369023 
    23:22:09.830 [error] Disposing session as kernel process died ExitCode: 3228369023, Reason: 
    23:22:09.831 [debug] Dispose Kernel process 30140.
    23:22:09.834 [debug] Disposed Kernel process 30140.
    23:22:09.852 [trace] Cell 1 completed in -1773271329.761s (start: 1773271329761, end: undefined)
    

    Logs when launching VSCode with pixi from terminal

    23:25:49.843 [trace] Execute Notebook d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb. Step 1
    23:25:49.843 [trace] Connect to Kernel d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb. Step 2
    23:26:04.540 [warn] Failed to get activated env vars for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe in 30055ms
    23:26:04.541 [trace] Prepend PATH with user site path for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe, user site ~\AppData\Roaming\Python\Python314\Scripts
    23:26:04.541 [trace] Prepend PATH with python bin for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe
    23:26:04.541 [debug] Getting activated env variables, Class name = Wd, completed in 30056ms, has a truthy return value, Arg 1: "/d:/Documents/Random scripting scratchpad/Optical simulation/simple doublet simulation.ipynb", Arg 2: "D:\\Documents\\Random scripting scratchpad\\Optical simulation\\.pixi\\envs\\default\\python.exe", Arg 3: undefined
    23:26:04.548 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\printJupyterDataDir.py
    23:26:04.550 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
    23:26:04.555 [info] Process Execution: d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe -m ipykernel_launcher --f=~\AppData\Roaming\jupyter\runtime\kernel-v377eaa70d078fc9c1e99cc5c0b243551f2fea5d9a.json
        > cwd: d:\Documents\Random scripting scratchpad\Optical simulation
    23:26:04.555 [debug] Kernel process 21444.
    23:26:04.579 [debug] getDataDirsImpl, Class name = zr, completed in 30194ms, has a truthy return value, Arg 1: "/d:/Documents/Random scripting scratchpad/Optical simulation/simple doublet simulation.ipynb", Arg 2: "D:\\Documents\\Random scripting scratchpad\\Optical simulation\\.pixi\\envs\\default\\python.exe", Return Value: <Uri:/C:/Users/<username>/AppData/Roaming/Python/share/jupyter>, <Uri:/C:/Users/<username>/AppData/Roaming/jupyter>, <Uri:/D:/Documents/Random scripting scratchpad/Optical simulation/.pixi/envs/default/share/jupyter>, <Uri:/C:/ProgramData/jupyter>
    23:26:04.592 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/<username>/.vscode/extensions/ms-toolsai.jupyter-2025.9.1-win32-x64/temp/scripts/00783851dd758c22a62245e9fc76ba416f0ea1c2da6db694e1c3729d07877643/jupyter
    23:26:04.592 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/<username>/.vscode/extensions/ms-toolsai.jupyter-2025.9.1-win32-x64/temp/scripts/00783851dd758c22a62245e9fc76ba416f0ea1c2da6db694e1c3729d07877643/jupyter
    23:26:04.758 [trace] ipykernel version & path 7.2.0, d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\Lib\site-packages\ipykernel\__init__.py for d:\Documents\Random scripting scratchpad\Optical simulation\.pixi\envs\default\python.exe
    23:26:05.063 [debug] Kernel output 21444: To connect another client to this kernel, use:
    --existing ~\AppData\Roaming\jupyter\runtime\kernel-v377eaa70d078fc9c1e99cc5c0b243551f2fea5d9a.json
    23:26:05.166 [debug] Waiting for Raw Session to be ready in postStartRawSession
    23:26:05.167 [debug] Waiting for Raw session to be ready, status: connected
    23:26:05.167 [trace] Raw session connected
    23:26:05.167 [debug] Waited for Raw session to be ready & got status: connected
    23:26:05.167 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
    23:26:05.167 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
    23:26:05.167 [debug] Sending request for kernelInfo
    23:26:05.181 [trace] Got response for requestKernelInfo
    23:26:05.181 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 14ms
    23:26:05.182 [info] Restarted 083be0d0-1cc9-4ed6-a4fd-13ca4e1f4642
    23:26:05.182 [trace] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
    23:26:05.187 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_onRestartKernel
    23:26:05.188 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
    23:26:05.188 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
    23:26:05.189 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
    23:26:05.189 [trace] Started running kernel initialization for d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb
    23:26:05.189 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
    23:26:05.233 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
    23:26:05.233 [trace] Determined IPyWidgets Version as 8
    23:26:05.233 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
    23:26:05.242 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
    23:26:05.242 [debug] Requesting Kernel info
    23:26:05.242 [trace] Got Kernel info
    23:26:05.242 [trace] End running kernel initialization, now waiting for idle
    23:26:05.242 [trace] Waiting for idle on (kernel): 083be0d0-1cc9-4ed6-a4fd-13ca4e1f4642 -> idle
    23:26:05.242 [trace] Finished waiting for idle on (kernel): 083be0d0-1cc9-4ed6-a4fd-13ca4e1f4642 -> idle
    23:26:05.242 [trace] End running kernel initialization, session is idle
    23:26:05.243 [trace] Registering commtarget jupyter.widget
    23:26:05.243 [trace] Connected to Kernel d:\Documents\Random scripting scratchpad\Optical simulation\simple doublet simulation.ipynb. Step 3
    23:26:05.243 [trace] executeCell 1. Step 4
    23:26:05.244 [trace] Cell Index:1 sent to kernel
    23:26:05.249 [trace] Start cell 1 execution @ 1773271565249 (clear output)
    23:26:05.249 [debug] Kernel acknowledged execution of cell 1 @ 1773271565249
    23:26:07.579 [trace] Cell 1 completed in 2.33s (start: 1773271565249, end: 1773271567579)
    23:26:07.580 [trace] Cell 1 executed successfully
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

confirmation pendingThe issue needs to be confirmed through a maintainer reproducing the bug.info-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions