UserWarning: incompatible copy of pydevd already imported
See original GitHub issueSince 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
Issue Analytics
- State:
- Created 9 months ago
- Reactions:11
- Comments:18 (6 by maintainers)
Top Results From Across the Web
PyCharm warning: incompatible copy of pydevd already ...
If I set a break point, PyCharm does not stop at that break point while debugging. UserWarning: incompatible copy of pydevd already imported...
Read more >ImportError in pydevd : PY-51031 - YouTrack
ImportError in pydevd. PY-212.5284.44, JRE 11.0.12+7-b1504.28x64 JetBrains ... UserWarning: incompatible copy of pydevd already imported:.
Read more >Pydevd conflict when debugging Napari scripts in PyCharm
Pydevd conflict when debugging Napari scripts in PyCharm ... UserWarning: incompatible copy of pydevd already imported: C:\Program ...
Read more >Remote Debugging - Pipeline Integrations
Note that I'm using the paid version of PyCharm in order to do this. ... /pydevd-pycharm.egg") import pydevd pydevd.settrace('localhost', ...
Read more >[SOLVED] PyCharm warning: incompatible copy of pydevd ...
If I set a break point, PyCharm does not stop at that break point while debugging. UserWarning: incompatible copy of pydevd already imported...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I just merged https://github.com/microsoft/vscode-python/pull/20369 . I need to trigger a build, make sure an installed VSIX works appropriately, and then we will release
2022.20.1.2022.20.1got 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.