You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you print your $PATH (or whatever the equivalent of this variable is on Windows), in the integrated terminal? I am experiencing a similar problem (on macOS) and I noticed there are some broken characters in the $PATH, causing the shell to fail in finding the correct python interpreter.
Not sure if this is related, but when python.terminal.activateEnvironment is active, the environment is not loaded correctly. I see some : being parsed as \x3a when I echo $PATH and other variables. This also means, when the virtual environment is active by default (using this extension) I cannot find deactivate command as one of the : in the $PATH has been replaced to \x3a.
Type: Bug
Automatically activated environments only partially work.
python.exe
is found, but other tools likepip.exe
(orruff
if installed) are not.In previous version, this worked.
> Python: Create environment...
.venv\Scripts\python.exe
and.venv\Scripts\python.exe
exist.Get-Command python.exe
(should show you the python binary in your new venv).pip.exe
.venv\Scripts\Activate.ps1
pip.exe
again. Now it works.VS Code version: Code 1.99.3 (17baf841131aa23349f217ca7c570c76ee87b957, 2025-04-15T23:18:46.076Z)
OS version: Windows_NT x64 10.0.26100
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
webnn: disabled_off
Extensions (5)
A/B Experiments
The text was updated successfully, but these errors were encountered: