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
Hey @ulugbekna thanks for filing this.
In fact, this isnt a regression, this is the behavior you get if you opt out of the terminal env var activation experiment.
You are just seeing the activation command on your terminal instead of having the Python extension implicitly activate your environment (which happens in when you are opt into the terminal env var activation experiment).
You can try opting into the experiment if you want to stick to "not seeing the activation command", but we eventually plan to remove the terminal experiment. Here are some relevant reads: #24567 and feel free to contribute your ideas to #24759 :)
@anthonykim1 thank you for getting back on this! I can't remember changing anything around env activation. How can I opt into this activation experiment again?
Type: Bug
Behaviour
If I have a venv in my workspace folder, when I launch terminal, I see
source /Users/ulugbekna/code/my-project/venv/bin/activate
every time.CleanShot.2025-02-18.at.14.38.29.mp4
Steps to reproduce:
source ...
(maybe I have some specific setup that causes this)
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2025.1.2025021801
VS Code version: Code - Insiders 1.98.0-insider (e20adc378e7bda18152984725c31d22cb4eaac17, 2025-02-17T05:04:55.143Z)
OS version: Darwin arm64 24.3.0
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: