Skip to content

Perpetually "Refreshing virtual environments" #956

@Jasperwocky

Description

@Jasperwocky

Type: Bug

I recently got a new laptop, and, after installing VS Code, Python and the Python extensions for VS Code, using VS Code just generally doesn't work. It might be an issue with the fact that it's a new version of python?
When I'm in a python file in VS Code, there is a message at the bottom of the screen that says "Refreshing virtual environments" that won't go away, and I can't run the code. Also the formatting is off; it seems to not recognise variables, which are usually colored but now aren't, as if they aren't defined. I tried clearing my cache and even uninstalling and reinstalling VS Code and Python.
When I click on the message, there is an expantion that shows "Initializing virtual environments Source: Python Environments", "Refreshing virtual environments Source: Python Environments", and "Refreshing Global Python interpreters Source: Python Environments"
It all just keeps buffering.

VS Code version: Code 1.105.1 (7d842fb85a0275a4a8e4d7e040d2625abbf7f084, 2025-10-14T22:33:36.618Z)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)
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) 15.82GB (9.31GB free)
Process Argv --crash-reporter-id 03a7cc8a-66c5-4140-b792-69dc20654864
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
debugpy ms- 2025.14.1
python ms- 2025.16.0
vscode-pylance ms- 2025.9.1
vscode-python-envs ms- 1.10.0
vsliveshare ms- 1.0.5959
A/B Experiments
vsliv368:30146709
pythonvspyt551cf:31249601
binariesv615:30325510
xtab-281-v2-bs48-for-codexv2:31406627
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
4f60g487:31327383
nes-set-on:31340697
testaa123cf:31335227
6abeh943:31336334
envsactivate1:31353494
gendocstringf:31405073
0574c672:31404437
cloudbuttont:31379625
todos-1:31405332
v66_all_req:31402695
treatment_gpt5applypatchexclusively:31398171
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
auto_model_enabled:31385282
grok-v2-prompt:31401223
use-responses-api:31390855
applesignin:31399435
anonusage:31403420
ddidtcf:31399634
2a0ce269:31405347

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions