forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
mac平台
1、安装vscode+python插件
2、打开vscode,设置python的venv(安装在~/.venv)
3、关闭/通过启动台打开vscode,都能正确加载venv
---------------------下面是出bug的操作---------------------
4、如果存在一个xxx.py文件,通过右键菜单“用vscode打开”,则不能正确加载venv
5、再通过启动台打开vscode,也不能正确加载venv
Extension version: 2025.13.2025081501
VS Code version: Code 1.103.1 (Universal) (360a4e4fd251bfce169a4ddf857c7d25d1ad40da, 2025-08-12T16:25:40.542Z)
OS version: Darwin arm64 24.6.0
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.13.7.final.0
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
- Value of the
python.languageServer
setting: Default
User Settings
envFile: "<placeholder>"
venvPath: "<placeholder>"
languageServer: "Pylance"
experiments
• enabled: false
Installed Extensions
Extension Name | Extension Id | Version |
---|---|---|
better-cpp-syntax | jef | 1.27.1 |
debugpy | ms- | 2025.11.2025072901 |
js-debug | ms- | 1.102.0 |
js-debug-companion | ms- | 1.1.3 |
python | ms- | 2025.13.2025081501 |
tongyi-lingma | Ali | 2.5.17 |
vscode-clangd | llv | 0.2.0 |
vscode-icons | vsc | 12.14.0 |
vscode-js-profile-table | ms- | 1.0.10 |
vscode-language-pack-zh-hans | MS- | 1.103.2025081309 |
vscode-pylance | ms- | 2025.7.102 |
vscode-python-envs | ms- | 1.2.0 |
System Info
Item | Value |
---|---|
CPUs | Apple M1 Pro (8 x 2400) |
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: enabled_on trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
Load (avg) | 2, 2, 2 |
Memory (System) | 16.00GB (0.31GB free) |
Process Argv | --crash-reporter-id b1afb40e-9920-4a9f-81e8-ce3c917c794e |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
jjjhb125:31275178
aj953862:31281341
9d2cg352:31346308
convertlamdaf:31368658
nesew2to5:31336538
agentclaude:31350858
82j33506:31327384
nes-set-on:31351930
testaa123:31335226
6abeh943:31336334
envsactivate1:31353494
0927b901:31350571
f76d9909:31348711
45650338:31358607
0cj2b977:31352657
mokvc123cf:31370423
pylancealldocsf:31367565
cloudbuttont:31368504
retryenabled:31370050
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team