vscodeでpythonのコンパイルをすると失敗する。
vscodeでpythonのコンパイルをすると以下のようなエラーがでる
おはようございます。私は今vscodeでpythonのコンパイルをしています。
vscodeでコンパイルしたら以下のようなエラーが出てコンパイル出来ません。
原因は分かる方いますか?こまっています助けてください。
/usr/bin/env /usr/bin/python3 /home/ryuuta/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher 49849 -- extension-output-prasadbobby.auto-rename-tag-#1-Auto\ Rename\ Tag
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/ryuuta/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/main.py", line 69, in
from debugpy.server import cli
File "/home/ryuuta/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/init.py", line 7, in
import debugpy._vendored.force_pydevd # noqa
File "/home/ryuuta/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/_vendored/force_pydevd.py", line 44, in
preimport('pydevd', [
File "/home/ryuuta/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/_vendored/init.py", line 126, in preimport
import_module(name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/ryuuta/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/pydevd.py", line 39, in
import pydevd_file_utils
File "/home/ryuuta/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/pydevd_file_utils.py", line 45, in
from _pydevd_bundle.pydevd_constants import DebugInfoHolder, IS_WINDOWS, IS_JYTHON, DISABLE_FILE_VALIDATION, is_true_in_env, IS_MAC
ImportError: cannot import name 'DebugInfoHolder' from '_pydevd_bundle.pydevd_constants' (/home/ryuuta/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py)