Virtual environments not found #24788
Labels
area-environments
Features relating to handling interpreter environments
info-needed
Issue requires more information from poster
Type: Bug
Behaviour
Hatch virtual environments are not displayed when using the command palette
Python: Select Interpreter
(or similarly when using the Jupyter extensionsSelect Kernel
option).Steps to reproduce:
2024.18.0
or later.hatch env create
, create multiple virtual environments. By default they are placed in the.hatch
directory of the workspace root.Python: Select Interpreter
(or Jupyter extensionSelect Kernel
) and local environments will not be listed.2024.16.1
and restart and the environments are displayed as expected.Diagnostic data
The issue is reproducible in all versions
2024.18.0
and higher. Possibly related to this commit which fixed an unrelated duplication issue: #243212024.16.1
2024.18.0
Extension version:
2024.18.0
VS Code version: Code 1.96.4 (Universal) (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Darwin arm64 24.3.0
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
The text was updated successfully, but these errors were encountered: