-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
venv doesn't load on startup, on new terminal, or on switching associated interpreter on Gitbash #22894
Comments
Please provide the debug logs which can help diagnose the issue:
Output for
|
I'm also seeing this behavior in Windows. |
I'm actually seeing it on two computers. |
Unfortunately I'm not able to reproduce the issue, so I would need the logs asked earlier to proceed. |
Here are my logs. I apologize for the delay. |
@karrtikr, just checking in on this |
@abf7d Can you please also provide the above info? |
Type: Bug
Behaviour
Expected vs. Actual
I have python.terminal.activateEnvInCurrentTerminal is true. I expect that the detected virtual enviornment for my workspace should be activated when I open vs code. In a previous version, when the terminal opened, a line would print that read "source venv/scripts/activate", and then above the colored text that indicates folder location I would see the name of my environment "(venv)". That would happen also if I changed my interpreter that has a virtual enviornment associated with it. Now, neither appear on startup, on new terminal, and on interpreter change.
Steps to reproduce:
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2024.0.1
VS Code version: Code 1.86.1 (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:08:20.941Z)
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: