One time error on first run of a python program
@eleanorjboyd 已经在做这个了。
开始于 2025年11月4日。
评估
这个 Issue 还没有评估数据。
描述
Testing #859
At step 1.1, the first time I ran a python program I ran into the following error. I did not see it again afterward, not sure what the problem was.
python-debug-test & 'C:\src\_test\python-debug-test\.venv\Scripts\python.exe' 'c:\Users\bevillal\.vscode-insiders\extensions\ms-python.debugpy-2025.15.2025110302-win32-x64\bundled\libs\debugpy\launcher' '53935' '--' 'C:\src\_test\python-debug-test\root_script.py'
Traceback (most recent call last):
File "C:\Users\bevillal\AppData\Local\Programs\Python\Python312\Lib\runpy.py", line 198, in _run_module_as_main
return _run_code(code, main_globals, None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bevillal\AppData\Local\Programs\Python\Python312\Lib\runpy.py", line 88, in _run_code
exec(code, run_globals)
File "c:\Users\bevillal\.vscode-insiders\extensions\ms-python.debugpy-2025.15.2025110302-win32-x64\bundled\libs\debugpy\launcher/../..\debugpy\__main__.py", line 69, in <module>
from debugpy.server import cli
File "c:\Users\bevillal\.vscode-insiders\extensions\ms-python.debugpy-2025.15.2025110302-win32-x64\bundled\libs\debugpy\launcher/../..\debugpy/..\debugpy\server\__init__.py", line 7, in <module>
import debugpy._vendored.force_pydevd # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\bevillal\.vscode-insiders\extensions\ms-python.debugpy-2025.15.2025110302-win32-x64\bundled\libs\debugpy\launcher/../..\debugpy/..\debugpy\_vendored\force_pydevd.py", line 44, in <module>
preimport('pydevd', [
File "c:\Users\bevillal\.vscode-insiders\extensions\ms-python.debugpy-2025.15.2025110302-win32-x64\bundled\libs\debugpy\launcher/../..\debugpy/..\debugpy\_vendored\__init__.py", line 126, in preimport
import_module(name)
File "C:\Users\bevillal\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\bevillal\.vscode-insiders\extensions\ms-python.debugpy-2025.15.2025110302-win32-x64\bundled\libs\debugpy\_vendored\pydevd\pydevd.py", line 51, in <module>
from _pydev_bundle.pydev_console_utils import DebugConsoleStdIn
File "c:\Users\bevillal\.vscode-insiders\extensions\ms-python.debugpy-2025.15.2025110302-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydev_bundle\pydev_console_utils.py", line 5, in <module>
from _pydev_bundle._pydev_calltip_util import get_description
File "c:\Users\bevillal\.vscode-insiders\extensions\ms-python.debugpy-2025.15.2025110302-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_calltip_util.py", line 16, in <module>
from _pydev_bundle._pydev_imports_tipper import signature_from_docstring
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap_external>", line 1132, in get_code
File "<frozen importlib._bootstrap_external>", line 1190, in get_data
- 主要语言
- TypeScript
- 星标
- 181
- 派生
- 126
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 3
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-python-debugger 的其他 Issue
-
triage-needed
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/vscode-python-debugger#1110 ·
-
triage-needed
难度 1/5 1-3 小时 新手友好度 88/100
microsoft/vscode-python-debugger#1024 · 1 条评论 ·
-
triage-needed
microsoft/vscode-python-debugger#1111 · 1 个 reaction · 已指派 1 人 ·
-
triage-needed
microsoft/vscode-python-debugger#1106 · 1 个 reaction · 已指派 2 人 ·
-
triage-needed
microsoft/vscode-python-debugger#1104 · 1 个 reaction · 已指派 1 人 ·
查看 microsoft/vscode-python-debugger 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
bug v2
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/inspector#2458 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
难度 2/5 1-3 小时 新手友好度 70/100
carbon-design-system/ibm-products#9907 ·