Skip to content

warning about global env while venv was activated #763

@amunger

Description

@amunger

Steps to reproduce:

  1. activated local venv
  2. pip install bokeh

🐛 warning about installing a package in a global environment

Image

Diagnostic data

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)


Extension version: 2025.11.2025071801
VS Code version: Code - OSS Dev 1.104.0 (Commit unknown, Date unknown)
OS version: Windows_NT arm64 10.0.26100
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.13.5
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
  • Value of the python.languageServer setting: Default
User Settings


languageServer: "Pylance"

Installed Extensions
Extension Name Extension Id Version
azure-repos ms- 0.41.2025072801
black-formatter ms- 2025.2.0
copilot Git 1.352.1715
copilot-chat Git 0.30.2025080201
debug-value-editor ms- 0.2.2
debugpy ms- 2025.11.2025070101
EditorConfig Edi 0.17.4
esbuild-problem-matchers con 0.0.3
explorer vit 1.26.4
extension-test-runner ms- 0.0.12
js-debug ms- 1.102.0
js-debug-companion ms- 1.1.3
jupyter ms- 2025.7.2025072101
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.3.0
prettier-vscode esb 11.0.0
python ms- 2025.11.2025071801
remote-containers ms- 0.422.1
remote-explorer ms- 0.5.0
remote-repositories ms- 0.43.2025072801
remote-server ms- 1.5.2
remote-ssh ms- 0.120.0
remote-ssh-edit ms- 0.87.0
remotehub Git 0.65.2025072801
ruff cha 2025.24.0
ts-file-path-support ms- 1.0.0
vscode-eslint dba 3.0.10
vscode-github-issue-notebooks ms- 0.0.133
vscode-js-profile-table ms- 1.0.10
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
vscode-pylance ms- 2025.6.106
vscode-python-envs ms- 1.3.12131645
vscode-remote-extensionpack ms- 0.26.0
web-editors ms- 0.3.0
System Info
Item Value
CPUs Snapdragon(R) X 12-core X1E80100 @ 3.40 GHz (12 x 2976)
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: unavailable_software
Load (avg) undefined
Memory (System) 31.57GB (1.04GB free)
Process Argv . --disable-extension=vscode.vscode-api-tests --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-default-apps --disable-dev-shm-usage --disable-renderer-backgrounding --disable-sync --metrics-recording-only --no-first-run --no-default-browser-check --user-data-dir=C:\Users\aaron\.vscode-oss-dev --inspect-brk=5875 --no-cached-data --crash-reporter-directory=D:\src\vscode/.profile-oss/crashes --disable-features=CalculateNativeWinOcclusion --disable-extension=vscode.vscode-api-tests --remote-debugging-port=9222
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions