Skip to content

Se queda cargando el mensaje de "refreshing virtual enviroment" #25642

Closed as not planned

Description

Type: Performance Issue

Cuando intento correr mi archivo python no pasa nada, y abajo a la izquierda se me queda un mensaje de "refreshing virtual enviroments" y no se como solucionarlo

VS Code version: Code 1.104.0 (f220831ea2d946c0dcb0f3eaa480eb435a2c1260, 2025-09-10T06:46:18.035Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13700HX (24 x 2304)
GPU Status 2d_canvas: enabled
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
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.75GB (20.78GB free)
Process Argv --crash-reporter-id e7d6e794-3023-4bca-a2ee-5935326f2e5a
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	   188	 15488	code
    0	   119	  8384	file-watcher [1]
    0	   130	 18028	shared-process
    0	   599	 18512	extension-host [1]
    0	     8	  2864	     c:\Users\aleja\.vscode\extensions\ms-python.vscode-python-envs-1.8.0-win32-x64\python-env-tools\bin\pet.exe server
    0	     7	  3548	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   125	  9920	     "C:\Users\aleja\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\aleja\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=18512
    0	    32	 19564	   crashpad-handler
    1	   245	 19700	   gpu-process
    0	    49	 19744	   utility-network-service
    0	   296	 19968	window [1] (main.py - prog-2520-4pm-unidad-3-Llano411 - Visual Studio Code)
    0	   131	 21184	pty-host
    0	     8	 10408	     conpty-agent
    0	     8	 12100	     conpty-agent
    0	    73	 24864	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\aleja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    82	 26592	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\aleja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	     9	 13692	       "C:\Users\aleja\AppData\Local\Programs\Python\Launcher\py.exe" main.py
    0	    10	 25984	         C:\Users\aleja\AppData\Local\Programs\Python\Python313\python.exe main.py
Workspace Info
|  Window (main.py - prog-2520-4pm-unidad-3-Llano411 - Visual Studio Code)
|    Folder (prog-2520-4pm-unidad-3-Llano411): 19 files
|      File types: py(9) md(2) keep(1) gitignore(1) json(1)
|      Conf files: settings.json(1);
Extensions (6)
Extension Author (truncated) Version
copilot Git 1.372.0
copilot-chat Git 0.31.0
debugpy ms- 2025.10.0
python ms- 2025.14.0
vscode-pylance ms- 2025.7.1
vscode-python-envs ms- 1.8.0
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
aj953862:31281341
nesew2to5:31336538
agentclaude:31350858
nes-set-on:31351930
6abeh943:31336334
envsactivate1:31353494
0927b901:31350571
ovsp_t:31383296
0cj2b977:31352657
0574c672:31362109
cloudbuttont:31379625
todos-1:31384886
v2-prompt:31370220
3efgi100_wstrepl:31382709
trigger-command-fix:31379601
auto_model_enabled:31385282

Activity

  1. vs-code-engineering commented on Sep 16, 2025

    @vs-code-engineering

    AI Translation:

    Title:

    The "refreshing virtual environment" message keeps loading

    Body:

    Type: Performance Issue

    When I try to run my Python file, nothing happens, and at the bottom left I get a message saying "refreshing virtual environments" that stays there and I don't know how to fix it.

    VS Code version: Code 1.104.0 (f220831ea2d946c0dcb0f3eaa480eb435a2c1260, 2025-09-10T06:46:18.035Z)
    OS version: Windows_NT x64 10.0.26100
    Modes:

    System Info
    Item Value
    CPUs 13th Gen Intel(R) Core(TM) i7-13700HX (24 x 2304)
    GPU Status 2d_canvas: enabled
    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
    vulkan: disabled_off
    webgl: enabled
    webgl2: enabled
    webgpu: enabled
    webnn: disabled_off
    Load (avg) undefined
    Memory (System) 31.75GB (20.78GB free)
    Process Argv --crash-reporter-id e7d6e794-3023-4bca-a2ee-5935326f2e5a
    Screen Reader no
    VM 0%
    Process Info
    CPU %	Mem MB	   PID	Process
        0	   188	 15488	code
        0	   119	  8384	file-watcher [1]
        0	   130	 18028	shared-process
        0	   599	 18512	extension-host [1]
        0	     8	  2864	     c:\Users\aleja\.vscode\extensions\ms-python.vscode-python-envs-1.8.0-win32-x64\python-env-tools\bin\pet.exe server
        0	     7	  3548	       C:\WINDOWS\system32\conhost.exe 0x4
        0	   125	  9920	     "C:\Users\aleja\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\aleja\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=18512
        0	    32	 19564	   crashpad-handler
        1	   245	 19700	   gpu-process
        0	    49	 19744	   utility-network-service
        0	   296	 19968	window [1] (main.py - prog-2520-4pm-unidad-3-Llano411 - Visual Studio Code)
        0	   131	 21184	pty-host
        0	     8	 10408	     conpty-agent
        0	     8	 12100	     conpty-agent
        0	    73	 24864	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\aleja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
        0	    82	 26592	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\aleja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
        0	     9	 13692	       "C:\Users\aleja\AppData\Local\Programs\Python\Launcher\py.exe" main.py
        0	    10	 25984	         C:\Users\aleja\AppData\Local\Programs\Python\Python313\python.exe main.py
    
    Workspace Info
    |  Window (main.py - prog-2520-4pm-unidad-3-Llano411 - Visual Studio Code)
    |    Folder (prog-2520-4pm-unidad-3-Llano411): 19 files
    |      File types: py(9) md(2) keep(1) gitignore(1) json(1)
    |      Conf files: settings.json(1);
    
    Extensions (6)
    Extension Author (truncated) Version
    copilot Git 1.372.0
    copilot-chat Git 0.31.0
    debugpy ms- 2025.10.0
    python ms- 2025.14.0
    vscode-pylance ms- 2025.7.1
    vscode-python-envs ms- 1.8.0
    A/B Experiments
    vsliv368:30146709
    binariesv615:30325510
    nativeloc1:31344060
    dwcopilot:31170013
    dwoutputs:31242946
    copilot_t_ci:31333650
    e5gg6876:31282496
    996jf627:31283433
    pythonrdcb7:31342333
    usemplatestapi:31297334
    aj953862:31281341
    nesew2to5:31336538
    agentclaude:31350858
    nes-set-on:31351930
    6abeh943:31336334
    envsactivate1:31353494
    0927b901:31350571
    ovsp_t:31383296
    0cj2b977:31352657
    0574c672:31362109
    cloudbuttont:31379625
    todos-1:31384886
    v2-prompt:31370220
    3efgi100_wstrepl:31382709
    trigger-command-fix:31379601
    auto_model_enabled:31385282
    
    
  2. eleanorjboyd commented on Dec 9, 2025

    @eleanorjboyd
    Member

    Hi! If you try with the setting python.useEnvironmentsExtension: false or toggle it to true does that change the behavior?

  3. github-actions commented on Jan 12, 2026

    @github-actions

    Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

    Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions