Skip to content

Name of conda envs not returned #212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DonJayamanne opened this issue May 7, 2025 · 8 comments · Fixed by #217 · May be fixed by #214 or #215
Closed

Name of conda envs not returned #212

DonJayamanne opened this issue May 7, 2025 · 8 comments · Fixed by #217 · May be fixed by #214 or #215
Assignees

Comments

@DonJayamanne
Copy link
Collaborator

Originall reported by @karthiknadig here #184 (comment)

Show Logs
>C:\GIT\misc\python-environment-tools\target\release\pet.exe find -l -v
[2025-05-07T02:41:36Z TRACE pet_core::os_environment] Env PATH: ["C:\\Users\\kanadig\\AppData\\Local\\fnm_multishells\\5996_1746490615026", "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path", "C:\\Python312\\Scripts\\", "C:\\Python312\\", "C:\\Python311\\Scripts\\", "C:\\Python311\\", "C:\\Program Files\\Quarto\\bin", "C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin", "C:\\WINDOWS\\system32", "C:\\WINDOWS", "C:\\WINDOWS\\System32\\Wbem", "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\", "C:\\WINDOWS\\System32\\OpenSSH\\", "C:\\ProgramData\\chocolatey\\bin", "C:\\ProgramData\\miniconda3\\Scripts", "C:\\Program Files\\WinMerge", "C:\\Program Files\\Hatch\\", "C:\\Program Files\\Git\\cmd", "C:\\Program Files\\dotnet\\", "C:\\Program Files\\Docker\\Docker\\resources\\bin", "C:\\Users\\kanadig\\.pixi\\bin", "C:\\Users\\kanadig\\.cargo\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code\\bin", "C:\\texlive\\2024\\bin\\windows", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\nu\\bin\\"]
[2025-05-07T02:41:36Z TRACE pet::find] Searching for environments in workspace folders: ["C:\\GIT\\TPI"]
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: WindowsStore
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: WindowsRegistry
[2025-05-07T02:41:36Z TRACE pet::find] Searching for environments in global folders: ["C:\\Users\\kanadig\\AppData\\Local\\fnm_multishells\\5996_1746490615026", "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path", "C:\\Python312\\Scripts\\", "C:\\Python312\\", "C:\\Python311\\Scripts\\", "C:\\Python311\\", "C:\\Program Files\\Quarto\\bin", "C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin", "C:\\WINDOWS\\system32", "C:\\WINDOWS", "C:\\WINDOWS\\System32\\Wbem", "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\", "C:\\WINDOWS\\System32\\OpenSSH\\", "C:\\ProgramData\\chocolatey\\bin", "C:\\ProgramData\\miniconda3\\Scripts", "C:\\Program Files\\WinMerge", "C:\\Program Files\\Hatch\\", "C:\\Program Files\\Git\\cmd", "C:\\Program Files\\dotnet\\", "C:\\Program Files\\Docker\\Docker\\resources\\bin", "C:\\Users\\kanadig\\.pixi\\bin", "C:\\Users\\kanadig\\.cargo\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code\\bin", "C:\\texlive\\2024\\bin\\windows", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\nu\\bin\\"]
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: VirtualEnv
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: Venv
[2025-05-07T02:41:36Z TRACE pet::find] Completed searching using locator: Venv in 453.6µs
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: Poetry
[2025-05-07T02:41:36Z TRACE pet::find] Searching for environments in global venv folders: []
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: PipEnv
[2025-05-07T02:41:36Z TRACE pet_windows_registry::environments] Searching HKLM\Software\Python\PythonCore
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: VirtualEnvWrapper
[2025-05-07T02:41:36Z TRACE pet::find] Completed searching using locator: VirtualEnvWrapper in 7.3946ms
[2025-05-07T02:41:36Z TRACE pet::find] Completed searching using locator: VirtualEnv in 254.1µs
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: Pixi
[2025-05-07T02:41:36Z TRACE pet::find] Completed searching using locator: Pixi in 10.9934ms
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Searching for Windows Store Python in "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps"
[2025-05-07T02:41:36Z TRACE pet::find] Completed searching using locator: PipEnv in 7.2932ms
[2025-05-07T02:41:36Z TRACE pet_windows_registry::environments] Found Python (C:\Python311) in HKLM\Software\Python\PythonCore\3.11
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: PyEnv
[2025-05-07T02:41:36Z TRACE pet::find] Searching using locator: Conda
[2025-05-07T02:41:36Z TRACE pet_poetry::manager] Poetry exe not found
[2025-05-07T02:41:36Z TRACE pet_poetry] Poetry Manager None
Environment (WindowsRegistry)
[2025-05-07T02:41:36Z TRACE pet_poetry::pyproject_toml] Finding poetry file in "C:\\GIT\\TPI"
   Display-Name: Python 3.11 (64-bit)
[2025-05-07T02:41:36Z TRACE pet_poetry::pyproject_toml] Parsing poetry file: "C:\\GIT\\TPI\\pyproject.toml"
   Executable  : C:\Python311\python.exe
[2025-05-07T02:41:36Z TRACE pet_pyenv] PyEnv Info PyEnvInfo { exe: None, versions: None, version: None }
   Version     : 3.11.9
[2025-05-07T02:41:36Z TRACE pet_pyenv] PyEnv versions directory not found
[2025-05-07T02:41:36Z TRACE pet::find] Completed searching using locator: PyEnv in 22.138ms
[2025-05-07T02:41:36Z TRACE pet_poetry::config] Poetry cache (default): Some("C:\\Users\\kanadig\\AppData\\Local\\pypoetry\\Cache")
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Found environments.txt file "C:\\Users\\kanadig\\.conda\\environments.txt"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\conda\\condarc.d")
   Prefix      : C:\Python311
[2025-05-07T02:41:36Z TRACE pet_poetry::config] Poetry config file => None, virtualenv.path => "C:\\Users\\kanadig\\AppData\\Local\\pypoetry\\Cache\\virtualenvs", cache_dir => Some("C:\\Users\\kanadig\\AppData\\Local\\pypoetry\\Cache"), virtualenvs_in_project => None
   Architecture: x64
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\LSP\\jedi-language-server\\.conda"
   Symlinks    : "C:\\Python311\\python.exe"
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\Schemas"

