-
Notifications
You must be signed in to change notification settings - Fork 38
Description
On windows and running gitbash as default terminal, with miniconda.
When creating a new terminal the cmd .bat file is attempted for environment activation, even though I am opening up gitbash and it should use the bash equivalent:
# gitbash
$ source C:/Tools/miniforge3/Scripts/activate.bat pipes
bash: C:/Tools/miniforge3/Scripts/activate.bat: line 1: syntax error near unexpected token `('
bash: C:/Tools/miniforge3/Scripts/activate.bat: line 1: `@REM Copyright (C) 2012 Anaconda, Inc'If I open powershell, cmd and WSL (Ubuntu) shells for each of these it uses the correct activation script.
# on wsl
eze@pucho:/mnt/c/Users/Eze$ conda activate pipes
(pipes) eze@pucho:/mnt/c/Users/Eze$# PowerShell
(miniforge3) PS C:\Users\Eze> (C:\Tools\miniforge3\shell\condabin\conda-hook.ps1) ; (conda activate pipes)
(pipes) PS C:\Users\Eze\>
# CMD
Microsoft Windows [Version 10.0.19045.6456]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Eze>C:\Tools\miniforge3\Scripts\activate.bat && conda activate pipes
(pipes) C:\Users\Eze>
- Conda path is set to the output of
which conda - The extension isn't attempting to use a bash-specific activation script in the case of git-bash.
- What is clear from the log is that the Global sourcing is detected as the .bat file, and no Local activation is detected for any of the envs.
Here's the log output from the extension after startup and a single terminal is opened
2026-02-18 18:13:56.911 [info]
=== Python Envs Configuration Levels ===
2026-02-18 18:13:56.911 [info] {
"section": "Python Envs Configuration Levels",
"defaultEnvManager": {
"workspaceFolderValue": "undefined",
"workspaceValue": "ms-python.python:conda",
"globalValue": "undefined",
"defaultValue": "ms-python.python:venv"
},
"defaultPackageManager": {
"workspaceFolderValue": "undefined",
"workspaceValue": "ms-python.python:conda",
"globalValue": "undefined",
"defaultValue": "ms-python.python:pip"
}
}
2026-02-18 18:13:56.911 [info] [pet] Starting Python Locator c:\Users\Eze\.vscode\extensions\ms-python.vscode-python-envs-1.16.0-win32-x64\python-env-tools\bin\pet.exe server
2026-02-18 18:13:56.911 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:13:56.911 [info] Found global conda sourcing script at: C:\Tools\miniforge3\Scripts\activate.bat
2026-02-18 18:13:56.911 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:56.911 [info] conda.sh found in C:\Tools\miniforge3\etc\profile.d\conda.sh
2026-02-18 18:13:56.911 [info] Conda Sourcing Status:
├─ Conda Path: C:\Tools\miniforge3\Scripts\conda
├─ Conda Folder: C:\Tools\miniforge3
├─ Active on Launch: false
├─ Global Sourcing Script: C:\Tools\miniforge3\Scripts\activate.bat
└─ Shell-specific Sourcing Scripts:
├─ C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
├─ C:\Tools\miniforge3\etc\profile.d\conda.sh
└─ C:\Tools\miniforge3\Scripts\activate.bat
2026-02-18 18:13:57.347 [info] Refreshing conda environments
2026-02-18 18:13:57.349 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:13:57.350 [info] [pet] configure: Sending configuration update: {"workspaceDirectories":["c:\\Users\\Eze\\repo"],"environmentDirectories":[],"condaExecutable":"C:\\Tools\\miniforge3\\Scripts\\conda","poetryExecutable":"poetry","cacheDirectory":"c:\\Users\\Eze\\AppData\\Roaming\\Code\\User\\globalStorage\\ms-python.vscode-python-envs\\pythonLocator"}
2026-02-18 18:13:57.369 [info] Refreshing Conda Environments
2026-02-18 18:13:57.369 [info] Refreshing conda environments
2026-02-18 18:13:58.703 [warning] [pet] Failed to open HKLM\Software\Python\PythonCore\2.7\InstallPath, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:13:58.720 [info] Discovered manager: (Conda) C:\Tools\miniforge3\Scripts\conda.exe
2026-02-18 18:13:58.721 [info] Discovered env: C:\Tools\miniforge3\python.exe
2026-02-18 18:13:58.721 [warning] [pet] Failed to open HKLM\Software\Python\PythonCore\3.12\InstallPath, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:13:58.722 [warning] [pet] Failed to open HKCU\Software\Python, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:13:58.980 [info] Discovered env: C:\Users\Eze\Dev\apple-health-export\.conda\python.exe
2026-02-18 18:13:58.981 [info] Discovered env: C:\Users\Eze\.conda\envs\pipes\python.exe
2026-02-18 18:13:58.981 [info] Discovered env: C:\Users\Eze\.conda\envs\appointments\python.exe
2026-02-18 18:13:58.982 [info] Discovered env: C:\Users\Eze\.conda\envs\dspark\python.exe
2026-02-18 18:13:58.982 [info] Discovered env: C:\Users\Eze\.conda\envs\py310\python.exe
2026-02-18 18:13:58.983 [info] [pet] Locator Conda took 336.5917ms
2026-02-18 18:13:58.984 [info] [pet] Locator PipEnv took 322.6µs
2026-02-18 18:13:58.985 [info] [pet] Locator Pixi took 623.3µs
2026-02-18 18:13:58.985 [info] [pet] Locator Poetry took 6.2747ms
2026-02-18 18:13:58.985 [info] [pet] Locator PyEnv took 4.8426ms
2026-02-18 18:13:58.986 [info] [pet] Locator Uv took 3.1552ms
2026-02-18 18:13:58.986 [info] [pet] Locator Venv took 3.2135ms
2026-02-18 18:13:58.987 [info] [pet] Locator VirtualEnv took 3.6355ms
2026-02-18 18:13:58.987 [info] [pet] Locator VirtualEnvWrapper took 3.3415ms
2026-02-18 18:13:58.987 [info] [pet] Locator WindowsRegistry took 24.7042ms
2026-02-18 18:13:58.987 [info] [pet] Locator WindowsStore took 4.6423ms
2026-02-18 18:13:58.988 [info] [pet] Locator GlobalVirtualEnvs took 1.4848ms
2026-02-18 18:13:58.988 [info] [pet] Locator Locators took 337.17ms
2026-02-18 18:13:58.988 [info] [pet] Locator Path took 34.6835ms
2026-02-18 18:13:58.989 [info] [pet] Locator Workspaces took 61.671ms
2026-02-18 18:13:58.990 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:13:58.991 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:13:58.993 [info] Found local activation script at: C:\Tools\miniforge3\Scripts\activate, adding to cache.
2026-02-18 18:13:58.994 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:58.994 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "base"
- Prefix: "C:\Tools\miniforge3"
- Name: "base"
Local Activation:
- Status: Found
- Path: C:\Tools\miniforge3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:13:58.995 [info] Found base environment: C:\Tools\miniforge3
2026-02-18 18:13:58.996 [info] [pet] Telemetry: {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":337,"breakdown":{"GlobalVirtualEnvs":1,"Locators":337,"Path":34,"Workspaces":61},"locators":{"Conda":336,"PipEnv":0,"Pixi":0,"Poetry":6,"PyEnv":4,"Uv":3,"Venv":3,"VirtualEnv":3,"VirtualEnvWrapper":3,"WindowsRegistry":24,"WindowsStore":4}}}}
2026-02-18 18:13:58.998 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:58.998 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "pipes"
- Prefix: "C:\Users\Eze\.conda\envs\pipes"
- Name: "pipes"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:13:58.998 [info] Found named environment: C:\Users\Eze\.conda\envs\pipes
2026-02-18 18:13:58.998 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:58.998 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "C:\Users\Eze\Dev\apple-health-export\.conda"
- Prefix: "C:\Users\Eze\Dev\apple-health-export\.conda"
- Name: "undefined"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:13:58.998 [info] Found prefix environment: C:\Users\Eze\Dev\apple-health-export\.conda
2026-02-18 18:13:58.998 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:58.998 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "appointments"
- Prefix: "C:\Users\Eze\.conda\envs\appointments"
- Name: "appointments"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:13:58.998 [info] Found named environment: C:\Users\Eze\.conda\envs\appointments
2026-02-18 18:13:58.998 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:58.999 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "dspark"
- Prefix: "C:\Users\Eze\.conda\envs\dspark"
- Name: "dspark"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:13:58.999 [info] Found named environment: C:\Users\Eze\.conda\envs\dspark
2026-02-18 18:13:58.999 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:59.002 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "py310"
- Prefix: "C:\Users\Eze\.conda\envs\py310"
- Name: "py310"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:13:59.002 [info] Found named environment: C:\Users\Eze\.conda\envs\py310
2026-02-18 18:13:59.008 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:13:59.013 [info] Python API: Changed environment from undefined to pipes (3.12.2) for: c:\Users\Eze\repo
2026-02-18 18:13:59.013 [info] Internal: Changed environment from undefined to pipes (3.12.2) for: c:\Users\Eze\repo
2026-02-18 18:13:59.514 [warning] [pet] Failed to open HKLM\Software\Python\PythonCore\2.7\InstallPath, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:13:59.607 [info] Poetry not found, turning off poetry features.
2026-02-18 18:13:59.607 [info] Pyenv not found, turning off pyenv features.
2026-02-18 18:13:59.608 [info] Pipenv not found
2026-02-18 18:13:59.608 [info] Pipenv not found, turning off pipenv features.
2026-02-18 18:13:59.609 [info] [resolveDefaultInterpreter] User configured defaultInterpreterPath: c:\Tools\miniforge3 and defaultEnvManager: ms-python.python:conda
2026-02-18 18:13:59.617 [info] Discovered manager: (Conda) C:\Tools\miniforge3\Scripts\conda.exe
2026-02-18 18:13:59.618 [info] Discovered env: C:\Tools\miniforge3\python.exe
2026-02-18 18:13:59.618 [warning] [pet] Failed to open HKLM\Software\Python\PythonCore\3.12\InstallPath, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:13:59.618 [warning] [pet] Failed to open HKCU\Software\Python, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:13:59.622 [info] Resolved Python Environment C:\Users\Eze\.conda\envs\pipes\python.exe
2026-02-18 18:13:59.622 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:13:59.623 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:59.623 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "pipes"
- Prefix: "C:\Users\Eze\.conda\envs\pipes"
- Name: "pipes"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:13:59.623 [info] Found named environment: C:\Users\Eze\.conda\envs\pipes
2026-02-18 18:13:59.626 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:13:59.630 [info] Discovered env: C:\Users\Eze\.conda\envs\appointments\python.exe
2026-02-18 18:13:59.630 [info] Discovered env: C:\Users\Eze\.conda\envs\dspark\python.exe
2026-02-18 18:13:59.630 [info] Discovered env: C:\Users\Eze\Dev\apple-health-export\.conda\python.exe
2026-02-18 18:13:59.631 [info] Discovered env: C:\Users\Eze\.conda\envs\py310\python.exe
2026-02-18 18:13:59.631 [info] [pet] Locator Conda took 203.3438ms
2026-02-18 18:13:59.631 [info] [pet] Locator PipEnv took 171.9µs
2026-02-18 18:13:59.631 [info] [pet] Locator Pixi took 42.1µs
2026-02-18 18:13:59.631 [info] [pet] Locator Poetry took 8.2537ms
2026-02-18 18:13:59.631 [info] [pet] Locator PyEnv took 8.1031ms
2026-02-18 18:13:59.631 [info] [pet] Locator Uv took 1.1587ms
2026-02-18 18:13:59.631 [info] [pet] Locator Venv took 7.1212ms
2026-02-18 18:13:59.631 [info] [pet] Locator VirtualEnv took 7.2356ms
2026-02-18 18:13:59.631 [info] [pet] Locator VirtualEnvWrapper took 2.2354ms
2026-02-18 18:13:59.632 [info] [pet] Locator WindowsRegistry took 30.1606ms
2026-02-18 18:13:59.632 [info] [pet] Locator WindowsStore took 3.6478ms
2026-02-18 18:13:59.632 [info] [pet] Locator GlobalVirtualEnvs took 1.0936ms
2026-02-18 18:13:59.632 [info] [pet] Locator Locators took 217.6324ms
2026-02-18 18:13:59.632 [info] [pet] Locator Path took 25.7245ms
2026-02-18 18:13:59.632 [info] [pet] Locator Workspaces took 53.9806ms
2026-02-18 18:13:59.633 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:13:59.636 [info] [pet] Telemetry: {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":218,"breakdown":{"GlobalVirtualEnvs":1,"Locators":217,"Path":25,"Workspaces":53},"locators":{"Conda":203,"PipEnv":0,"Pixi":0,"Poetry":8,"PyEnv":8,"Uv":1,"Venv":7,"VirtualEnv":7,"VirtualEnvWrapper":2,"WindowsRegistry":30,"WindowsStore":3}}}}
2026-02-18 18:13:59.638 [info] Resolved Python Environment C:\Users\Eze\.conda\envs\pipes\python.exe
2026-02-18 18:13:59.638 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:13:59.640 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:59.640 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "pipes"
- Prefix: "C:\Users\Eze\.conda\envs\pipes"
- Name: "pipes"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:13:59.641 [info] Found named environment: C:\Users\Eze\.conda\envs\pipes
2026-02-18 18:13:59.647 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:13:59.654 [warning] [pet] Failed to open HKLM\Software\Python\PythonCore\2.7\InstallPath, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:13:59.660 [info] Discovered manager: (Conda) C:\Tools\miniforge3\Scripts\conda.exe
2026-02-18 18:13:59.661 [info] Discovered env: C:\Tools\miniforge3\python.exe
2026-02-18 18:13:59.661 [warning] [pet] Failed to open HKLM\Software\Python\PythonCore\3.12\InstallPath, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:13:59.661 [warning] [pet] Failed to open HKCU\Software\Python, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:13:59.663 [info] Resolved Python Environment C:\Users\Eze\.conda\envs\pipes\python.exe
2026-02-18 18:13:59.663 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:13:59.669 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:13:59.669 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "pipes"
- Prefix: "C:\Users\Eze\.conda\envs\pipes"
- Name: "pipes"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:13:59.669 [info] Found named environment: C:\Users\Eze\.conda\envs\pipes
2026-02-18 18:13:59.829 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:13:59.831 [info] Terminal is activated: c:\Users\Eze\.conda\envs\pipes
2026-02-18 18:13:59.838 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:13:59.984 [info] Discovered env: C:\Users\Eze\Dev\apple-health-export\.conda\python.exe
2026-02-18 18:13:59.984 [info] Discovered env: C:\Users\Eze\.conda\envs\py310\python.exe
2026-02-18 18:13:59.985 [info] Discovered env: C:\Users\Eze\.conda\envs\appointments\python.exe
2026-02-18 18:13:59.986 [info] Discovered env: C:\Users\Eze\.conda\envs\dspark\python.exe
2026-02-18 18:13:59.986 [info] [pet] Locator Conda took 274.18ms
2026-02-18 18:13:59.987 [info] [pet] Locator PipEnv took 804.3µs
2026-02-18 18:13:59.987 [info] [pet] Locator Pixi took 777.6µs
2026-02-18 18:13:59.988 [info] [pet] Locator Poetry took 5.6769ms
2026-02-18 18:13:59.988 [info] [pet] Locator PyEnv took 2.4117ms
2026-02-18 18:13:59.988 [info] [pet] Locator Uv took 1.1836ms
2026-02-18 18:13:59.989 [info] [pet] Locator Venv took 881.3µs
2026-02-18 18:13:59.989 [info] [pet] Locator VirtualEnv took 1.5339ms
2026-02-18 18:13:59.990 [info] [pet] Locator VirtualEnvWrapper took 473.9µs
2026-02-18 18:13:59.990 [info] [pet] Locator WindowsRegistry took 19.695ms
2026-02-18 18:13:59.991 [info] [pet] Locator WindowsStore took 1.3899ms
2026-02-18 18:13:59.991 [info] [pet] Locator GlobalVirtualEnvs took 1.7487ms
2026-02-18 18:13:59.991 [info] [pet] Locator Locators took 274.6693ms
2026-02-18 18:13:59.992 [info] [pet] Locator Path took 25.4977ms
2026-02-18 18:13:59.992 [info] [pet] Locator Workspaces took 56.0246ms
2026-02-18 18:13:59.994 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:13:59.997 [info] [pet] Telemetry: {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":274,"breakdown":{"GlobalVirtualEnvs":1,"Locators":274,"Path":25,"Workspaces":56},"locators":{"Conda":274,"PipEnv":0,"Pixi":0,"Poetry":5,"PyEnv":2,"Uv":1,"Venv":0,"VirtualEnv":1,"VirtualEnvWrapper":0,"WindowsRegistry":19,"WindowsStore":1}}}}
2026-02-18 18:14:00.002 [info] Resolved Python Environment C:\Users\Eze\.conda\envs\pipes\python.exe
2026-02-18 18:14:00.002 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:14:00.005 [info] Resolved Python Environment C:\Users\Eze\.conda\envs\pipes\python.exe
2026-02-18 18:14:00.005 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:14:00.007 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:00.008 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "pipes"
- Prefix: "C:\Users\Eze\.conda\envs\pipes"
- Name: "pipes"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:00.008 [info] Found named environment: C:\Users\Eze\.conda\envs\pipes
2026-02-18 18:14:00.010 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:00.010 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "pipes"
- Prefix: "C:\Users\Eze\.conda\envs\pipes"
- Name: "pipes"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:00.010 [info] Found named environment: C:\Users\Eze\.conda\envs\pipes
2026-02-18 18:14:00.030 [warning] [pet] Failed to open HKLM\Software\Python\PythonCore\2.7\InstallPath, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:14:00.072 [info] Discovered manager: (Conda) C:\Tools\miniforge3\Scripts\conda.exe
2026-02-18 18:14:00.073 [info] Discovered env: C:\Tools\miniforge3\python.exe
2026-02-18 18:14:00.081 [warning] [pet] Failed to open HKLM\Software\Python\PythonCore\3.12\InstallPath, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:14:00.084 [warning] [pet] Failed to open HKCU\Software\Python, Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
2026-02-18 18:14:00.288 [info] Discovered env: C:\Users\Eze\.conda\envs\dspark\python.exe
2026-02-18 18:14:00.301 [info] Discovered env: C:\Users\Eze\.conda\envs\appointments\python.exe
2026-02-18 18:14:00.302 [info] Discovered env: C:\Users\Eze\Dev\apple-health-export\.conda\python.exe
2026-02-18 18:14:00.303 [info] Discovered env: C:\Users\Eze\.conda\envs\py310\python.exe
2026-02-18 18:14:00.303 [info] Discovered env: C:\Users\Eze\.conda\envs\pipes\python.exe
2026-02-18 18:14:00.303 [info] [pet] Locator Conda took 300.9882ms
2026-02-18 18:14:00.303 [info] [pet] Locator PipEnv took 4.671ms
2026-02-18 18:14:00.304 [info] [pet] Locator Pixi took 1.2429ms
2026-02-18 18:14:00.304 [info] [pet] Locator Poetry took 22.7106ms
2026-02-18 18:14:00.304 [info] [pet] Locator PyEnv took 4.1725ms
2026-02-18 18:14:00.304 [info] [pet] Locator Uv took 1.0572ms
2026-02-18 18:14:00.304 [info] [pet] Locator Venv took 910.8µs
2026-02-18 18:14:00.304 [info] [pet] Locator VirtualEnv took 3.5715ms
2026-02-18 18:14:00.304 [info] [pet] Locator VirtualEnvWrapper took 3.3367ms
2026-02-18 18:14:00.304 [info] [pet] Locator WindowsRegistry took 32.5907ms
2026-02-18 18:14:00.304 [info] [pet] Locator WindowsStore took 1.1329ms
2026-02-18 18:14:00.304 [info] [pet] Locator GlobalVirtualEnvs took 1.8416ms
2026-02-18 18:14:00.304 [info] [pet] Locator Locators took 303.3836ms
2026-02-18 18:14:00.304 [info] [pet] Locator Path took 50.4499ms
2026-02-18 18:14:00.304 [info] [pet] Locator Workspaces took 67.4092ms
2026-02-18 18:14:00.305 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:14:00.307 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:00.307 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "base"
- Prefix: "C:\Tools\miniforge3"
- Name: "base"
Local Activation:
- Status: Found
- Path: C:\Tools\miniforge3\Scripts\activate
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate
- Source: Local
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:00.307 [info] Found base environment: C:\Tools\miniforge3
2026-02-18 18:14:00.308 [info] [pet] Telemetry: {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":304,"breakdown":{"GlobalVirtualEnvs":1,"Locators":303,"Path":50,"Workspaces":67},"locators":{"Conda":300,"PipEnv":4,"Pixi":1,"Poetry":22,"PyEnv":4,"Uv":1,"Venv":0,"VirtualEnv":3,"VirtualEnvWrapper":3,"WindowsRegistry":32,"WindowsStore":1}}}}
2026-02-18 18:14:00.309 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:00.310 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "dspark"
- Prefix: "C:\Users\Eze\.conda\envs\dspark"
- Name: "dspark"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:00.310 [info] Found named environment: C:\Users\Eze\.conda\envs\dspark
2026-02-18 18:14:00.310 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:00.310 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "C:\Users\Eze\Dev\apple-health-export\.conda"
- Prefix: "C:\Users\Eze\Dev\apple-health-export\.conda"
- Name: "undefined"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:00.310 [info] Found prefix environment: C:\Users\Eze\Dev\apple-health-export\.conda
2026-02-18 18:14:00.310 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:00.310 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "pipes"
- Prefix: "C:\Users\Eze\.conda\envs\pipes"
- Name: "pipes"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:00.310 [info] Found named environment: C:\Users\Eze\.conda\envs\pipes
2026-02-18 18:14:00.310 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:00.310 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "appointments"
- Prefix: "C:\Users\Eze\.conda\envs\appointments"
- Name: "appointments"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:00.310 [info] Found named environment: C:\Users\Eze\.conda\envs\appointments
2026-02-18 18:14:00.310 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:00.310 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "py310"
- Prefix: "C:\Users\Eze\.conda\envs\py310"
- Name: "py310"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:00.310 [info] Found named environment: C:\Users\Eze\.conda\envs\py310
2026-02-18 18:14:00.332 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:14:00.355 [info] Python API: Changed environment from pipes (3.12.2) to pipes (3.12.2) for: c:\Users\Eze\repo
2026-02-18 18:14:00.355 [info] Internal: Changed environment from pipes (3.12.2) to pipes (3.12.2) for: c:\Users\Eze\repo
2026-02-18 18:14:00.400 [info] Resolved Python Environment C:\Users\Eze\.conda\envs\pipes\python.exe
2026-02-18 18:14:00.400 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:14:00.402 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:00.402 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "pipes"
- Prefix: "C:\Users\Eze\.conda\envs\pipes"
- Name: "pipes"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:00.402 [info] Found named environment: C:\Users\Eze\.conda\envs\pipes
2026-02-18 18:14:01.630 [error] Shell execution timed out: source C:/Tools/miniforge3/Scripts/activate.bat pipes
2026-02-18 18:14:01.630 [info] Terminal is activated: c:\Users\Eze\.conda\envs\pipes
2026-02-18 18:14:02.728 [info] getAllExtraSearchPaths completed. Total unique search directories: 0 Paths: []
2026-02-18 18:14:02.760 [info] Python API: Changed environment from undefined to base (3.10.13) for: global
2026-02-18 18:14:02.760 [info] Internal: Changed environment from undefined to base (3.10.13) for: global
2026-02-18 18:14:02.807 [info] Resolved Python Environment C:\Users\Eze\.conda\envs\pipes\python.exe
2026-02-18 18:14:02.807 [info] Using conda from settings: C:\Tools\miniforge3\Scripts\conda
2026-02-18 18:14:02.810 [info] Conda hook found at: C:\Tools\miniforge3\shell\condabin\conda-hook.ps1
2026-02-18 18:14:02.810 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
- Identifier: "pipes"
- Prefix: "C:\Users\Eze\.conda\envs\pipes"
- Name: "pipes"
Local Activation:
- Status: Not Found
- Path: N/A
Preferred Sourcing:
- Selected Path: C:\Tools\miniforge3\Scripts\activate.bat
- Source: Global
✓ Using Windows-specific activation configuration
==========================================
2026-02-18 18:14:02.811 [info] Found named environment: C:\Users\Eze\.conda\envs\pipes
Workaround
I can work around this by manually adding a activate symbolic link inside my environment's Scripts directory pointing to the global bash-specific activation script.
cd ~/.conda/envs/pipes/Scripts
ln -s /c/Tools/miniforge3/Scripts/activateAfter that the Local Activation section in the logs shows this script being detected and used:
$ source C:/Users/Eze/.conda/envs/pipes/Scripts/activate pipes
(pipes) $The problem is that for any new environment I need I would have to run this symbolic link trick. It would be better if the extension used the right script out of the box.