Skip to content

Inaccurate Python version of Conda detected #239

@DonJayamanne

Description

@DonJayamanne

Originally posted here microsoft/vscode-python-environments#508 (comment)

Inaccurate Python Environment Info for => Environment (Conda)

2025-08-14 11:51:40.221 [debug] Conda env in environments.txt file "/home/someident/miniforge3/envs/waa"
2025-08-14 11:51:40.358 [debug] Conda install folder /home/someident/miniforge3/envs/waa, found, & will be used for the Conda Env: /home/someident/miniforge3
2025-08-14 11:51:40.422 [info] Discovered env: /home/someident/miniforge3/envs/waadash/bin/python
2025-08-14 11:51:40.422 [debug] Reporting Environment PythonEnvironment { display_name: None, name: Some("waa"), executable: Some("/home/someident/miniforge3/envs/waa/bin/python"), kind: Some(Conda), version: Some("3.9.18"), prefix: Some("/home/someident/miniforge3/envs/waa"), manager: Some(EnvManager { executable: "/home/someident/miniforge3/bin/conda", version: Some("24.7.1"), tool: Conda }), project: None, arch: Some(X64), symlinks: Some(["/home/someident/miniforge3/envs/waa/bin/python", "/home/someident/miniforge3/envs/waa/bin/python3", "/home/someident/miniforge3/envs/waa/bin/python3.9"]) }

✓ Conda already active on launch, using default activation commands
==========================================
2025-08-14 11:51:40.432 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
    - Identifier: "waa"
    - Prefix: "/home/someident/miniforge3/envs/waa"
    - Name: "waa"

2025-08-14 11:51:40.433 [info] Found named environment: /home/someident/miniforge3/envs/waa

2025-08-14 11:51:41.249 [debug] Resolving env "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:41.257 [debug] In resolve_environment, looking for Python Env PythonEnv { executable: "/home/someident/miniforge3/envs/waa/bin/python", prefix: None, version: None, symlinks: None } in "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:41.258 [debug] Identifying Python environment using locators: "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:41.296 [debug] Resolving env "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:42.751 [debug] In resolve_environment, looking for Python Env PythonEnv { executable: "/home/someident/miniforge3/envs/waa/bin/python", prefix: None, version: None, symlinks: None } in "/home/someident/miniforge3/envs/waa/bin/python"

2025-08-14 11:51:42.843 [debug] Identifying Python environment using locators: "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:42.848 [debug] Using cache from "/home/someident/.config/Code - Insiders/User/globalStorage/ms-python.vscode-python-envs/pythonLocator/1f26863c13cce443.3.json" for "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:42.955 [debug] In resolve_environment, Resolved Python Exe "/home/someident/miniforge3/envs/waa/bin/python" as ResolvedPythonEnv { executable: "/home/someident/miniforge3/envs/waa/bin/python", prefix: "/home/someident/miniforge3/envs/waa", version: "3.9.21.final.0", is64_bit: true, symlinks: Some(["/home/someident/miniforge3/envs/waa/bin/python", "/home/someident/miniforge3/envs/waa/bin/python3", "/home/someident/miniforge3/envs/waa/bin/python3.9"]) }
2025-08-14 11:51:42.986 [debug] In resolve_environment, Resolved Python Exe "/home/someident/miniforge3/envs/waa/bin/python" as ResolvedPythonEnv { executable: "/home/someident/miniforge3/envs/waa/bin/python", prefix: "/home/someident/miniforge3/envs/waa", version: "3.9.21.final.0", is64_bit: true, symlinks: Some(["/home/someident/miniforge3/envs/waa/bin/python", "/home/someident/miniforge3/envs/waa/bin/python3", "/home/someident/miniforge3/envs/waa/bin/python3.9"]) }
2025-08-14 11:51:44.834 [debug] Using cache from "/home/someident/.config/Code - Insiders/User/globalStorage/ms-python.vscode-python-envs/pythonLocator/1f26863c13cce443.3.json" for "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:44.987 [debug] Updating cache for "/home/someident/miniforge3/envs/waa/bin/python" with new symlinks
2025-08-14 11:51:44.998 [debug] Caching interpreter info for "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:45.161 [debug] Caching "/home/someident/miniforge3/envs/waa/bin/python" in "/home/someident/.config/Code - Insiders/User/globalStorage/ms-python.vscode-python-envs/pythonLocator/1f26863c13cce443.3.json"

2025-08-14 11:51:45.222 [debug] Using cache from "/home/someident/.config/Code - Insiders/User/globalStorage/ms-python.vscode-python-envs/pythonLocator/1f26863c13cce443.3.json" for "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:45.229 [debug] Updating cache for "/home/someident/miniforge3/envs/waa/bin/python" with new symlinks
2025-08-14 11:51:45.243 [debug] Caching interpreter info for "/home/someident/miniforge3/envs/waa/bin/python"
2025-08-14 11:51:45.265 [warning] Inaccurate Python Environment Info for => 
Environment (Conda)
   Name        : waa
   Executable  : /home/someident/miniforge3/envs/waa/bin/python
   Version     : 3.9.18
   Prefix      : /home/someident/miniforge3/envs/waa
   Architecture: x64
   Manager     : Conda, /home/someident/miniforge3/bin/conda
   Symlinks    : "/home/someident/miniforge3/envs/waa/bin/python"
               : "/home/someident/miniforge3/envs/waa/bin/python3"
               : "/home/someident/miniforge3/envs/waa/bin/python3.9"
.
Resolved as => 
Environment (Conda)
   Name        : waa
   Executable  : /home/someident/miniforge3/envs/waa/bin/python
   Version     : 3.9.21.final.0
   Prefix      : /home/someident/miniforge3/envs/waa
   Architecture: x64
   Manager     : Conda, /home/someident/miniforge3/bin/conda
   Symlinks    : "/home/someident/miniforge3/envs/waa/bin/python"
               : "/home/someident/miniforge3/envs/waa/bin/python3"
               : "/home/someident/miniforge3/envs/waa/bin/python3.9"

Incorrect information => 
Environment Some(Conda) incorrectly identified
   Version is incorrect

2025-08-14 11:51:45.269 [debug] Caching "/home/someident/miniforge3/envs/waa/bin/python" in "/home/someident/.config/Code - Insiders/User/globalStorage/ms-python.vscode-python-envs/pythonLocator/1f26863c13cce443.3.json"
2025-08-14 11:51:45.285 [debug] Resolved env (Ok(611.85µs)) "/home/someident/miniforge3/envs/waa/bin/python" as PythonEnvironment { display_name: None, name: Some("waa"), executable: Some("/home/someident/miniforge3/envs/waa/bin/python"), kind: Some(Conda), version: Some("3.9.21.final.0"), prefix: Some("/home/someident/miniforge3/envs/waa"), manager: Some(EnvManager { executable: "/home/someident/miniforge3/bin/conda", version: Some("24.7.1"), tool: Conda }), project: None, arch: Some(X64), symlinks: Some(["/home/someident/miniforge3/envs/waa/bin/python", "/home/someident/miniforge3/envs/waa/bin/python3", "/home/someident/miniforge3/envs/waa/bin/python3.9"]) }

2025-08-14 11:51:45.306 [info] Resolved Python Environment /home/someident/miniforge3/envs/waa/bin/python
2025-08-14 11:51:45.306 [info] Using conda from settings: /home/someident/miniforge3/condabin/mamba
2025-08-14 11:51:45.306 [info] === Conda Shell Activation Map Generation ===
Environment Configuration:
    - Identifier: "waa"
    - Prefix: "/home/someident/miniforge3/envs/waa"
    - Name: "waa"

✓ Conda already active on launch, using default activation commands

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions