Type: Bug
Behaviour
I'm on Windows. Upon updating to 2026.6.0, I would run Jupyter notebooks in VS code using a conda env as my kernel. After updating, whenever I started the kernel, I could run a few code blocks but within ~1 min (or immediately upon running certain code blocks), the kernel would crash with exit code 0xC06D007F and no further explanation.
Tracing the issue found that upon starting the kernel, os.environ['PATH'] would contain
C:\\Users\\[myusername]\\anaconda3\\envs\\[myenvname]
but would be missing entries like the following, which are present when I simply activate the environment in an Anaconda Prompt and enter python:
'C:\\Users\\[myusername]\\anaconda3\\envs\\[myenvname]\\Library\\mingw-w64\\bin',
'C:\\Users\\[myusername]\\anaconda3\\envs\\[myenvname]\\Library\\usr\\bin',
'C:\\Users\\[myusername]\\anaconda3\\envs\\[myenvname]\\Library\\bin',
'C:\\Users\\[myusername]\\anaconda3\\envs\\[myenvname]\\Scripts',
'C:\\Users\\[myusername]\\anaconda3\\envs\\[myenvname]\\bin',
'C:\\Users\\[myusername]\\Miniforge3\\condabin
Manually adding these to the path with the following bandaid code prevented the kernel from crashing.
import os
env = r'C:\Users\[myusername]\anaconda3\envs\[myenvname]'
dirs = [env, env + r'\Library\mingw-w64\bin', env + r'\Library\usr\bin',
env + r'\Library\bin', env + r'\Scripts', env + r'\bin']
os.environ['PATH'] = ';'.join(dirs) + ';' + os.environ['PATH']
for d in dirs:
if os.path.isdir(d): os.add_dll_directory(d)
Setting python.useEnvironmentsExtension to False in VSCode settings also appeared to resolve the issue.
My hypothesis is that native libraries that rely on the environment's DLLs then fail to load.
The Python extension logs this when the Jupyter extension asks for the activated variables:
Using Windows-specific commands: activate, conda activate [myenvname]
> activate && conda activate [myenvname] && echo '…' && python ~\.vscode\extensions\ms-python.python-2026.6.0-win32-x64\python_files\printEnvVariables.py
shell: commandPrompt
[error] getActivatedEnvironmentVariables [Error: Command failed: … 'activate' is not recognized as an internal or external command
The Jupyter extension then logs Failed to get activated conda env vars (92–115 ms) and Unable to determine site packages path, and launches the kernel anyway with the un-activated environment. Meanwhile the Python Environments extension has already resolved the correct paths in the same session:
Using conda from settings: ~\anaconda3\condabin\conda.bat
Local Activation: Found, Path: ~\anaconda3\Scripts\activate
✓ Using Windows-specific activation configuration
So the activation command the Python extension builds uses bare activate / conda activate <name> and appears to ignore the paths the envs extension resolved (and my python.condaPath). The command only works if Anaconda's condabin or Scripts is on PATH, which the Anaconda installer does not do by default.
Steps to reproduce:
-
On Windows x64, install Anaconda with the default options (so conda is not on the global PATH), and create a conda env with numpy/scikit-learn (MKL build) plus ipykernel.
2. In VS Code 1.140.0, install the Python (2026.6.0), Python Environments (1.38.0) and Jupyter (2025.9.1) extensions. Leave python.useEnvironmentsExtension unset.
3. Open a folder and a .ipynb, and select the conda environment's kernel.
4. Run a cell that prints the PATH entries containing conda. Only the environment root is present, with no Library\bin or Scripts:
import os
print([p for p in os.environ['PATH'].split(';') if 'conda' in p.lower()])
- Run a cell that uses MKL:
import numpy as np
from sklearn.decomposition import PCA
PCA(n_components=10).fit_transform(np.random.randn(33, 16))
The kernel dies with exit code 3228369023 (0xC06D007F).
6. Set "python.useEnvironmentsExtension": false, fully restart VS Code, and rerun. The PATH is complete and the cell runs.
Workarounds
- Setting
python.useEnvironmentsExtension to False in VSCode settings
- Manually adding missing directories to os.environ['PATH'] in Python after starting the kernel
Diagnostic data
Output of Python extension:
2026-09-30 15:16:03.863 [info] Python-envs extension version: 1.38.0
2026-09-30 15:16:03.864 [info]
=== Python Envs Configuration Levels ===
2026-09-30 15:16:03.864 [info] {
"section": "Python Envs Configuration Levels",
"defaultEnvManager": {
"workspaceFolderValue": "undefined",
"workspaceValue": "undefined",
"globalValue": "undefined",
"defaultValue": "ms-python.python:venv"
},
"defaultPackageManager": {
"workspaceFolderValue": "undefined",
"workspaceValue": "undefined",
"globalValue": "undefined",
"defaultValue": "ms-python.python:pip"
}
}
2026-09-30 15:16:03.864 [info] Python API: Projects changed. Added: 2, Removed: 0
2026-09-30 15:16:03.864 [info] [pet] Starting Python Locator c:\Users\[myusername]\.vscode\extensions\ms-python.vscode-python-envs-1.38.0-win32-x64\python-env-tools\bin\pet.exe server
2026-09-30 15:16:03.864 [info] Registering conda manager (environments will be discovered lazily)
2026-09-30 15:16:03.864 [info] Registering pyenv manager (environments will be discovered lazily)
2026-09-30 15:16:03.864 [info] Registering pipenv manager (environments will be discovered lazily)
2026-09-30 15:16:03.864 [info] Registering poetry manager (environments will be discovered lazily)
2026-09-30 15:16:03.864 [info] [interpreterSelection] Applying initial environment selection for 2 workspace folder(s)
2026-09-30 15:16:03.864 [info] [pet] configure: Sending configuration update: {"workspaceDirectories":[[open_folder_inVScode],[open_folder_inVScode]],"environmentDirectories":["[open_folder_inVScode]/.venv","[open_folder_inVScode]/*/.venv",[open_folder_inVScode]/.venv","[open_folder_inVScode]/*/.venv"],"condaExecutable":"C:\\Users\\[myusername]\\anaconda3\\condabin\\conda.bat","pipenvExecutable":"pipenv","poetryExecutable":"poetry","cacheDirectory":"c:\\Users\\[myusername]\\AppData\\Roaming\\Code\\User\\globalStorage\\ms-python.vscode-python-envs\\pythonLocator"}
2026-09-30 15:16:03.865 [error] [pet] �[2m 0.040053300s�[0m �[33m WARN�[0m �[2mpet_windows_registry::environments�[0m�[2m:�[0m Failed to open HKLM\Software\Python, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-09-30 15:16:04.676 [error] [pet] �[2m 0.055236100s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.055291200s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.055366100s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.057004700s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.057846100s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.058046300s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.186528800s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.186629800s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.186798100s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.186972600s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.187111000s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
�[2m 0.187164300s�[0m �[33m WARN�[0m �[2mpet_conda::package�[0m�[2m:�[0m Unable to find conda package Python in "C:\\Users\\[myusername]\\anaconda3\\envs\\[an_env_name]", trying slower approach
2026-09-30 15:16:05.899 [info] Discovered manager: (Conda) C:\Users\[myusername]\anaconda3\Scripts\conda.exe
2026-09-30 15:16:06.134 [info] Discovered env: C:\Users\[myusername]\anaconda3\python.exe
2026-09-30 15:16:06.262 [info] Discovered env: C:\Users\[myusername]\anaconda3\envs\[an_env_name]\python.exe
2026-09-30 15:16:06.265 [info] Refreshing Conda Environments
2026-09-30 15:16:06.265 [info] Refreshing conda environments (hardRefresh=true)
2026-09-30 15:16:06.265 [info] Refreshing Pyenv Environments
2026-09-30 15:16:06.265 [info] Refreshing pyenv environments
2026-09-30 15:16:06.265 [info] Refreshing Pipenv Environments
2026-09-30 15:16:06.265 [info] Refreshing pipenv environments
2026-09-30 15:16:06.265 [info] Refreshing Poetry Environments
2026-09-30 15:16:06.265 [info] Refreshing poetry environments
2026-09-30 15:16:06.549 [info] Discovered env: C:\Users\[myusername]\anaconda3\envs\[an_env_name]\python.exe
2026-09-30 15:16:06.566 [info] Discovered env: C:\Users\[myusername]\anaconda3\envs\[an_env_name]\python.exe
2026-09-30 15:16:06.601 [info] Discovered env: C:\Users\[myusername]\anaconda3\envs\[an_env_name]\python.exe
2026-09-30 15:16:06.611 [info] Discovered env: C:\Users\[myusername]\anaconda3\envs\[an_env_name]\python.exe
2026-09-30 15:16:06.620 [info] Discovered env: C:\Users\[myusername]\anaconda3\envs\[an_env_name]\python.exe
2026-09-30 15:16:06.622 [info] Discovered env: C:\Users\[myusername]\anaconda3\envs\[an_env_name]\python.exe
2026-09-30 15:16:06.624 [info] Discovered env: C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:06.628 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:06.628 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "base"
- Prefix: "C:\Users\[myusername]\anaconda3"
- Name: "base"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.629 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.629 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.629 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.629 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.629 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.629 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.629 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.629 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.630 [info] Found base environment: C:\Users\[myusername]\anaconda3
2026-09-30 15:16:06.630 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.630 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.630 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.630 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.630 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.630 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.630 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.630 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:06.638 [info] Skipping Python install prompt: user selected "Don't ask again"
2026-09-30 15:16:06.638 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:06.638 [info] Refreshing conda environments (hardRefresh=false)
2026-09-30 15:16:06.638 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:06.639 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "base"
- Prefix: "C:\Users\[myusername]\anaconda3"
- Name: "base"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.639 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.639 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.639 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.639 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.639 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.639 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.639 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[an_env_name]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[an_env_name]"
- Name: "[an_env_name]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.639 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Error: Conda environment manager is not available, using default conda activation paths
==========================================
2026-09-30 15:16:06.639 [info] Found base environment: C:\Users\[myusername]\anaconda3
2026-09-30 15:16:06.639 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.639 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.639 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.639 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.639 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.639 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.639 [info] Found named environment: [an_env_name] at C:\Users\[myusername]\anaconda3\envs\[an_env_name]
2026-09-30 15:16:06.639 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:06.644 [info] [SYS_GET] uri=[open_folder_inVScode], normalizedKey=[open_folder_inVScode], project=[open_folder_inVScode], projectKey=[open_folder_inVScode], mapKeys=[], directHit=false, projectHit=false, fallbackToGlobal=true, globalEnv=none
2026-09-30 15:16:06.664 [info] Found global conda sourcing script at: C:\Users\[myusername]\anaconda3\Scripts\activate.bat
2026-09-30 15:16:06.679 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:06.682 [info] [interpreterSelection] [open_folder_inVScode]: none (source: autoDiscovery)
2026-09-30 15:16:06.683 [info] [SYS_GET] uri=[open_folder_inVScode], normalizedKey=[open_folder_inVScode], project=[open_folder_inVScode], projectKey=[open_folder_inVScode], mapKeys=[], directHit=false, projectHit=false, fallbackToGlobal=true, globalEnv=none
2026-09-30 15:16:06.719 [info] conda.sh found in C:\Users\[myusername]\anaconda3\etc\profile.d\conda.sh
2026-09-30 15:16:06.732 [info] conda.fish found in C:\Users\[myusername]\anaconda3\etc\fish\conf.d\conda.fish
2026-09-30 15:16:06.738 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:06.741 [info] Conda Sourcing Status:
├─ Conda Path: C:\Users\[myusername]\anaconda3\condabin\conda.bat
├─ Conda Folder: C:\Users\[myusername]\anaconda3
├─ Active on Launch: false
├─ Global Sourcing Script: C:\Users\[myusername]\anaconda3\Scripts\activate.bat
└─ Shell-specific Sourcing Scripts:
├─ PowerShell: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
├─ Bash/sh: C:\Users\[myusername]\anaconda3\etc\profile.d\conda.sh
├─ CMD: C:\Users\[myusername]\anaconda3\condabin\activate.bat
└─ Fish: C:\Users\[myusername]\anaconda3\etc\fish\conf.d\conda.fish
├─ Shell conda init status: bash: ✗, zsh: ✗, fish: ✗, pwsh: ✗
2026-09-30 15:16:06.744 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:06.748 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:06.752 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:06.811 [info] [interpreterSelection] [myenvname] Python Notebooks: none (source: autoDiscovery)
2026-09-30 15:16:06.977 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.003 [info] [interpreterSelection] global: none (source: autoDiscovery)
2026-09-30 15:16:07.045 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.076 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.088 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.093 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.112 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.116 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.119 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.391 [info] Pipenv not found via settings, cache, or PATH
2026-09-30 15:16:07.391 [info] Found 0 pipenv environments
2026-09-30 15:16:07.391 [info] Refreshing pyenv environments
2026-09-30 15:16:07.393 [info] Poetry executable not found
2026-09-30 15:16:07.458 [info] Refreshing poetry environments
2026-09-30 15:16:07.459 [info] Pipenv not found via settings, cache, or PATH
2026-09-30 15:16:07.460 [info] Refreshing pipenv environments
2026-09-30 15:16:07.510 [info] Pipenv not found via settings, cache, or PATH
2026-09-30 15:16:07.510 [info] Found 0 pipenv environments
2026-09-30 15:16:07.512 [info] Poetry executable not found
2026-09-30 15:16:07.530 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.533 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.535 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.537 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.539 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.541 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.543 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.543 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.544 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.544 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.545 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.545 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.546 [info] Found local activation script at: C:\Users\[myusername]\anaconda3\Scripts\activate, adding to cache.
2026-09-30 15:16:07.546 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.546 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.547 [info] Found local activation script at: C:\Users\[myusername]\anaconda3\Scripts\activate, adding to cache.
2026-09-30 15:16:07.547 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.547 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.547 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.549 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.549 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.550 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.550 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.550 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.550 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.550 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.550 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.552 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.552 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.553 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.553 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.553 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.554 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.554 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.554 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.554 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.556 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.556 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.556 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.556 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.558 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.560 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.562 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.567 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.570 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.570 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.571 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.571 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.571 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.571 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.571 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.573 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.574 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.574 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.575 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.578 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.579 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.581 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.584 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.589 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.591 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.591 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.592 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.592 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.592 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.593 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:07.593 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:07.594 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:07.594 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:07.594 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
2026-09-30 15:16:07.806 [info] Pipenv not found via settings, cache, or PATH
2026-09-30 15:16:07.812 [info] Environment discovery complete: 9 environments found (Conda: 9)
2026-09-30 15:16:09.334 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:09.337 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:09.344 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:09.354 [info] Resolved Python Environment C:\Users\[myusername]\anaconda3\envs\[myenvname]\python.exe
2026-09-30 15:16:09.354 [info] Using conda from settings: C:\Users\[myusername]\anaconda3\condabin\conda.bat
2026-09-30 15:16:09.357 [info] Conda hook found at: C:\Users\[myusername]\anaconda3\shell\condabin\conda-hook.ps1
2026-09-30 15:16:09.357 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "[myenvname]"
- Prefix: "C:\Users\[myusername]\anaconda3\envs\[myenvname]"
- Name: "[myenvname]"
Local Activation:
- Status: Found
- Path: C:\Users\[myusername]\anaconda3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Users\[myusername]\anaconda3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-09-30 15:16:09.357 [info] Found named environment: [myenvname] at C:\Users\[myusername]\anaconda3\envs\[myenvname]
Output of Python environments extension
2026-09-30 15:16:03.775 [info] Environment discovery is managed by the Python Environments extension (ms-python.vscode-python-envs). Check the "Python Environments" output channel for environment-specific logs.
2026-09-30 15:16:06.170 [info] [test-by-project] Activating project-based testing mode
2026-09-30 15:16:06.170 [info] [test-by-project] Discovering projects for workspace: [open_folder_inVScode]
2026-09-30 15:16:06.170 [info] [test-by-project] Discovering projects for workspace: [open_folder_inVScode]
2026-09-30 15:16:06.171 [info] Native locator: Refresh started
2026-09-30 15:16:06.171 [info] [test-by-project] Found 2 total Python projects from API
2026-09-30 15:16:06.171 [info] [test-by-project] Filtered to 1 projects in workspace
2026-09-30 15:16:06.171 [info] [test-by-project] Creating adapter for: [open_folder_inVScode] at file:[open_folder_inVScode]
2026-09-30 15:16:06.171 [info] [test-by-project] Found 2 total Python projects from API
2026-09-30 15:16:06.171 [info] [test-by-project] Filtered to 1 projects in workspace
2026-09-30 15:16:06.171 [info] [test-by-project] Creating adapter for: [myenvname] Python Notebooks at file:[open_folder_inVScode]
2026-09-30 15:16:06.172 [info] Native locator: Refresh started
2026-09-30 15:16:06.190 [info] Native locator: Refresh started
2026-09-30 15:16:06.256 [info] > ~\anaconda3\condabin\conda.bat info --json
2026-09-30 15:16:06.259 [info] > conda info --json
2026-09-30 15:16:06.642 [info] [test-by-project] No Python environment resolved yet for project file:[open_folder_inVScode]; deferring until one is assigned
2026-09-30 15:16:06.642 [info] [test-by-project] No Python environment resolved yet for project file:[open_folder_inVScode]; deferring until one is assigned
2026-09-30 15:16:06.643 [info] No Python environment is set for this resource. Check the "Python Environments" output channel for details, or select an interpreter.
2026-09-30 15:16:06.643 [info] [test-by-project] All adapters failed, falling back to default project
2026-09-30 15:16:06.643 [info] [test-by-project] Creating default project for: [open_folder_inVScode]
2026-09-30 15:16:06.643 [info] [test-by-project] All adapters failed, falling back to default project
2026-09-30 15:16:06.643 [info] [test-by-project] Creating default project for: [open_folder_inVScode]
2026-09-30 15:16:06.647 [error] Unable to start Jedi language server as a valid interpreter is not selected
2026-09-30 15:16:06.647 [info] [test-by-project] Registered 1 project(s) for [open_folder_inVScode]
2026-09-30 15:16:06.647 [info] No Python environment is set for this resource. Check the "Python Environments" output channel for details, or select an interpreter.
2026-09-30 15:16:06.647 [info] [test-by-project] Registered 1 project(s) for [open_folder_inVScode]
2026-09-30 15:16:06.648 [info] [test-by-project] Activated 1 project(s) for [open_folder_inVScode]
2026-09-30 15:16:06.648 [info] [test-by-project] Activated 1 project(s) for [open_folder_inVScode]
2026-09-30 15:16:06.648 [info] [test-by-project] Subscribed to Python project changes
2026-09-30 15:16:06.648 [info] [test-by-project] Subscribed to Python environment changes
2026-09-30 15:16:06.981 [info] No Python environment is set for this resource. Check the "Python Environments" output channel for details, or select an interpreter.
2026-09-30 15:16:06.999 [info] > python -c "import sys;print(sys.executable)"
2026-09-30 15:16:07.247 [info] No Python environment is set for this resource. Check the "Python Environments" output channel for details, or select an interpreter.
2026-09-30 15:16:07.593 [info] Using interpreter path: undefined
2026-09-30 15:16:07.594 [info] Using interpreter path: undefined
2026-09-30 15:16:07.595 [info] Using Windows-specific commands: activate, conda activate [myenvname]
2026-09-30 15:16:07.609 [info] > activate && conda activate [myenvname] && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2026.6.0-win32-x64/python_files/printEnvVariables.py
2026-09-30 15:16:07.609 [info] shell: commandPrompt
2026-09-30 15:16:07.629 [info] Using Windows-specific commands: activate, conda activate [myenvname]
2026-09-30 15:16:07.633 [info] > activate && conda activate [myenvname] && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2026.6.0-win32-x64/python_files/printEnvVariables.py
2026-09-30 15:16:07.633 [info] shell: commandPrompt
2026-09-30 15:16:07.639 [error] getActivatedEnvironmentVariables [Error: Command failed: activate && conda activate [myenvname] && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:/Users/[myusername]/.vscode/extensions/ms-python.python-2026.6.0-win32-x64/python_files/printEnvVariables.py
'activate' is not recognized as an internal or external command,
operable program or batch file.
at genericNodeError (node:internal/errors:986:15)
at wrappedFn (node:internal/errors:540:14)
at ChildProcess.exithandler (node:child_process:418:12)
at ChildProcess.emit (node:events:526:24)
at maybeClose (node:internal/child_process:1141:16)
at Socket.<anonymous> (node:internal/child_process:498:11)
at Socket.emit (node:events:514:28)
at Pipe.<anonymous> (node:net:362:12)] {
code: 1,
killed: false,
signal: null,
cmd: "activate && conda activate [myenvname] && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:/Users/[myusername]/.vscode/extensions/ms-python.python-2026.6.0-win32-x64/python_files/printEnvVariables.py"
}
2026-09-30 15:16:07.665 [error] getActivatedEnvironmentVariables [Error: Command failed: activate && conda activate [myenvname] && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:/Users/[myusername]/.vscode/extensions/ms-python.python-2026.6.0-win32-x64/python_files/printEnvVariables.py
'activate' is not recognized as an internal or external command,
operable program or batch file.
at genericNodeError (node:internal/errors:986:15)
at wrappedFn (node:internal/errors:540:14)
at ChildProcess.exithandler (node:child_process:418:12)
at ChildProcess.emit (node:events:526:24)
at maybeClose (node:internal/child_process:1141:16)
at Socket.<anonymous> (node:internal/child_process:498:11)
at Socket.emit (node:events:514:28)
at Pipe.<anonymous> (node:net:362:12)] {
code: 1,
killed: false,
signal: null,
cmd: "activate && conda activate [myenvname] && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:/Users/[myusername]/.vscode/extensions/ms-python.python-2026.6.0-win32-x64/python_files/printEnvVariables.py"
}
2026-09-30 15:16:07.814 [info] Native locator: Refresh finished in 1643 ms
2026-09-30 15:16:07.814 [info] No Python environment is set for this resource. Check the "Python Environments" output channel for details, or select an interpreter.
2026-09-30 15:16:07.833 [info] > pyenv which python
2026-09-30 15:16:07.833 [info] cwd: [open_folder_inVScode]
2026-09-30 15:16:24.790 [info] No Python environment is set for this resource. Check the "Python Environments" output channel for details, or select an interpreter.
Output of Jupyter extension:
Visual Studio Code (1.140.0, undefined, desktop)
Jupyter Extension Version: 2025.9.1.
Python Extension Version: 2026.6.0.
Python Environment Extension Version: 1.38.0.
Pylance Extension not installed.
Platform: win32 (x64).
Home = c:\Users\[myusername]
Temp Storage folder ~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2025.9.1
Multiple Workspace folders opened [open_folder_inVScode], [open_folder_inVScode]
15:16:06.734 [info] Starting Kernel (Python Path: ~\anaconda3\envs\[myenvname]\python.exe, Conda, 3.12.13) for '[open_folder_inVScode]\[myenvname]\20260930_phosphoproteome.ipynb' (disableUI=true)
15:16:07.640 [error] Failed to get activated conda env vars for ~\anaconda3\envs\[myenvname]\python.exe
in 92ms
15:16:07.642 [error] Unable to determine site packages path for python ~\anaconda3\envs\[myenvname]\python.exe (Conda)
15:16:07.649 [info] Process Execution: ~\anaconda3\envs\[myenvname]\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
15:16:07.659 [info] Process Execution: ~\anaconda3\envs\[myenvname]\python.exe ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 42672
> cwd: ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\vscode_datascience_helpers
15:16:07.665 [error] Failed to get activated conda env vars for ~\anaconda3\envs\[myenvname]\python.exe
in 115ms
15:16:07.666 [error] Unable to determine site packages path for python ~\anaconda3\envs\[myenvname]\python.exe (Conda)
15:16:07.675 [info] Process Execution: ~\anaconda3\envs\[myenvname]\python.exe -m pip list
15:16:07.848 [info] Process Execution: ~\anaconda3\envs\[myenvname]\python.exe -m ipykernel_launcher --f=~\AppData\Roaming\jupyter\runtime\kernel-v3062331fe271e5de9c572f887a787ae945da64333.json
> cwd: [open_folder_inVScode]\[myenvname]
15:16:09.324 [info] Kernel successfully started
15:16:09.367 [info] Process Execution: ~\anaconda3\envs\[myenvname]\python.exe ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\printJupyterDataDir.py
15:16:10.125 [error] Widget Error: Failed to access CDN https://unpkg.com/ after 0 attempt(s), TypeError: Failed to fetch
Extension version: 2026.6.0
VS Code version: Code 1.140.0 (07f806f999227108933c2e30515b26eecc1fda74, 2026-09-30T10:38:38+02:00)
OS version: Windows_NT x64 10.0.26200
Modes:
- Python version (& distribution if applicable, e.g. Anaconda):
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
- Value of the
python.languageServer setting: Default
User Settings
Multiroot scenario, following user settings may not apply:
condaPath: "<placeholder>"
languageServer: "Jedi"
Installed Extensions
| Extension Name |
Extension Id |
Version |
| claude-code |
Ant |
2.1.285 |
| copilot-chat |
Git |
0.68.0 |
| csv |
Rep |
1.3.0 |
| js-debug |
ms- |
1.140.0 |
| js-debug-companion |
ms- |
1.1.3 |
| jsts-chat-features |
Typ |
0.0.4 |
| jupyter |
ms- |
2025.9.1 |
| jupyter-keymap |
ms- |
1.1.2 |
| jupyter-renderers |
ms- |
1.3.0 |
| markdown-preview-enhanced |
shd |
0.8.39 |
| pdf |
tom |
1.2.2 |
| powershell |
ms- |
2025.4.0 |
| python |
ms- |
2026.6.0 |
| remote-explorer |
ms- |
0.5.0 |
| remote-ssh |
ms- |
0.128.0 |
| remote-ssh-edit |
ms- |
0.87.0 |
| remote-wsl |
ms- |
0.104.3 |
| resourcemonitor |
mut |
1.0.7 |
| vscode-diff |
fab |
2.1.2 |
| vscode-js-profile-table |
ms- |
1.0.11 |
| vscode-python-envs |
ms- |
1.38.0 |
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) Ultra 7 155H (22 x 2995) |
| GPU Status |
2d_canvas: enabled GPU0: VENDOR= 0x8086, DEVICE=0x7d55 [Intel(R) Arc(TM) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.5768 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278 Machine model name: Machine model version: 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 trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) |
undefined |
| Memory (System) |
31.37GB (10.71GB free) |
| Process Argv |
--crash-reporter-id ddb91769-d0b1-4ede-b758-f49ea6adb0f5 |
| Screen Reader |
no |
| VM |
0% |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
82j33506:31327384
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
839jf696:31457053
ec5jj548:31422691
eupheme-08-mtp-uxfix:31588877
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
capico_axe_098a3278:31590238
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
ddid_c:31478207
hmra_i5g22:31518061
ja75b849:31592442
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
748c7209:31512887
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
nes-ex-cf-euporie-03:31542868
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
c7c27ce7:31554789
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
nemo-v2:31565334
0c1h4866:31566224
session-mark-done:31591648
multi-root-copilot-claude:31593149
5b8j3302:31564601
autotiers:31584978
mangle-name-control:31572633
allow-signed-out:31592042
80db41fc-e686-49f5-b9db-830fbb843f14:31589249
intellij_nes_preview_t:31580086
multiv2:31574985
2bfb8b39:31585911
soft:31581111
links-control:31587703
aw-autom-on:31583758
revealsession_treatment_7ed7e840:31582194
usage_tips_endabled_0911:31587631
7g328426_fixed:31584544
codex-agent-host-stable-editor:31593046
6gcf5475:31588612
0485115c-2712-4002-b6e9-b5d4e30fb963:31586114
sessioninlinediffenabled_disabled:31587634
welcomesignin9359t:31590011
b169b0b1-b17e-475c-9032-91b9b24dde97:31589214
ca19f5eb-b04f-4f52-8e6b-9f6927d4e0dc:31589210
873a6c30-1450-474f-862d-8084643bbc8e:31593167
5a177259:31592433
edbgf432:31592435
permission_prompt_treatment:1332566
ccr_pr_nudge_control:1319470
vsc_wsm_c:1340633
g03gg798:1417072
1g5a5742:1379227
3aced641:1389836
4cj51803:1433348
cmc_aa_c:1435710
Type: Bug
Behaviour
I'm on Windows. Upon updating to 2026.6.0, I would run Jupyter notebooks in VS code using a conda env as my kernel. After updating, whenever I started the kernel, I could run a few code blocks but within ~1 min (or immediately upon running certain code blocks), the kernel would crash with exit code
0xC06D007Fand no further explanation.Tracing the issue found that upon starting the kernel, os.environ['PATH'] would contain
C:\\Users\\[myusername]\\anaconda3\\envs\\[myenvname]but would be missing entries like the following, which are present when I simply activate the environment in an Anaconda Prompt and enter python:
Manually adding these to the path with the following bandaid code prevented the kernel from crashing.
Setting
python.useEnvironmentsExtensiontoFalsein VSCode settings also appeared to resolve the issue.My hypothesis is that native libraries that rely on the environment's DLLs then fail to load.
The Python extension logs this when the Jupyter extension asks for the activated variables:
The Jupyter extension then logs
Failed to get activated conda env vars(92–115 ms) andUnable to determine site packages path, and launches the kernel anyway with the un-activated environment. Meanwhile the Python Environments extension has already resolved the correct paths in the same session:So the activation command the Python extension builds uses bare
activate/conda activate <name>and appears to ignore the paths the envs extension resolved (and mypython.condaPath). The command only works if Anaconda'scondabinorScriptsis onPATH, which the Anaconda installer does not do by default.Steps to reproduce:
On Windows x64, install Anaconda with the default options (so
condais not on the globalPATH), and create a conda env with numpy/scikit-learn (MKL build) plusipykernel.2. In VS Code 1.140.0, install the Python (2026.6.0), Python Environments (1.38.0) and Jupyter (2025.9.1) extensions. Leave
python.useEnvironmentsExtensionunset.3. Open a folder and a
.ipynb, and select the conda environment's kernel.4. Run a cell that prints the
PATHentries containingconda. Only the environment root is present, with noLibrary\binorScripts:The kernel dies with exit code
3228369023(0xC06D007F).6. Set
"python.useEnvironmentsExtension": false, fully restart VS Code, and rerun. ThePATHis complete and the cell runs.Workarounds
python.useEnvironmentsExtensiontoFalsein VSCode settingsDiagnostic data
Output of Python extension:
Output of Python environments extension
Output of Jupyter extension:
Extension version: 2026.6.0
VS Code version: Code 1.140.0 (07f806f999227108933c2e30515b26eecc1fda74, 2026-09-30T10:38:38+02:00)
OS version: Windows_NT x64 10.0.26200
Modes:
python.languageServersetting: DefaultUser Settings
Installed Extensions
System Info
GPU0: VENDOR= 0x8086, DEVICE=0x7d55 [Intel(R) Arc(TM) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.5768 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments