-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Virtual environment not active in new powershell terminal #22916
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
Comments
Hi @karrtikr , It did not fix the problem |
Hi @karrtikr, do you have any other recommendations for me? This didn't fix the issue. |
Your issue might be different, please open up a new one and we'll be happy to have a look, make sure to provide the debug logs asked earlier. |
Sorry, I had an issue opened and it took awhile to respond. Here's the link: |
Thanks, closing this in that case. @abf7d Apologies, I'll reach back out to you on your issue soon. |
Uh oh!
There was an error while loading. Please reload this page.
Type: Bug
Behaviour
Expected vs. Actual
Expected: Currently selected virtual environment from python interpreter selection should be active when a new python terminal is created using Python: Create Terminal
Actual: Virtual environment is not active when new terminal is created.
Steps to reproduce:
Diagnostic data
python.languageServer
setting: DefaultTerminal hover window:

Running $env:PATH or #env:path in the powershell terminal that should have the virtual environment active gives following output:
Contents of Enivronment changes from showing environment contributions of the relevant terminal:
Output 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.19045
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: