We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When debugging this in a launch session:
# app.py from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "ok" if __name__ == "__main__": app.run(debug=True)
The following output is produced:
> 'C:\Python\3.9-64\python.exe' 'c:\Users\pminaev\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '61002' '--' '-m' 'flask' 'run' '--no-debugger' ... * Restarting with stat C:\Python\3.9-64\lib\site-packages\debugpy\_vendored\force_pydevd.py:18: UserWarning: incompatible copy of pydevd already imported: c:\Users\pminaev\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\__init__.py ...
(it goes on to list all the files)
It doesn't seem to affect function, but the warning is obviously incorrect, since it's complaining about its own vendored copy.
The text was updated successfully, but these errors were encountered:
Likely root cause: #1148 (comment)
Sorry, something went wrong.
Fix microsoft#1148: ModuleNotFoundError: No module named 'debugpy'
e95cc2e
Fix microsoft#1149: UserWarning: incompatible copy of pydevd already imported Fix formatting for sys.path entry passed to subprocesses.
Fix #1148: ModuleNotFoundError: No module named 'debugpy'
633597b
Fix #1149: UserWarning: incompatible copy of pydevd already imported Fix formatting for sys.path entry passed to subprocesses.
Observed this warning with vscode Version: 1.96.2 when using remote development
/home/***/.vscode-server/extensions/ms-python.debugpy-2024.14.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/_vendored/force_pydevd.py:18: UserWarning: incompatible copy of pydevd already imported: /home/optimus/conda/envs/tts39/lib/python3.9/site-packages/pydevd_plugins/extensions/pydevd_plugin_omegaconf.py warnings.warn(msg + ':\n {}'.format('\n '.join(_unvendored)))
@int19h
int19h
Successfully merging a pull request may close this issue.
When debugging this in a launch session:
The following output is produced:
(it goes on to list all the files)
It doesn't seem to affect function, but the warning is obviously incorrect, since it's complaining about its own vendored copy.
The text was updated successfully, but these errors were encountered: