2025-06-11 11:00:38.021 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-06-11 11:00:38.021 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-06-11 11:00:38.021 [info] Python interpreter path: ./.pixi/envs/default/bin/python
2025-06-11 11:00:38.067 [info] > pyenv which python
2025-06-11 11:00:38.067 [info] cwd: .
2025-06-11 11:00:38.982 [info] > ~/.pixi/bin/pixi run --manifest-path ./pixi.toml python ~/.vscode-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/printEnvVariables.py
2025-06-11 11:00:38.982 [info] shell: bash
2025-06-11 11:00:39.339 [info] > /bin/python3 ~/.vscode-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/printEnvVariables.py
2025-06-11 11:00:39.339 [info] shell: bash
2025-06-11 11:00:39.382 [info] Setting environment variable CONDA_DEFAULT_ENV in collection to flybody-experiments {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable CONDA_PREFIX in collection to /home/mcgillm@hhmi.org/flybody-experiments/.pixi/envs/default {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable GSETTINGS_SCHEMA_DIR in collection to /home/mcgillm@hhmi.org/flybody-experiments/.pixi/envs/default/share/glib-2.0/schemas {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable GSETTINGS_SCHEMA_DIR_CONDA_BACKUP in collection to {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable INIT_CWD in collection to /home/mcgillm@hhmi.org {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable MUJOCO_GL in collection to osmesa {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Prepending environment variable PATH in collection with /home/mcgillm@hhmi.org/.vscode-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/deactivate/bash:/home/mcgillm@hhmi.org/flybody-experiments/.pixi/envs/default/bin: {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable PIXI_ENVIRONMENT_NAME in collection to default {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable PIXI_ENVIRONMENT_PLATFORMS in collection to linux-64 {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable PIXI_EXE in collection to /home/mcgillm@hhmi.org/.pixi/bin/pixi {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable PIXI_IN_SHELL in collection to 1 {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable PIXI_PROJECT_MANIFEST in collection to /home/mcgillm@hhmi.org/flybody-experiments/pixi.toml {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable PIXI_PROJECT_NAME in collection to flybody-experiments {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable PIXI_PROJECT_ROOT in collection to /home/mcgillm@hhmi.org/flybody-experiments {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable PIXI_PROJECT_VERSION in collection to 0.1.0 {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable PIXI_PROMPT in collection to (flybody-experiments) {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Setting environment variable XML_CATALOG_FILES in collection to file:///home/mcgillm@hhmi.org/flybody-experiments/.pixi/envs/default/etc/xml/catalog file:///etc/xml/catalog {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-06-11 11:00:39.382 [info] Prepending environment variable PS1 in collection with (default) {"applyAtShellIntegration":true,"applyAtProcessCreation":false}
2025-06-11 11:00:39.384 [info] Send text to terminal: /bin/python3 /home/mcgillm@hhmi.org/.vscode-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/printEnvVariablesToFile.py /home/mcgillm@hhmi.org/.vscode-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/deactivate/bash/envVars.txt
2025-06-11 11:00:42.826 [info] Starting Pylance language server.
Type: Bug
Behaviour
When the Python extension is installed and a
pixi.tomlfile is present, the integrated terminal always starts in a Pixi environment that can't be exited without closing the terminal. Settingpython.terminal.activateEnvironmentto false doesn't change this.The auto-entered environment is called "default", and seems to have the packages described in the
pixi.tomlfile, but not the environment variables. So it isn't particularly useful, and I don't really understand how it relates to the environment that's entered when I runpixi shell(which Pixi calls something different).Steps to reproduce:
pixi init; pixi add pythonpython.terminal.activateEnvironmentto falseDiagnostic data
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Extension version: 2025.6.1
VS Code version: Code 1.100.3 (258e40fedc6cb8edf399a463ce3a9d32e7e1f6f3, 2025-06-02T13:30:54.273Z)
OS version: Linux x64 6.15.0-061500-generic
Modes:
Remote OS version: Linux x64 6.8.0-60-generic
python.languageServersetting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments