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

incompatible copy of pydevd already imported when running omegaconf #1178

Open
4 tasks done
YoniChechik opened this issue Jun 3, 2024 · 1 comment
Open
4 tasks done
Labels
bug Something isn't working

Comments

@YoniChechik
Copy link

Describe the bug
warning appears when running omegaconf:

0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
/root/.vscode-server/extensions/ms-python.debugpy-2024.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/_vendored/force_pydevd.py:18: UserWarning: incompatible copy of pydevd already imported:
 /venv/lib/python3.11/site-packages/pydevd_plugins/extensions/pydevd_plugin_omegaconf.py
  warnings.warn(msg + ':\n {}'.format('\n  '.join(_unvendored)))

To Reproduce
run anything with omegaconf import

Expected behavior
this wanring shouldn't happen

Additional context

  • OmegaConf version: omegaconf==2.3.0
  • Python version: 3.11.9
  • Operating system: ubuntu 22.04 in docker
  • Please provide a minimal repro
@YoniChechik YoniChechik added the bug Something isn't working label Jun 3, 2024
@aeon0
Copy link

aeon0 commented Nov 16, 2024

Anyone has solved this somehow? Getting omegaconf via hydra 1.3.2 and having that same annoying warning. (also 2.3.0)

tried setting OC_PYDEVD_RESOLVER:

image

But no change. I dont think omgeconf should force any pydev on the user, at least by default the import should be turned off...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants