Skip to content

Get a "Error refreshing packages" toast when in the middle of recreating a virtual environment #1824

Description

Description

If I delete and recreate a virtual environment from scratch, I get an error toast saying that the packages in the environment can't be refreshed. But since I deleted the environment that's not an error since there's no environment left. 😉

Image

This happened to me multipled times when I ran make clean-venv from Python's pep repo before running make venv (which is what the instructions from the Makefile say to do).

Issue Details

Item Value
Issue Category Bug
Target Python Environments
VS Code Version Code - Insiders 1.140.0-insider (eb1f2bba7cfa39fe356f40c116e7614dcb160b3b, 2026-09-24T16:46:01Z)
OS Version Windows_NT x64 10.0.26200
Extension Identifier ms-python.vscode-python-envs
Extension Version 1.38.0
Extension Publisher ms-python
System Info
Item Value
VS Code Version Code - Insiders 1.140.0-insider (eb1f2bba7cfa39fe356f40c116e7614dcb160b3b, 2026-09-24T16:46:01Z)
OS Version Windows_NT x64 10.0.26200
CPUs 13th Gen Intel(R) Core(TM) i7-1370P (20 x 2189)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0xa7a0 [Intel(R) Iris(R) Xe Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.7085 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x25bb [NVIDIA RTX A500 Laptop GPU], DRIVER_VERSION=32.0.15.9658
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278
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)
Memory (System) 63.66GB (40.46GB free)
Process Argv --crash-reporter-id 8c2d3e93-0526-420f-a934-b71e879abff1
Screen Reader no
VM 0%
Remote Error Connection to 'wsl+fedora' could not be established
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.140.0-insider Chrome/150.0.7871.250 Electron/43.7.3 Safari/537.36
Installation pure true
A/B Experiments
vsliv368cf:30146710
pythonvspyt551:31249597
9b8hh234:30694863
nativeloc1:31118317
dwcopilot:31158714
471b6256:31263136
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
pythonrdcb7:31268811
pythonpcpt1:31399616
6518g693:31302842
envsactivate1:31349248
editstats-enabled:31346256
cloudbuttont:31366566
3efgi100_wstrepl:31403338
metis_rerank_treatment1:31411021
cp_cls_t_966_ss:31526232
4je02754:31455664
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490507
cp_cls_c_1081:31454833
conptydll_true:31485575
e9c30283:31453065
c9b86496:31447327
ei9d7968:31462942
89g7j272:31506658
hhf17803:31462392
i2gc6536:31472020
52612955:31508042
ddid_t:31478204
hmra_i5g22:-9
7df3h592:31491241
cp_cls_t_1082:31535311
logging_enabled_new:31490725
jb_cp_cls_t_632:31543129
b1g4i769:31503653
ha629193:31508444
a1ije391_t:31533808
jbcp_cls_pctr_t:31531130
3f904173:31522231
cp_intellij_t_nes:31548657
24a33675:31587543
hide-eh-duplicates:31543293
replace-eh-with-ah:31545853
ihg5j128:31534457
enable_editor_pane_layout:31551200
52258b4d:31547953
36h42362:31560305
c7c27ce7:31551212
voicemodeon:31566386
1h923230:31564177
gpt56sol_default:31583163
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0c1h4866:31562347
plus-and-new:31588696
multi-root-copilot-claude:31590465
5b8j3302:31564600
autotiers:31581917
mangle-name-treatment:31568054
allow-signed-out:31574470
codex-agent-enabled:31566739
intellij_nes_preview_t:31580086
64a8d082:31573709
issue8950-5d26a188:31574957
39a5d156:31574988
luna_v2:31580242
ae8b2313:-9
0ec91c74:31585910
enable-sandbox:31578383
soft:31581111
new-session-original:31578422
1cff76af:31580265
96d59efc:31580278
d601j348-suggestts7:31589381
links-treatment:31581067
issue9151-8b8b39eb:31581762
usage_tips_endabled_0911:31587631
7g328426_fixed:31583679
54hd3363:31585488
sessioninlinediffenabled_disabled:31587634
permission_prompt_treatment:1294978
ccr_pr_nudge_control:1319470
vsc_wsm_c:1324224
cmc_pilot_t:1359160
ce50c479:1394169
3aced641:1389836
sem_714gi995:1394171
chat-subagents-default-to-auto-treatment:1416920
e4ih2327:1421096
5i7gb129:1424441

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions