Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserWarning: incompatible copy of pydevd already imported #20355

Closed
jej opened this issue Dec 9, 2022 · 18 comments · Fixed by #20369
Closed

UserWarning: incompatible copy of pydevd already imported #20355

jej opened this issue Dec 9, 2022 · 18 comments · Fixed by #20369
Assignees
Labels
area-debugging needs PR Ready to be worked on

Comments

@jej
Copy link

jej commented Dec 9, 2022

Since the last update (v2022.20.0) I get the following warning when I launch the debugger (on a newly created django project):

user@localhost:~/src/Project/$ source /home/user/src/Project/venv/bin/activate
(venv) user@localhost:~/src/Project/$  /usr/bin/env /home/user/src/Project/venv/bin/python /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 59609 -- manage.py runserver 
/home/user/.local/lib/python3.9/site-packages/debugpy/_vendored/force_pydevd.py:18: UserWarning: incompatible copy of pydevd already imported:
 /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_calltip_util.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_completer.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_execfile.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_filesystem_encoding.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_imports_tipper.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_saved_modules.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_tipper_common.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/fsnotify/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_imports.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_log.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_override.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_umd.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevconsole_code.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_breakpoints.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm_constants.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_console.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_custom_frames.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_defaults.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace_files.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_exec2.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_api.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_utils.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_import_class.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_io.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_json_debug_options.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_json.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_xml.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_plugin_utils.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command_json.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_source_mapping.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_suspended_frames.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_thread_lifecycle.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_api.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch_regular.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_traceproperty.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_utils.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vm_type.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/bytecode.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/cfg.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/concrete.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/flags.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/instr.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydev_ipython/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevconsole.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_file_utils.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/django_debug.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__init__.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_helpers.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/jinja2_debug.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/pydevd_line_validation.py
  /home/user/.vscode/extensions/ms-python.python-2022.20.0-universal/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_tracing.py
  warnings.warn(msg + ':\n {}'.format('\n  '.join(_unvendored)))
Performing system checks...

System check identified no issues (0 silenced).
December 09, 2022 - 16:41:25
Django version 4.1.4, using settings 'Project.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

If I downgrade to previous version (v2022.18.2), the warning disappears.


Version: 1.74.0
Release: 22342
Commit: cb188d662af4ff5d43505b572b49905a1f0153ad
Date: 2022-12-08T20:05:53.183Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 6.0.0-0.deb11.2-amd64
Sandboxed: No

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 9, 2022
@louking
Copy link

louking commented Dec 10, 2022

I have this (or very similar) on a flask project as well, also using python 3.9

(venv) C:\Users\lking\Documents\Lou's Software\projects\contracts\contracts> cmd /C ""c:\Users\lking\Documents\Lou's Software\projects\contracts\contracts\venv\Scripts\python.exe" c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher 61928 -- -m flask run --no-debugger "
 * Serving Flask app 'run.py'
 * Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://127.0.0.1:5000
Press CTRL+C to quit
 * Restarting with stat
c:\Users\lking\Documents\Lou's Software\projects\contracts\contracts\venv\lib\site-packages\debugpy\_vendored\force_pydevd.py:18: UserWarning: incompatible copy of pydevd already imported:
 c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_calltip_util.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_completer.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_execfile.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_filesystem_encoding.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_imports_tipper.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_saved_modules.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_tipper_common.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\fsnotify\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\pydev_console_utils.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\pydev_imports.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\pydev_is_thread_alive.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\pydev_log.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\pydev_monkey.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\pydev_override.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\pydev_umd.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\_debug_adapter\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\_debug_adapter\pydevd_base_schema.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\_debug_adapter\pydevd_schema.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\_debug_adapter\pydevd_schema_log.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevconsole_code.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_additional_thread_info.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_additional_thread_info_regular.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_api.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_breakpoints.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_bytecode_utils.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_collect_bytecode_info.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_comm.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_comm_constants.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_command_line_handling.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_concurrency_analyser\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_concurrency_analyser\pydevd_concurrency_logger.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_concurrency_analyser\pydevd_thread_wrappers.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_console.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_constants.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_custom_frames.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_daemon_thread.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_defaults.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_dont_trace.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_dont_trace_files.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_exec2.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_extension_api.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_extension_utils.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_filtering.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_frame.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_frame_utils.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_import_class.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_io.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_json_debug_options.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_net_command.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_net_command_factory_json.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_net_command_factory_xml.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_plugin_utils.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_process_net_command.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_process_net_command_json.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_reload.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_resolver.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_safe_repr.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_save_locals.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_source_mapping.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_suspended_frames.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_thread_lifecycle.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_timeout.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_trace_api.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_trace_dispatch.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_trace_dispatch_regular.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_traceproperty.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_utils.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_vars.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_vm_type.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_xml.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_frame_eval\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_frame_eval\pydevd_frame_eval_main.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\bytecode.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\cfg.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\concrete.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\flags.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\instr.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydev_ipython\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevconsole.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_file_utils.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\django_debug.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\extensions\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\extensions\types\__init__.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\extensions\types\pydevd_helpers.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\extensions\types\pydevd_plugin_numpy_types.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\extensions\types\pydevd_plugin_pandas_types.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\extensions\types\pydevd_plugins_django_form_str.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\jinja2_debug.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_plugins\pydevd_line_validation.py
  c:\Users\lking\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\pydevd_tracing.py
  warnings.warn(msg + ':\n {}'.format('\n  '.join(_unvendored)))

@jeremydiot
Copy link

jeremydiot commented Dec 11, 2022

I have a similar problem. Since version v2022.20.0, the debugpy module is not found at launch time. When I install it, I get errors with pydevd.


VsCode version: 1.74.0
Python version: 3.10.6
OS: Linux x64 5.15.0-56-generic Ubuntu 22.04.1 LTS


debugpy error :

 /usr/bin/env /home/jeremy/workspace/collabus/backend/env/bin/python3 /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 55963 -- /home/jeremy/workspace/collabus/backend/manage.py runserver 8000 
0.05s - Error importing debugpy._vendored.force_pydevd (with sys.path entry: '/home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/..')
Traceback (most recent call last):
  File "/home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_defaults.py", line 60, in on_pydb_init
    __import__(module_name)
ModuleNotFoundError: No module named 'debugpy'
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
December 11, 2022 - 08:15:06
Django version 4.1.3, using settings 'project.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

after debugpy intallation (same for all 1.6 versions) :

cd /home/jeremy/workspace/collabus/backend ; /usr/bin/env /home/jeremy/workspace/collabus/backend/env/bin/python3 /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 36259 -- /home/jeremy/workspace/collabus/backend/manage.py runserver 8000 
/home/jeremy/workspace/collabus/backend/env/lib/python3.10/site-packages/debugpy/_vendored/force_pydevd.py:18: UserWarning: incompatible copy of pydevd already imported:
 /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_calltip_util.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_completer.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_execfile.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_filesystem_encoding.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_imports_tipper.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_saved_modules.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_tipper_common.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/fsnotify/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_imports.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_log.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_override.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_umd.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevconsole_code.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_breakpoints.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm_constants.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_console.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_custom_frames.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.cpython-310-x86_64-linux-gnu.so
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython_wrapper.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_defaults.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace_files.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_exec2.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_api.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_utils.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_import_class.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_io.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_json_debug_options.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_json.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_xml.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_plugin_utils.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command_json.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_source_mapping.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_suspended_frames.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_thread_lifecycle.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_api.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_traceproperty.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_utils.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vm_type.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-x86_64-linux-gnu.so
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_tracing.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_modify_bytecode.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/bytecode.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/cfg.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/concrete.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/flags.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/instr.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydev_ipython/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevconsole.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_file_utils.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/django_debug.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__init__.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_helpers.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/jinja2_debug.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_plugins/pydevd_line_validation.py
  /home/jeremy/.vscode/extensions/ms-python.python-2022.20.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_tracing.py
  warnings.warn(msg + ':\n {}'.format('\n  '.join(_unvendored)))
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
December 11, 2022 - 08:31:38
Django version 4.1.3, using settings 'project.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

@rabbagliettiandrea
Copy link

Same problem here with 1.74.0

@Real-Gecko
Copy link

Confirming, VSCode 1.74.0, Python 3.10.8

@DrElvis
Copy link

DrElvis commented Dec 12, 2022

Some with VSCode 1.74.0 and Python 3.10.4

@apanariello4
Copy link

Same, vscode 1.74.0, python 3.9.13, python extension v2022.20.0

@dmroch
Copy link

dmroch commented Dec 12, 2022

Same, with VSCode 1.74.9 ant Python 3.10.6

@brettcannon
Copy link
Member

I assume no one has their own copy of debugpy or pydevd installed in their project somehow that would trigger this message? And do note the version of the Python extension is also important. And the relevant details automatically calculated when using the Python: Report Issue command can be useful (see https://aka.ms/pvsc-bug for details), so please include those details.

@brettcannon
Copy link
Member

FYI we can reproduce this locally. This is reported at debugpy already at microsoft/debugpy#1148 . We are reaching out to the debugpy team about it, but if we can't get it resolved quickly we will roll back our copy of debugpy to https://pypi.org/project/debugpy/1.6.3/ and do a point release.

@louking
Copy link

louking commented Dec 12, 2022

I do have debugpy 1.6.3 in my environment. I'll await your resolution or point release before taking any action (e.g., to upgrade debugpy).

@brettcannon
Copy link
Member

brettcannon commented Dec 12, 2022

I just merged #20369 . I need to trigger a build, make sure an installed VSIX works appropriately, and then we will release 2022.20.1.

@paulacamargo25 paulacamargo25 added needs PR Ready to be worked on and removed triage-needed Needs assignment to the proper sub-team labels Dec 12, 2022
@brettcannon
Copy link
Member

2022.20.1 got pushed to the Marketplace with the rollback. Once you have verified you have the new version, please let us know if the problem persists. Otherwise, I'm optimistically closing this issue as fixed.

@brettcannon brettcannon unpinned this issue Dec 12, 2022
@janhurst
Copy link

janhurst commented Dec 13, 2022

I got here chasing the same (type of) error messaging. Just bumped up to 2022.20.1 and can confirm the messaging has gone away.

I am seeing a message "PyInt_FromLong not found." that wasn't present before 2022.20.1, however this may be from something else in my environment... just wanted to mention it here in case it sticks out to someone else:

image

EDIT:
I see this is popping up in microsoft/debugpy#1100 and #20253

@jej
Copy link
Author

jej commented Dec 13, 2022

LGTM. Message is gone here.

Thanks @brettcannon for your support.

@louking
Copy link

louking commented Dec 13, 2022 via email

@louking
Copy link

louking commented Dec 13, 2022 via email

@brettcannon
Copy link
Member

when I run Help > Check for Updates...

I believe that only checks for VS Code updates. To check for extension updates, use Check for Extension Updates (either the command or menu option):

image

@brettcannon
Copy link
Member

I am seeing a message "PyInt_FromLong not found."

The unfortunate thing of about having to roll back to debugpy 1.6.3 is we lost all the bugfixes in 1.6.4. ☹️ This may have been fixed already and we have to wait for 1.6.5 to gain those fixes plus what we uncovered with 1.6.4.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 13, 2023
mitchell-as pushed a commit to mitchell-as/vscode-python that referenced this issue Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-debugging needs PR Ready to be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.