-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi!
Is it expected that PET is not discovering the base
conda environment, but does discover other Conda environments?
I noticed this because when I disable the envs extension and use "python.locator": "js"
, then I can use Python: Select Interpreter
and see the base
Conda env. When I either enable the native locator or the envs extension, I can't see it.
I'm using a PET executable built off release/2025.12
. Output:
% ./pet
Manager (Pyenv)
Executable : /opt/homebrew/bin/pyenv
Version : 2.5.7
Environment (Pyenv)
Executable : /Users/austin/.pyenv/versions/3.12.9/bin/python
Version : 3.12.9
Prefix : /Users/austin/.pyenv/versions/3.12.9
Manager : Pyenv, /opt/homebrew/bin/pyenv
Symlinks : "/Users/austin/.pyenv/versions/3.12.9/bin/python"
: "/Users/austin/.pyenv/versions/3.12.9/bin/python3"
: "/Users/austin/.pyenv/versions/3.12.9/bin/python3.12"
Manager (Conda)
Executable : /opt/homebrew/Caskroom/miniforge/base/bin/conda
Version : 24.11.2
Environment (Conda)
Name : test
Executable : /opt/homebrew/Caskroom/miniforge/base/envs/test/bin/python
Version : 3.12.11
Prefix : /opt/homebrew/Caskroom/miniforge/base/envs/test
Architecture: x64
Manager : Conda, /opt/homebrew/Caskroom/miniforge/base/bin/conda
Symlinks : "/opt/homebrew/Caskroom/miniforge/base/envs/test/bin/python"
: "/opt/homebrew/Caskroom/miniforge/base/envs/test/bin/python3"
: "/opt/homebrew/Caskroom/miniforge/base/envs/test/bin/python3.1"
: "/opt/homebrew/Caskroom/miniforge/base/envs/test/bin/python3.12"
Environment (Homebrew)
Executable : /opt/homebrew/bin/python3
Version : 3.13.3
Symlinks : "/opt/homebrew/bin/python3"
: "/opt/homebrew/bin/python3.13"
: "/opt/homebrew/opt/python/bin/python3"
: "/opt/homebrew/opt/python3/bin/python3"
: "/opt/homebrew/opt/python@3/bin/python3"
: "/opt/homebrew/opt/python/bin/python3.13"
: "/opt/homebrew/opt/python3/bin/python3.13"
: "/opt/homebrew/opt/python@3/bin/python3.13"
: "/opt/homebrew/opt/python@3.13/bin/python3"
: "/opt/homebrew/opt/python@3.13/bin/python3.13"
: "/opt/homebrew/Cellar/python@3.13/3.13.3/bin/python3"
: "/opt/homebrew/Cellar/python@3.13/3.13.3/bin/python3.13"
: "/opt/homebrew/Frameworks/Python.framework/Versions/3.13/bin/python3"
: "/opt/homebrew/Frameworks/Python.framework/Versions/3.13/bin/python3.13"
: "/opt/homebrew/Frameworks/Python.framework/Versions/Current/bin/python3"
: "/opt/homebrew/Frameworks/Python.framework/Versions/Current/bin/python3.13"
: "/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/3.13/bin/python3"
: "/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/3.13/bin/python3.13"
: "/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/Current/bin/python3"
: "/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/Current/bin/python3.13"
Environment (MacCommandLineTools)
Executable : /usr/bin/python3
Version : 3.9.6.final.0
Prefix : /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9
Architecture: x64
Symlinks : "/usr/bin/python3"
: "/Library/Developer/CommandLineTools/usr/bin/python3"
: "/Library/Developer/CommandLineTools/usr/bin/python3.9"
: "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3"
: "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9"
Breakdown by each locator:
--------------------------
Conda : 10.976333ms
Homebrew : 25.155166ms
MacCommandLineTools : 49.890167ms
MacPythonOrg : 11.083µs
MacXCode : 459ns
PipEnv : 125ns
Pixi : 1.542µs
Poetry : 442.625µs
PyEnv : 5.485208ms
Venv : 195.458µs
VirtualEnv : 125ns
VirtualEnvWrapper : 374.125µs
Breakdown for finding Environments:
-----------------------------------
GlobalVirtualEnvs : 84.166µs
Locators : 52.284625ms
Path : 53.030292ms
Workspaces : 1.881375ms
Managers:
---------
Conda : 1
Pyenv : 1
Environments (4):
------------------
Conda : 1
Homebrew : 1
MacCommandLineTools : 1
Pyenv : 1
Completed in 105ms
Copilot
Metadata
Metadata
Assignees
Labels
No labels