I’m using Jupyter Notebook 7 and trying to install new environment by python -m ipykernel install
and manage environments by jupyter kernelspec
.
I get this when I run python -m ipykernel xxx
or jupyter kernelspec xxx
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.
- I don’t want to see this warning when I’m managing my environments. What’s the correct choice to avoid this?
- I found the debugger work well even without
-Xfrozen_modules=off
inkernel.json
. So what doesfrozen modules
mean and what does it affect?
I’ve tried the solution offered in Debugger warning: It seems that frozen modules are being used (Python 3.11.0) - #21 by krassowski, but it doesn’t work.
Environment Info
The anaconda is newly installed. (Version 2023.09-0)
Ubuntu: 22.04 (running on WSL2)
conda: 24.1.1
Python: 3.11.5
jupyter --version
IPython : 8.20.0
ipykernel : 6.28.0
ipywidgets : 8.0.4
jupyter_client : 8.6.0
jupyter_core : 5.5.0
jupyter_server : 2.10.0
jupyterlab : 4.0.11
nbclient : 0.8.0
nbconvert : 7.10.0
nbformat : 5.9.2
notebook : 7.0.8
qtconsole : 5.4.2
traitlets : 5.7.1