"Invalid Python selected" prompt is shown when create environment command is used in a multi-root workspace #22649
Labels
area-environments
Features relating to handling interpreter environments
bug
Issue identified by VS Code Team member as probable bug
needs spike
Label for issues that need investigation before they can be worked on.
Type: Bug
Behaviour
Expected vs. Actual
When using the create environment command in a multi-root workspace, I'm seeing the "Invalid Python selected" notification even though the new venv is correctly selected:
Steps to reproduce:
file.exclude
setting to exclude the subfolder that you opened as its own workspace from the top-level folder (to avoid "repeated" entries in the file explorer)I reproduced it by cloning https://github.com/microsoft/responsible-ai-toolbox/ and creating the following .code-workspace file under responsible-ai-toolbox/.vscode
Diagnostic data
python.languageServer
setting: PylanceOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2023.23.13471011
VS Code version: Code - Insiders 1.86.0-insider (f87fb292c3af22e51a7f5c628496cd8d6fd9ecd5, 2023-12-13T08:07:18.340Z)
OS version: Windows_NT x64 10.0.22621
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: