Skip to content

[Python Environments] activation fails #1628

Description

@clarkwillis646-commits

Type: Performance Issue

Description

i have an enviroment folder named .venv in the local folder

Steps to Reproduce

Expected Behavior

Actual Behavior

Environment Information
Extension Version: 1.36.0
Python Extension Version: 2026.4.0

Registered Environment Managers (5):
  - ms-python.python:system (Global)
  - ms-python.python:venv (venv)
  - ms-python.python:pyenv (PyEnv)
  - ms-python.python:pipenv (Pipenv)
  - ms-python.python:poetry (Poetry)

Total Available Environments: 0

Python Projects (1):
  1. c:\Users\wjclark\OneDrive - New York State Office of Information Technology Services\Documents\Python

Extension Settings:
  Default Environment Manager: ms-python.python:venv
  Default Package Manager: ms-python.python:pip
Auto-activation is "command". Activation based on first 'py-env.terminal.autoActivationType' setting which is 'command' and 'python.terminal.activateEnvironment' if the first is undefined which is 'true'.

Extension version: 1.36.0
VS Code version: Code 1.127.0 (4fe60c8b1cdac1c4c174f2fb180d0d758272d713, 2026-06-30T10:52:33+02:00)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs AMD Ryzen 5 7535U with Radeon Graphics (12 x 2894)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x1681 [AMD Radeon(TM) Graphics], DRIVER_VENDOR=AMD, DRIVER_VERSION=32.0.11020.26001 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8521
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.31GB (21.22GB free)
Process Argv --crash-reporter-id 64d7504b-d19d-4e85-ba1e-b7d62f9626f1
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	   182	 14456	code
    0	    33	  1152	   crashpad-handler
    0	   339	  2136	window [1] (Pratice Maps loader pulling From m Drive.txt - Python - Visual Studio Code)
    0	   132	  9512	pty-host
    0	    92	  5868	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\wjclark\AppData\Local\Programs\Microsoft VS Code\4fe60c8b1c\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    92	  7736	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\wjclark\AppData\Local\Programs\Microsoft VS Code\4fe60c8b1c\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    94	 10672	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\wjclark\AppData\Local\Programs\Microsoft VS Code\4fe60c8b1c\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    11	 15300	     "c:\Users\wjclark\AppData\Local\Programs\Microsoft VS Code\4fe60c8b1c\resources\app\node_modules\node-pty\build\Release\conpty\OpenConsole.exe" --headless --width 80 --height 30 --signal 0x5c0 --server 0x5b8
    0	    11	 17048	     "c:\Users\wjclark\AppData\Local\Programs\Microsoft VS Code\4fe60c8b1c\resources\app\node_modules\node-pty\build\Release\conpty\OpenConsole.exe" --headless --width 120 --height 10 --signal 0x4fc --server 0x4f4
    0	    12	 19364	     "c:\Users\wjclark\AppData\Local\Programs\Microsoft VS Code\4fe60c8b1c\resources\app\node_modules\node-pty\build\Release\conpty\OpenConsole.exe" --headless --width 52 --height 12 --signal 0x658 --server 0x654
    0	    51	 12660	   utility-network-service
    0	   353	 12860	extension-host [1]
    0	   418	  9660	     electron-nodejs (bundle.js)
    0	   106	 19836	     "C:\Users\wjclark\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\wjclark\AppData\Local\Programs\Microsoft VS Code\4fe60c8b1c\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=12860
    0	    10	 25216	     c:\Users\wjclark\.vscode\extensions\ms-python.vscode-python-envs-1.36.0-win32-x64\python-env-tools\bin\pet.exe server
    0	     7	 23364	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   172	 15380	   gpu-process
    0	   147	 18016	shared-process
    0	   111	 25504	file-watcher [1]
Workspace Info
|  Window (Pratice Maps loader pulling From m Drive.txt - Python - Visual Studio Code)
|    Folder (Python): more than 20000 files
|      File types: py(6720) pyc(6026) pyi(2531) dat(1072) js(518) map(241)
|                  txt(198) json(173) csv(160) f90(123) other(2238)
|      Conf files: cmake(18) package.json(14) webpack.config.js(1) makefile(1);
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
4f60g487:31327383
63221493:31336333
envsactivate1:31538736
gh487529:31544284
cloudbuttont:31379625
42190218_ostrepl:31403339
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
control_6dc23131:31544977
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
h08i8180_copy:31475368
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
748c7209:31512887
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
2cfga817_c:31522397
jh5f2457_c:31540921
8hfba999:31537718
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31533504
gf14b233:31526830
nes-curr-leftover-1500:31538366
h561g132:31533256
session_8:31532895
ihg5j128:31534457
jh7i3328:31546038
9gg7f176:31542112
nes-ex-cf-euporie-03:31542868
nes-nc-lc-nf:31546584

Metadata

Metadata

Assignees

Labels

~info-neededIssue requires more information from poster (with bot comment)

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions