microsoft / microsoft/vscode-python-environments
warning about global env while venv was activated
未关闭
还没有人认领这个 Issue。
bug
- 主要语言
- TypeScript
- 星标
- 138
- 派生
- 62
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 35
描述
Steps to reproduce:
- activated local venv
- pip install bokeh
🐛 warning about installing a package in a global environment
Diagnostic data
Output for Python in the Output panel (View→Output, 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.languageServersetting: 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% |
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。