Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Actived Python Environment only partially works #25036

Copy link
Copy link
Open
@danielniccoli

Description

@danielniccoli
Issue body actions

Type: Bug

Automatically activated environments only partially work. python.exe is found, but other tools like pip.exe (or ruff if installed) are not.

In previous version, this worked.

  1. Run > Python: Create environment...
  2. Check that .venv\Scripts\python.exe and .venv\Scripts\python.exe exist.
  3. Open the Terminal and verify the environment was loaded: Get-Command python.exe (should show you the python binary in your new venv).
  4. Run pip.exe
pip.exe: The term 'pip.exe' is not recognized as a name of a cmdlet, function, script file, or executable program.
  1. Activate environment manually: .venv\Scripts\Activate.ps1
  2. Run 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
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 31.73GB (14.76GB free)
Process Argv C:\code\GitHub\diconium\IT-IAM-mailbox-automations\README.md --crash-reporter-id c8b77264-d6e8-4b5f-95e9-cdecf57cf75e
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
ruff cha 2025.22.0
debugpy ms- 2025.6.0
python ms- 2025.5.2025042501
vscode-pylance ms- 2025.4.102
autodocstring njp 0.6.1
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
563cc122:31253270
31787653:31262186
3e8i5726:31271747
pythonpulldiagcf:31298646
996jf627:31283433
pythonrdcb7:31296841
usemplatestapi:31297334
7bj51361:31289155
747dc170:31275177
g20af354:31278749
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004

ludovicoserrani-nautes and jothepro

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.