[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.condarc")
[2025-05-07T02:41:36Z TRACE pet_poetry::environment_locations] pyproject.toml not found in any workspace directory
[2025-05-07T02:41:36Z TRACE pet::find] Completed searching using locator: Poetry in 26.8121ms
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\condarc.d")
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\test_environments\\env1\\.conda"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda environments in known paths ["C:\\Program Files\\Docker\\Docker\\resources\\bin", "C:\\Program Files\\Git\\cmd", "C:\\Program Files\\Hatch\\", "C:\\Program Files\\Quarto\\bin", "C:\\Program Files\\WinMerge", "C:\\Program Files\\dotnet\\", "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path", "C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin", "C:\\ProgramData\\chocolatey\\bin", "C:\\ProgramData\\miniconda3\\Scripts", "C:\\Python311\\", "C:\\Python311\\Scripts\\", "C:\\Python312\\", "C:\\Python312\\Scripts\\", "C:\\Users\\kanadig\\.cargo\\bin", "C:\\Users\\kanadig\\.conda/envs\\buggy1", "C:\\Users\\kanadig\\.conda/envs\\myproject", "C:\\Users\\kanadig\\.conda/envs\\named1", "C:\\Users\\kanadig\\.conda/envs\\native1", "C:\\Users\\kanadig\\.conda/envs\\nopytest1", "C:\\Users\\kanadig\\.pixi\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\nu\\bin\\", "C:\\Users\\kanadig\\AppData\\Local\\fnm_multishells\\5996_1746490615026", "C:\\WINDOWS", "C:\\WINDOWS\\System32\\OpenSSH\\", "C:\\WINDOWS\\System32\\Wbem", "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\", "C:\\WINDOWS\\system32", "C:\\texlive\\2024\\bin\\windows"]
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\condarc")
[2025-05-07T02:41:36Z TRACE pet_windows_registry::environments] Found Python (C:\Python312) in HKLM\Software\Python\PythonCore\3.12
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\test_environments\\env1\\.conda2"
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\Schemas"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.config\\conda\\condarc")
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\demo\\demo_sample1\\.conda"
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\conda\\.condarc")
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\named1"
Environment (WindowsRegistry)
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\conda\\.mambarc")
   Display-Name: Python 3.12 (64-bit)
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.mambarc")
   Executable  : C:\Python312\python.exe
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\native1"
   Version     : 3.12.10
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\Schemas"
   Prefix      : C:\Python312
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.config\\conda\\condarc.d")
   Architecture: x64
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\native1"
   Symlinks    : "C:\\Python312\\python.exe"
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0"

[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.conda\\condarc.d")
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.conda\\condarc")
[2025-05-07T02:41:36Z TRACE pet_windows_registry::environments] Found Python (C:\Program Files\Python37) in HKLM\Software\Python\PythonCore\3.7
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.config\\conda\\.condarc")
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\Schemas"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\conda\\.condarc")
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\myproject"
Environment (WindowsRegistry)
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0"
   Display-Name: Python 3.7 (64-bit)
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\conda\\condarc")
   Executable  : C:\Program Files\Python37\python.exe
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\nopytest1"
   Version     : 3.7.9
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\conda\\condarc.d")
   Prefix      : C:\Program Files\Python37
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\Schemas"
   Architecture: x64
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\conda\\condarc")
   Symlinks    : "C:\\Program Files\\Python37\\python.exe"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\buggy1"

[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0"
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.conda\\.condarc")
[2025-05-07T02:41:36Z TRACE pet_windows_registry::environments] Searching HKCU\Software\Python\PythonCore
[2025-05-07T02:41:36Z TRACE pet_windows_registry::environments] Found Python (C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0) in HKCU\Software\Python\PythonCore\3.12, but skipping as this is a Windows Store Python
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\Schemas"
[2025-05-07T02:41:36Z TRACE pet::find] Completed searching using locator: WindowsRegistry in 41.0473ms
[2025-05-07T02:41:36Z TRACE pet_conda::environment_locations] No Conda environments in .condarc []
[2025-05-07T02:41:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0"
Environment (WindowsStore)
   Display-Name: Python 3.8
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.8.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.8.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\\python3.8.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python3.8.exe"

Environment (WindowsStore)
   Display-Name: Python 3.13
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.13.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0
[2025-05-07T02:41:36Z TRACE pet_pyenv] PyEnv Info PyEnvInfo { exe: None, versions: None, version: None }
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.13.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0\\python3.13.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\python3.13.exe"

Environment (WindowsStore)
   Display-Name: Python 3.9
[2025-05-07T02:41:36Z TRACE pet_python_utils::env] Executing Python: C:\ProgramData\chocolatey\bin\python3.11.exe -c import json, sys; print('093385e9-59f7-4a16-a604-14bf206256fe');print(json.dumps({'version': '.'.join(str(n) for n in sys.version_info), 'sys_prefix': sys.prefix, 'executable': sys.executable, 'is64_bit': sys.maxsize > 2**32}))
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.9.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.9.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\python3.9.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\python3.9.exe"

Environment (WindowsStore)
   Display-Name: Python 3.10
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.10.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.10.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\\python3.10.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python3.10.exe"

Environment (WindowsStore)
   Display-Name: Python 3.12
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.12.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.12.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\\python3.12.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\python3.12.exe"

Environment (WindowsStore)
   Display-Name: Python 3.11
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.11.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.11.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\\python3.11.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\python3.11.exe"

[2025-05-07T02:41:36Z TRACE pet::find] Completed searching using locator: WindowsStore in 52.6225ms
[2025-05-07T02:41:37Z TRACE pet_conda::environment_locations] Time taken to get conda environment paths: 281.4135ms
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\test_environments\env1\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\demo\demo_sample1\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\buggy1, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\myproject, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\LSP\jedi-language-server\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\TPI\dec2024\C0nda Repro\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\TPI\nov2024\cprefix-repro\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\ProgramData\miniconda3, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\test_environments\env1\.conda2, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\named1, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\GIT\\test_environments\\env1\\.conda", executable: Some("C:\\GIT\\test_environments\\env1\\.conda\\python.exe"), version: Some("3.7.16"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\nopytest1, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\buggy1", executable: Some("C:\\Users\\kanadig\\.conda\\envs\\buggy1\\python.exe"), version: Some("3.13.2"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\myproject", executable: Some("C:\\Users\\kanadig\\.conda\\envs\\myproject\\python.exe"), version: Some("3.13.2"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\native1, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\GIT\\LSP\\jedi-language-server\\.conda", executable: Some("C:\\GIT\\LSP\\jedi-language-server\\.conda\\python.exe"), version: Some("3.7.1"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\nopytest1", executable: None, version: None, conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: None } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\ProgramData\\miniconda3", executable: Some("C:\\ProgramData\\miniconda3\\python.exe"), version: Some("3.10.9"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda", executable: Some("C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda\\python.exe"), version: Some("3.13.0"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\named1", executable: Some("C:\\Users\\kanadig\\.conda\\envs\\named1\\python.exe"), version: Some("3.12.0"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\GIT\\demo\\demo_sample1\\.conda", executable: Some("C:\\GIT\\demo\\demo_sample1\\.conda\\python.exe"), version: Some("3.8.18"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda", executable: Some("C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda\\python.exe"), version: Some("3.13.1"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\myproject", executable: Some("C:\\Users\\kanadig\\.conda\\envs\\myproject\\python.exe"), version: Some("3.13.2"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\native1", executable: Some("C:\\Users\\kanadig\\.conda\\envs\\native1\\python.exe"), version: Some("3.12.6"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Finding conda manager for CondaEnvironment { prefix: "C:\\GIT\\test_environments\\env1\\.conda2", executable: Some("C:\\GIT\\test_environments\\env1\\.conda2\\python.exe"), version: Some("3.10.9"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
Manager (Conda)
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
   Executable  : C:\ProgramData\miniconda3\Scripts\conda.exe
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
   Version     : 23.1.0
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\buggy1", executable: Some("C:\\Users\\kanadig\\.conda\\envs\\buggy1\\python.exe"), version: Some("3.13.2"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"

[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\GIT\\test_environments\\env1\\.conda", executable: Some("C:\\GIT\\test_environments\\env1\\.conda\\python.exe"), version: Some("3.7.16"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
Environment (Conda)
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\nopytest1", executable: None, version: None, conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: None } for path: "C:\\ProgramData\\miniconda3"
   Executable  : C:\Users\kanadig\.conda\envs\myproject\python.exe
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\GIT\\LSP\\jedi-language-server\\.conda", executable: Some("C:\\GIT\\LSP\\jedi-language-server\\.conda\\python.exe"), version: Some("3.7.1"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
   Version     : 3.13.2
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"
   Prefix      : C:\Users\kanadig\.conda\envs\myproject
   Architecture: x64
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
   Symlinks    : "C:\\Users\\kanadig\\.conda\\envs\\myproject\\python.exe"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager for path: "C:\\ProgramData\\miniconda3"

[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
Environment (Conda)
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
   Prefix      : C:\Users\kanadig\.conda\envs\nopytest1
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"

[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
Environment (Conda)
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
   Executable  : C:\Users\kanadig\.conda\envs\buggy1\python.exe
   Version     : 3.13.2
   Prefix      : C:\Users\kanadig\.conda\envs\buggy1
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\native1", executable: Some("C:\\Users\\kanadig\\.conda\\envs\\native1\\python.exe"), version: Some("3.12.6"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
   Symlinks    : "C:\\Users\\kanadig\\.conda\\envs\\buggy1\\python.exe"
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"

[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
Environment (Conda)
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\GIT\\demo\\demo_sample1\\.conda", executable: Some("C:\\GIT\\demo\\demo_sample1\\.conda\\python.exe"), version: Some("3.8.18"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
   Executable  : C:\GIT\test_environments\env1\.conda\python.exe
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Finding conda manager from parent path: "C:\\"
   Version     : 3.7.16
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\Users\\kanadig\\.conda\\envs\\named1", executable: Some("C:\\Users\\kanadig\\.conda\\envs\\named1\\python.exe"), version: Some("3.12.0"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
   Prefix      : C:\GIT\test_environments\env1\.conda
[2025-05-07T02:41:37Z TRACE pet_conda::manager] 1. Find conda manager from install path: "C:\\ProgramData\\miniconda3"
   Architecture: x64
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda", executable: Some("C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda\\python.exe"), version: Some("3.13.1"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\ProgramData\\miniconda3", executable: Some("C:\\ProgramData\\miniconda3\\python.exe"), version: Some("3.10.9"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
   Symlinks    : "C:\\GIT\\test_environments\\env1\\.conda\\python.exe"

[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda", executable: Some("C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda\\python.exe"), version: Some("3.13.0"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"
Environment (Conda)
   Executable  : C:\GIT\LSP\jedi-language-server\.conda\python.exe
   Version     : 3.7.1
   Prefix      : C:\GIT\LSP\jedi-language-server\.conda
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\LSP\\jedi-language-server\\.conda\\python.exe"
[2025-05-07T02:41:37Z TRACE pet_conda] 3.1 Found conda manager CondaManager { executable: "C:\\ProgramData\\miniconda3\\Scripts\\conda.exe", version: Some("23.1.0"), conda_dir: Some("C:\\ProgramData\\miniconda3") } for CondaEnvironment { prefix: "C:\\GIT\\test_environments\\env1\\.conda2", executable: Some("C:\\GIT\\test_environments\\env1\\.conda2\\python.exe"), version: Some("3.10.9"), conda_dir: Some("C:\\ProgramData\\miniconda3"), arch: Some(X64) } for path: "C:\\ProgramData\\miniconda3"

Environment (Conda)
   Executable  : C:\Users\kanadig\.conda\envs\native1\python.exe
   Version     : 3.12.6
   Prefix      : C:\Users\kanadig\.conda\envs\native1
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\Users\\kanadig\\.conda\\envs\\native1\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\demo\demo_sample1\.conda\python.exe
   Version     : 3.8.18
   Prefix      : C:\GIT\demo\demo_sample1\.conda
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\demo\\demo_sample1\\.conda\\python.exe"

Environment (Conda)
   Executable  : C:\Users\kanadig\.conda\envs\named1\python.exe
   Version     : 3.12.0
   Prefix      : C:\Users\kanadig\.conda\envs\named1
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\Users\\kanadig\\.conda\\envs\\named1\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\TPI\dec2024\C0nda Repro\.conda\python.exe
   Version     : 3.13.1
   Prefix      : C:\GIT\TPI\dec2024\C0nda Repro\.conda
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda\\python.exe"

Environment (Conda)
   Name        : base
   Executable  : C:\ProgramData\miniconda3\python.exe
   Version     : 3.10.9
   Prefix      : C:\ProgramData\miniconda3
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\ProgramData\\miniconda3\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\TPI\nov2024\cprefix-repro\.conda\python.exe
   Version     : 3.13.0
   Prefix      : C:\GIT\TPI\nov2024\cprefix-repro\.conda
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\test_environments\env1\.conda2\python.exe
   Version     : 3.10.9
   Prefix      : C:\GIT\test_environments\env1\.conda2
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\test_environments\\env1\\.conda2\\python.exe"

[2025-05-07T02:41:37Z TRACE pet::find] Completed searching using locator: Conda in 350.5955ms
[2025-05-07T02:41:37Z TRACE pet_python_utils::env] Executed Python "C:\\ProgramData\\chocolatey\\bin\\python3.11.exe" in Ok(730.0656ms) & produced an output "093385e9-59f7-4a16-a604-14bf206256fe\r\n{\"version\": \"3.11.9.final.0\", \"sys_prefix\": \"c:\\\\python311\", \"executable\": \"c:\\\\python311\\\\python.exe\", \"is64_bit\": true}"
[2025-05-07T02:41:37Z TRACE pet_python_utils::cache] Caching interpreter info for "C:\\ProgramData\\chocolatey\\bin\\python3.11.exe"
[2025-05-07T02:41:37Z TRACE pet::locators] Env ("C:\\ProgramData\\chocolatey\\bin\\python3.11.exe") in Path resolved as Some(WindowsRegistry)
[2025-05-07T02:41:37Z TRACE pet_pyenv] PyEnv Info PyEnvInfo { exe: None, versions: None, version: None }
[2025-05-07T02:41:37Z TRACE pet_python_utils::env] Executing Python: C:\ProgramData\chocolatey\bin\python3.12.exe -c import json, sys; print('093385e9-59f7-4a16-a604-14bf206256fe');print(json.dumps({'version': '.'.join(str(n) for n in sys.version_info), 'sys_prefix': sys.prefix, 'executable': sys.executable, 'is64_bit': sys.maxsize > 2**32}))
[2025-05-07T02:41:38Z TRACE pet_python_utils::env] Executed Python "C:\\ProgramData\\chocolatey\\bin\\python3.12.exe" in Ok(636.8208ms) & produced an output "093385e9-59f7-4a16-a604-14bf206256fe\r\n{\"version\": \"3.12.10.final.0\", \"sys_prefix\": \"c:\\\\python312\", \"executable\": \"c:\\\\python312\\\\python.exe\", \"is64_bit\": true}"
[2025-05-07T02:41:38Z TRACE pet_python_utils::cache] Caching interpreter info for "C:\\ProgramData\\chocolatey\\bin\\python3.12.exe"
[2025-05-07T02:41:38Z TRACE pet::locators] Env ("C:\\ProgramData\\chocolatey\\bin\\python3.12.exe") in Path resolved as Some(WindowsRegistry)

Breakdown by each locator:
--------------------------
Conda                : 350.8796ms
PipEnv               : 11.6277ms
Pixi                 : 11.354ms
Poetry               : 27.5071ms
PyEnv                : 22.6192ms
Venv                 : 1.1301ms
VirtualEnv           : 8.05ms
VirtualEnvWrapper    : 7.9033ms
WindowsRegistry      : 41.5145ms
WindowsStore         : 52.7448ms

Breakdown for finding Environments:
-----------------------------------
GlobalVirtualEnvs    : 9.3382ms
Locators             : 356.3522ms
Path                 : 1.4241624s
Workspaces           : 37.3685ms

Managers:
---------
Conda                : 1

Environments (21):
------------------
Conda                : 12
WindowsRegistry      : 3
WindowsStore         : 6

Completed in 1442ms

The problem with not returning name is simple (solving the issue is complex)

  • We don't know that this env belongs to the conda managers returned
    Assume you have 2 conda managers, we only discover 1 conda manager.
    The conda manager we return has a conda rc file that says conda envs will be stored under <Home>/my_conda_envs/
    Now some conda envs are found here <Home>/.conda/envs/buggy1

If we return buggy1, the conda manager we have returned will not be able to activate buggy1. because it will not look for envs under <Home>/.conda/envs/

This can be solved, but will require more work, to do with conda_rc and reading other configurations for the conda managers & the like
Basically

@DonJayamanne
Copy link
Collaborator Author

DonJayamanne commented May 7, 2025

@karthiknadig Please

PET is unable to find condarc on your machine.

I think the conda rc might be under c:\programdata\miniconda3\
please can you double check the file can be of the form condarc.d or condarc or .condarc
& if found, please can you share the contents of the file (here or privately).

@karthiknadig
Copy link
Member

I don't have any condarc files:

C:\GIT\TPI>conda info --json
{
  "active_prefix": null,
  "active_prefix_name": null,
  "av_data_dir": "C:\\ProgramData\\miniconda3\\etc\\conda",
  "av_metadata_url_base": null,
  "channels": [
    "https://repo.anaconda.com/pkgs/main/win-64",
    "https://repo.anaconda.com/pkgs/main/noarch",
    "https://repo.anaconda.com/pkgs/r/win-64",
    "https://repo.anaconda.com/pkgs/r/noarch",
    "https://repo.anaconda.com/pkgs/msys2/win-64",
    "https://repo.anaconda.com/pkgs/msys2/noarch"
  ],
  "conda_build_version": "not installed",
  "conda_env_version": "23.1.0",
  "conda_location": "C:\\ProgramData\\miniconda3\\lib\\site-packages\\conda",
  "conda_prefix": "C:\\ProgramData\\miniconda3",
  "conda_shlvl": -1,
  "conda_version": "23.1.0",
  "config_files": [],
  "default_prefix": "C:\\ProgramData\\miniconda3",
  "env_vars": {
    "CIO_TEST": "<not set>",
    "CI_PYTHON_PATH": "C:\\GIT\\s p\\vscode-python\\.venv\\Scripts\\python.exe",
    "CONDA_ROOT": "C:\\ProgramData\\miniconda3",
    "CURL_CA_BUNDLE": "<not set>",
    "FNM_MULTISHELL_PATH": "C:\\Users\\kanadig\\AppData\\Local\\fnm_multishells\\5996_1746490615026",
    "HOMEPATH": "\\Users\\kanadig",
    "LD_PRELOAD": "<not set>",
    "PATH": "C:\\Users\\kanadig\\AppData\\Local\\fnm_multishells\\5996_1746490615026;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Python312\\Scripts\\;C:\\Python312\\;C:\\Python311\\Scripts\\;C:\\Python311\\;C:\\Program Files\\Quarto\\bin;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\ProgramData\\miniconda3\\Scripts;C:\\Program Files\\WinMerge;C:\\Program Files\\Hatch\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\dotnet\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Users\\kanadig\\.pixi\\bin;C:\\Users\\kanadig\\.cargo\\bin;C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\kanadig\\.dotnet\\tools;C:\\texlive\\2024\\bin\\windows;C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin;C:\\Users\\kanadig\\AppData\\Local\\Programs\\nu\\bin\\",
    "PSMODULEPATH": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files (x86)\\Microsoft Azure Information Protection\\Powershell",
    "REQUESTS_CA_BUNDLE": "<not set>",
    "SSL_CERT_FILE": "<not set>"
  },
  "envs": [
    "C:\\GIT\\LSP\\jedi-language-server\\.conda",
    "C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda",
    "C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda",
    "C:\\GIT\\demo\\demo_sample1\\.conda",
    "C:\\GIT\\test_environments\\env1\\.conda",
    "C:\\GIT\\test_environments\\env1\\.conda2",
    "C:\\ProgramData\\miniconda3",
    "C:\\Users\\kanadig\\.conda\\envs\\buggy1",
    "C:\\Users\\kanadig\\.conda\\envs\\myproject",
    "C:\\Users\\kanadig\\.conda\\envs\\named1",
    "C:\\Users\\kanadig\\.conda\\envs\\native1",
    "C:\\Users\\kanadig\\.conda\\envs\\nopytest1",
    "c:\\Users\\kanadig\\.conda\\envs\\native1"
  ],
  "envs_dirs": [
    "C:\\Users\\kanadig\\.conda\\envs",
    "C:\\ProgramData\\miniconda3\\envs",
    "C:\\Users\\kanadig\\AppData\\Local\\conda\\conda\\envs"
  ],
  "is_windows_admin": false,
  "netrc_file": null,
  "offline": false,
  "pkgs_dirs": [
    "C:\\ProgramData\\miniconda3\\pkgs",
    "C:\\Users\\kanadig\\.conda\\pkgs",
    "C:\\Users\\kanadig\\AppData\\Local\\conda\\conda\\pkgs"
  ],
  "platform": "win-64",
  "python_version": "3.10.9.final.0",
  "rc_path": "C:\\Users\\kanadig\\.condarc",
  "requests_version": "2.28.1",
  "root_prefix": "C:\\ProgramData\\miniconda3",
  "root_writable": false,
  "site_dirs": [
    "C:\\Users\\kanadig\\AppData\\Roaming\\Python\\etc",
    "C:\\Users\\kanadig\\AppData\\Roaming\\Python\\Python311",
    "C:\\Users\\kanadig\\AppData\\Roaming\\Python\\Python37",
    "C:\\Users\\kanadig\\AppData\\Roaming\\Python\\share"
  ],
  "sys.executable": "C:\\ProgramData\\miniconda3\\python.exe",
  "sys.prefix": "C:\\ProgramData\\miniconda3",
  "sys.version": "3.10.9 | packaged by conda-forge | (main, Jan 11 2023, 15:15:40) [MSC v.1916 64 bit (AMD64)]",
  "sys_rc_path": "C:\\ProgramData\\miniconda3\\.condarc",
  "user_agent": "conda/23.1.0 requests/2.28.1 CPython/3.10.9 Windows/10 Windows/10.0.26100",
  "user_rc_path": "C:\\Users\\kanadig\\.condarc",
  "virtual_pkgs": [
    [
      "__archspec",
      "1",
      "x86_64"
    ],
    [
      "__win",
      "0",
      "0"
    ]
  ]
}

C:\GIT\TPI>type C:\Users\kanadig\.condarc
The system cannot find the file specified.

C:\GIT\TPI>type C:\ProgramData\miniconda3\.condarc
The system cannot find the file specified.

@karthiknadig
Copy link
Member

I think if we detect only one conda manager. Then I think making some assumptions is safe. The issue occurs if we detect conda manager inside an environment.

@DonJayamanne
Copy link
Collaborator Author

The issue occurs if we detect conda manager inside an environment.

This will be tricky, now we'll have to block conda discovery untill all managers are discovered and all envs are discovered.
Then after this we can generate the names.

@DonJayamanne DonJayamanne self-assigned this May 7, 2025
@DonJayamanne
Copy link
Collaborator Author

Actually, wait I think i can do this.
In your case we know exactly what the manager is for a given conda env.
So yeah, this should be possible, (even if we have multiple conda managers)

@karthiknadig
Copy link
Member

I ran the latest from main, still don;t get the name:

>C:\GIT\misc\python-environment-tools\target\release\pet.exe find -l -v
[2025-05-07T15:27:36Z TRACE pet_core::os_environment] Env PATH: ["C:\\Users\\kanadig\\AppData\\Local\\fnm_multishells\\5996_1746490615026", "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path", "C:\\Python312\\Scripts\\", "C:\\Python312\\", "C:\\Python311\\Scripts\\", "C:\\Python311\\", "C:\\Program Files\\Quarto\\bin", "C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin", "C:\\WINDOWS\\system32", "C:\\WINDOWS", "C:\\WINDOWS\\System32\\Wbem", "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\", "C:\\WINDOWS\\System32\\OpenSSH\\", "C:\\ProgramData\\chocolatey\\bin", "C:\\ProgramData\\miniconda3\\Scripts", "C:\\Program Files\\WinMerge", "C:\\Program Files\\Hatch\\", "C:\\Program Files\\Git\\cmd", "C:\\Program Files\\dotnet\\", "C:\\Program Files\\Docker\\Docker\\resources\\bin", "C:\\Users\\kanadig\\.pixi\\bin", "C:\\Users\\kanadig\\.cargo\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code\\bin", "C:\\texlive\\2024\\bin\\windows", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\nu\\bin\\"]
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: WindowsStore
[2025-05-07T15:27:36Z TRACE pet::find] Searching for environments in workspace folders: ["C:\\GIT\\TPI"]
[2025-05-07T15:27:36Z TRACE pet::find] Searching for environments in global folders: ["C:\\Users\\kanadig\\AppData\\Local\\fnm_multishells\\5996_1746490615026", "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path", "C:\\Python312\\Scripts\\", "C:\\Python312\\", "C:\\Python311\\Scripts\\", "C:\\Python311\\", "C:\\Program Files\\Quarto\\bin", "C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin", "C:\\WINDOWS\\system32", "C:\\WINDOWS", "C:\\WINDOWS\\System32\\Wbem", "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\", "C:\\WINDOWS\\System32\\OpenSSH\\", "C:\\ProgramData\\chocolatey\\bin", "C:\\ProgramData\\miniconda3\\Scripts", "C:\\Program Files\\WinMerge", "C:\\Program Files\\Hatch\\", "C:\\Program Files\\Git\\cmd", "C:\\Program Files\\dotnet\\", "C:\\Program Files\\Docker\\Docker\\resources\\bin", "C:\\Users\\kanadig\\.pixi\\bin", "C:\\Users\\kanadig\\.cargo\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code\\bin", "C:\\texlive\\2024\\bin\\windows", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\nu\\bin\\"]
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Searching for Windows Store Python in "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps"
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: WindowsRegistry
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: PyEnv
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: Pixi
[2025-05-07T15:27:36Z TRACE pet_windows_registry::environments] Searching HKLM\Software\Python\PythonCore
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: Conda
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: PipEnv
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: Poetry
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: VirtualEnvWrapper
[2025-05-07T15:27:36Z TRACE pet::find] Completed searching using locator: Pixi in 795.6µs
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: Venv
[2025-05-07T15:27:36Z TRACE pet::find] Completed searching using locator: Venv in 2.5643ms
[2025-05-07T15:27:36Z TRACE pet::find] Searching using locator: VirtualEnv
[2025-05-07T15:27:36Z TRACE pet::find] Completed searching using locator: VirtualEnv in 2.8107ms
[2025-05-07T15:27:36Z TRACE pet::find] Completed searching using locator: PipEnv in 1.6119ms
[2025-05-07T15:27:36Z TRACE pet::find] Completed searching using locator: VirtualEnvWrapper in 2.1643ms
[2025-05-07T15:27:36Z TRACE pet_pyenv] PyEnv Info PyEnvInfo { exe: None, versions: None, version: None }
[2025-05-07T15:27:36Z TRACE pet_pyenv] PyEnv versions directory not found
[2025-05-07T15:27:36Z TRACE pet::find] Completed searching using locator: PyEnv in 5.5616ms
[2025-05-07T15:27:36Z TRACE pet::find] Searching for environments in global venv folders: []
[2025-05-07T15:27:36Z TRACE pet_windows_registry::environments] Found Python (C:\Python311) in HKLM\Software\Python\PythonCore\3.11
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\conda\\condarc")
[2025-05-07T15:27:36Z TRACE pet_poetry::manager] Poetry exe not found
Environment (WindowsRegistry)
[2025-05-07T15:27:36Z TRACE pet::locators] Identifying Python environment using locators: "C:\\ProgramData\\chocolatey\\bin\\python3.11.exe"
   Display-Name: Python 3.11 (64-bit)
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\miniconda3\\.condarc")
   Executable  : C:\Python311\python.exe
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\Schemas"
[2025-05-07T15:27:36Z TRACE pet_poetry] Poetry Manager None
   Version     : 3.11.9
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\miniconda3\\condarc.d")
   Prefix      : C:\Python311
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0"
   Architecture: x64
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Found environments.txt file "C:\\Users\\kanadig\\.conda\\environments.txt"
   Symlinks    : "C:\\Python311\\python.exe"
[2025-05-07T15:27:36Z TRACE pet_poetry::pyproject_toml] Finding poetry file in "C:\\GIT\\TPI"

[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\miniconda\\condarc.d")
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\Schemas"
[2025-05-07T15:27:36Z TRACE pet_poetry::pyproject_toml] Parsing poetry file: "C:\\GIT\\TPI\\pyproject.toml"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\LSP\\jedi-language-server\\.conda"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\miniconda\\condarc")
[2025-05-07T15:27:36Z TRACE pet_windows_registry::environments] Found Python (C:\Python312) in HKLM\Software\Python\PythonCore\3.12
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0"
[2025-05-07T15:27:36Z TRACE pet_poetry::config] Poetry cache (default): Some("C:\\Users\\kanadig\\AppData\\Local\\pypoetry\\Cache")
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\condarc.d")
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.condarc")
Environment (WindowsRegistry)
[2025-05-07T15:27:36Z TRACE pet_poetry::config] Poetry config file => None, virtualenv.path => "C:\\Users\\kanadig\\AppData\\Local\\pypoetry\\Cache\\virtualenvs", cache_dir => Some("C:\\Users\\kanadig\\AppData\\Local\\pypoetry\\Cache"), virtualenvs_in_project => None
   Display-Name: Python 3.12 (64-bit)
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda environments in known paths ["C:\\Program Files\\Docker\\Docker\\resources\\bin", "C:\\Program Files\\Git\\cmd", "C:\\Program Files\\Hatch\\", "C:\\Program Files\\Quarto\\bin", "C:\\Program Files\\WinMerge", "C:\\Program Files\\dotnet\\", "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path", "C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin", "C:\\ProgramData\\chocolatey\\bin", "C:\\ProgramData\\miniconda3\\Scripts", "C:\\Python311\\", "C:\\Python311\\Scripts\\", "C:\\Python312\\", "C:\\Python312\\Scripts\\", "C:\\Users\\kanadig\\.cargo\\bin", "C:\\Users\\kanadig\\.conda/envs\\buggy1", "C:\\Users\\kanadig\\.conda/envs\\myproject", "C:\\Users\\kanadig\\.conda/envs\\named1", "C:\\Users\\kanadig\\.conda/envs\\native1", "C:\\Users\\kanadig\\.conda/envs\\nopytest1", "C:\\Users\\kanadig\\.pixi\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe", "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin", "C:\\Users\\kanadig\\AppData\\Local\\Programs\\nu\\bin\\", "C:\\Users\\kanadig\\AppData\\Local\\fnm_multishells\\5996_1746490615026", "C:\\WINDOWS", "C:\\WINDOWS\\System32\\OpenSSH\\", "C:\\WINDOWS\\System32\\Wbem", "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\", "C:\\WINDOWS\\system32", "C:\\texlive\\2024\\bin\\windows"]
   Executable  : C:\Python312\python.exe
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\test_environments\\env1\\.conda"
   Version     : 3.12.10
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\Schemas"
   Prefix      : C:\Python312
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0"
   Architecture: x64
[2025-05-07T15:27:36Z TRACE pet_poetry::environment_locations] pyproject.toml not found in any workspace directory
   Symlinks    : "C:\\Python312\\python.exe"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\test_environments\\env1\\.conda2"

[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.config\\conda\\condarc.d")
[2025-05-07T15:27:36Z TRACE pet::find] Completed searching using locator: Poetry in 19.2245ms
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\Schemas"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\demo\\demo_sample1\\.conda"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\conda\\.condarc")
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\conda\\condarc")
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0"
[2025-05-07T15:27:36Z TRACE pet_windows_registry::environments] Found Python (C:\Program Files\Python37) in HKLM\Software\Python\PythonCore\3.7
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\named1"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\miniconda\\condarc.d")
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\native1"
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\Schemas"
Environment (WindowsRegistry)
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.config\\conda\\.condarc")
   Display-Name: Python 3.7 (64-bit)
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0"
   Executable  : C:\Program Files\Python37\python.exe
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\native1"
   Version     : 3.7.9
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\conda\\condarc.d")
   Prefix      : C:\Program Files\Python37
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda"
   Architecture: x64
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\miniconda\\condarc")
   Symlinks    : "C:\\Program Files\\Python37\\python.exe"
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\SystemAppData\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\Schemas"

[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\miniconda3\\condarc")
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda"
[2025-05-07T15:27:36Z TRACE pet_windows_store::environments] Opening registry key "Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages\\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0"
[2025-05-07T15:27:36Z TRACE pet_windows_registry::environments] Searching HKCU\Software\Python\PythonCore
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\condarc")
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\myproject"
[2025-05-07T15:27:36Z TRACE pet_windows_registry::environments] Found Python (C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0) in HKCU\Software\Python\PythonCore\3.12, but skipping as this is a Windows Store Python
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\conda\\.mambarc")
Environment (WindowsStore)
[2025-05-07T15:27:36Z TRACE pet::find] Completed searching using locator: WindowsRegistry in 25.2922ms
   Display-Name: Python 3.13
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\nopytest1"
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.13.exe
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.conda\\.condarc")
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\conda\\condarc.d")
   Architecture: x64
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] Conda env in environments.txt file "C:\\Users\\kanadig\\.conda\\envs\\buggy1"
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.13.exe"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\miniconda\\.condarc")
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0\\python3.13.exe"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\miniconda3\\.condarc")
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\python.exe"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.mambarc")
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\python3.exe"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\conda\\.condarc")
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\python3.13.exe"
[2025-05-07T15:27:36Z TRACE pet_pyenv] PyEnv Info PyEnvInfo { exe: None, versions: None, version: None }

[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\miniconda3\\condarc.d")
Environment (WindowsStore)
[2025-05-07T15:27:36Z TRACE pet::locators] Failed to identify Python environment using locators, now trying to resolve: "C:\\ProgramData\\chocolatey\\bin\\python3.11.exe"
   Display-Name: Python 3.8
[2025-05-07T15:27:36Z TRACE pet_python_utils::env] Executing Python: C:\ProgramData\chocolatey\bin\python3.11.exe -c import json, sys; print('093385e9-59f7-4a16-a604-14bf206256fe');print(json.dumps({'version': '.'.join(str(n) for n in sys.version_info), 'sys_prefix': sys.prefix, 'executable': sys.executable, 'is64_bit': sys.maxsize > 2**32}))
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.8.exe
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.conda\\condarc.d")
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C::\\ProgramData\\miniconda3\\condarc")
   Architecture: x64
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.conda\\condarc")
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.8.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\\python.exe"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\Users\\kanadig\\.config\\conda\\condarc")
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\\python3.8.exe"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] .condarc not found ("C:\\ProgramData\\miniconda\\.condarc")
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python3.8.exe"

Environment (WindowsStore)
   Display-Name: Python 3.9
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.9.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.9.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\python3.9.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\python3.exe"
[2025-05-07T15:27:36Z TRACE pet_conda::environment_locations] No Conda environments in .condarc []
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\python3.9.exe"

Environment (WindowsStore)
   Display-Name: Python 3.11
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.11.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.11.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\\python3.11.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\python3.11.exe"

Environment (WindowsStore)
   Display-Name: Python 3.10
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.10.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.10.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\\python3.10.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python3.10.exe"

Environment (WindowsStore)
   Display-Name: Python 3.12
   Executable  : C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.12.exe
   Prefix      : C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0
   Architecture: x64
   Symlinks    : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\python3.12.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\\python.exe"
               : "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\\python3.12.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\python.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\python3.exe"
               : "C:\\Users\\kanadig\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\python3.12.exe"

[2025-05-07T15:27:36Z TRACE pet::find] Completed searching using locator: WindowsStore in 40.415ms
[2025-05-07T15:27:37Z TRACE pet_conda::environment_locations] Time taken to get conda environment paths: 285.9985ms
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\LSP\\jedi-language-server\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .conda python=3.7.1"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .conda python"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\demo\\demo_sample1\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create --yes -p .conda python=3.8"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\test_environments\\env1\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .conda python=3.7"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\buggy1" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -n buggy1 python conda"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\myproject" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create --yes --name myproject python"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\LSP\jedi-language-server\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\nopytest1" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create --yes -n nopytest1"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .conda python"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\test_environments\\env1\\.conda2" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .\\.conda2"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\demo\demo_sample1\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\TPI\nov2024\cprefix-repro\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\TPI\dec2024\C0nda Repro\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\buggy1, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\named1" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -n named1 python==3.12"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\named1, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\native1" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -n native1 python=3.12.6"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\ProgramData\miniconda3, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\nopytest1, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\test_environments\env1\.conda2, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\test_environments\env1\.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\myproject, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\LSP\\jedi-language-server\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .conda python=3.7.1"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .conda python"
Manager (Conda)
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\demo\\demo_sample1\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create --yes -p .conda python=3.8"
   Executable  : C:\ProgramData\miniconda3\Scripts\conda.exe
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .conda python"
   Version     : 23.1.0
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\buggy1" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -n buggy1 python conda"

[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\Users\kanadig\.conda\envs\native1, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
Environment (Conda)
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\nopytest1" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create --yes -n nopytest1"
   Name        : base
   Executable  : C:\ProgramData\miniconda3\python.exe
   Version     : 3.10.9
   Prefix      : C:\ProgramData\miniconda3
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\ProgramData\\miniconda3\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\LSP\jedi-language-server\.conda\python.exe
   Version     : 3.7.1
   Prefix      : C:\GIT\LSP\jedi-language-server\.conda
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\LSP\\jedi-language-server\\.conda\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\TPI\dec2024\C0nda Repro\.conda\python.exe
   Version     : 3.13.1
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\named1" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -n named1 python==3.12"
   Prefix      : C:\GIT\TPI\dec2024\C0nda Repro\.conda
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\TPI\\dec2024\\C0nda Repro\\.conda\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\demo\demo_sample1\.conda\python.exe
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\myproject" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create --yes --name myproject python"
   Version     : 3.8.18
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\test_environments\\env1\\.conda2" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .\\.conda2"
   Prefix      : C:\GIT\demo\demo_sample1\.conda
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\demo\\demo_sample1\\.conda\\python.exe"

Environment (Conda)
   Executable  : C:\Users\kanadig\.conda\envs\myproject\python.exe
   Version     : 3.13.2
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\GIT\\test_environments\\env1\\.conda" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -p .conda python=3.7"
   Prefix      : C:\Users\kanadig\.conda\envs\myproject
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\Users\\kanadig\\.conda\\envs\\myproject\\python.exe"

Environment (Conda)
   Executable  : C:\Users\kanadig\.conda\envs\buggy1\python.exe
   Version     : 3.13.2
   Prefix      : C:\Users\kanadig\.conda\envs\buggy1
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\Users\\kanadig\\.conda\\envs\\buggy1\\python.exe"

Environment (Conda)
   Prefix      : C:\Users\kanadig\.conda\envs\nopytest1
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe

Environment (Conda)
   Executable  : C:\Users\kanadig\.conda\envs\named1\python.exe
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\\Users\\kanadig\\.conda\\envs\\native1" is from history file is "# cmd: C:\\ProgramData\\miniconda3\\Scripts\\conda-script.py create -n native1 python=3.12.6"
   Version     : 3.12.0
   Prefix      : C:\Users\kanadig\.conda\envs\named1
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\Users\\kanadig\\.conda\\envs\\named1\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\TPI\nov2024\cprefix-repro\.conda\python.exe
   Version     : 3.13.0
   Prefix      : C:\GIT\TPI\nov2024\cprefix-repro\.conda
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\TPI\\nov2024\\cprefix-repro\\.conda\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\test_environments\env1\.conda2\python.exe
   Version     : 3.10.9
   Prefix      : C:\GIT\test_environments\env1\.conda2
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\test_environments\\env1\\.conda2\\python.exe"

Environment (Conda)
   Executable  : C:\GIT\test_environments\env1\.conda\python.exe
   Version     : 3.7.16
   Prefix      : C:\GIT\test_environments\env1\.conda
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\GIT\\test_environments\\env1\\.conda\\python.exe"

Environment (Conda)
   Executable  : C:\Users\kanadig\.conda\envs\native1\python.exe
   Version     : 3.12.6
   Prefix      : C:\Users\kanadig\.conda\envs\native1
   Architecture: x64
   Manager     : Conda, C:\ProgramData\miniconda3\Scripts\conda.exe
   Symlinks    : "C:\\Users\\kanadig\\.conda\\envs\\native1\\python.exe"

[2025-05-07T15:27:37Z TRACE pet::find] Completed searching using locator: Conda in 330.9522ms
[2025-05-07T15:27:37Z TRACE pet_python_utils::env] Executed Python "C:\\ProgramData\\chocolatey\\bin\\python3.11.exe" in Ok(374.1189ms) & produced an output "093385e9-59f7-4a16-a604-14bf206256fe\r\n{\"version\": \"3.11.9.final.0\", \"sys_prefix\": \"c:\\\\python311\", \"executable\": \"c:\\\\python311\\\\python.exe\", \"is64_bit\": true}"
[2025-05-07T15:27:37Z TRACE pet_python_utils::cache] Caching interpreter info for "C:\\ProgramData\\chocolatey\\bin\\python3.11.exe"
[2025-05-07T15:27:37Z TRACE pet::locators] Env ("C:\\ProgramData\\chocolatey\\bin\\python3.11.exe") in Path resolved as Some(WindowsRegistry)
[2025-05-07T15:27:37Z TRACE pet::locators] Identifying Python environment using locators: "C:\\ProgramData\\chocolatey\\bin\\python3.12.exe"
[2025-05-07T15:27:37Z TRACE pet_pyenv] PyEnv Info PyEnvInfo { exe: None, versions: None, version: None }
[2025-05-07T15:27:37Z TRACE pet::locators] Failed to identify Python environment using locators, now trying to resolve: "C:\\ProgramData\\chocolatey\\bin\\python3.12.exe"
[2025-05-07T15:27:37Z TRACE pet_python_utils::env] Executing Python: C:\ProgramData\chocolatey\bin\python3.12.exe -c import json, sys; print('093385e9-59f7-4a16-a604-14bf206256fe');print(json.dumps({'version': '.'.join(str(n) for n in sys.version_info), 'sys_prefix': sys.prefix, 'executable': sys.executable, 'is64_bit': sys.maxsize > 2**32}))
[2025-05-07T15:27:37Z TRACE pet_python_utils::env] Executed Python "C:\\ProgramData\\chocolatey\\bin\\python3.12.exe" in Ok(310.6173ms) & produced an output "093385e9-59f7-4a16-a604-14bf206256fe\r\n{\"version\": \"3.12.10.final.0\", \"sys_prefix\": \"c:\\\\python312\", \"executable\": \"c:\\\\python312\\\\python.exe\", \"is64_bit\": true}"
[2025-05-07T15:27:37Z TRACE pet_python_utils::cache] Caching interpreter info for "C:\\ProgramData\\chocolatey\\bin\\python3.12.exe"
[2025-05-07T15:27:37Z TRACE pet::locators] Env ("C:\\ProgramData\\chocolatey\\bin\\python3.12.exe") in Path resolved as Some(WindowsRegistry)

Breakdown by each locator:
--------------------------
Conda                : 331.1119ms
PipEnv               : 4.1323ms
Pixi                 : 3.3536ms
Poetry               : 19.8418ms
PyEnv                : 5.7736ms
Venv                 : 2.7817ms
VirtualEnv           : 2.996ms
VirtualEnvWrapper    : 4.0615ms
WindowsRegistry      : 25.5803ms
WindowsStore         : 40.5945ms

Breakdown for finding Environments:
-----------------------------------
GlobalVirtualEnvs    : 6.8825ms
Locators             : 332.9164ms
Path                 : 724.8182ms
Workspaces           : 22.5449ms

Managers:
---------
Conda                : 1

Environments (21):
------------------
Conda                : 12
WindowsRegistry      : 3
WindowsStore         : 6

Completed in 734ms

@DonJayamanne
Copy link
Collaborator Author

[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\GIT\LSP\jedi-language-server\.conda" is from history file is "# cmd: C:\ProgramData\miniconda3\Scripts\conda-script.py create -p .conda python=3.7.1"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\GIT\TPI\dec2024\C0nda Repro\.conda" is from history file is "# cmd: C:\ProgramData\miniconda3\Scripts\conda-script.py create -p .conda python"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\GIT\demo\demo_sample1\.conda" is from history file is "# cmd: C:\ProgramData\miniconda3\Scripts\conda-script.py create --yes -p .conda python=3.8"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\GIT\test_environments\env1\.conda" is from history file is "# cmd: C:\ProgramData\miniconda3\Scripts\conda-script.py create -p .conda python=3.7"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\Users\kanadig\.conda\envs\buggy1" is from history file is "# cmd: C:\ProgramData\miniconda3\Scripts\conda-script.py create -n buggy1 python conda"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\Users\kanadig\.conda\envs\myproject" is from history file is "# cmd: C:\ProgramData\miniconda3\Scripts\conda-script.py create --yes --name myproject python"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda install folder C:\GIT\LSP\jedi-language-server.conda, found, & will be used for the Conda Env: C:\ProgramData\miniconda3
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\Users\kanadig\.conda\envs\nopytest1" is from history file is "# cmd: C:\ProgramData\miniconda3\Scripts\conda-script.py create --yes -n nopytest1"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\GIT\TPI\nov2024\cprefix-repro\.conda" is from history file is "# cmd: C:\ProgramData\miniconda3\Scripts\conda-script.py create -p .conda python"
[2025-05-07T15:27:37Z TRACE pet_conda::environments] Conda creation line for "C:\GIT\test_environments\env1\.conda2" is from history file is "# cmd: C:\ProgramData\miniconda3\Scripts\conda-script.py create -p .\.conda2"

@karthiknadig
You created the environments using the -p, hence they do not have a name, they only have a prefix.
Thats by design, names will be returned only if you use -n flag to create a name, as you can use fully qualified paths to create envs in any location and activating such envs are never guaranteed to work with the -n <name> flag.

@DonJayamanne
Copy link
Collaborator Author

Duplicate of #203

@DonJayamanne DonJayamanne marked this as a duplicate of #203 May 7, 2025
@DonJayamanne DonJayamanne reopened this May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment