小编Eli*_*jah的帖子

来自 IPython 的调试器警告:冻结模块

我使用 conda 创建了一个新环境,并想将其添加到 jupyter-lab 中。我收到有关冻结模块的警告?(如下所示)

$ ipython kernel install --user --name=testi2 
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.
Installed kernelspec testi2 in /home/michael/.local/share/jupyter/kernels/testi2
Run Code Online (Sandbox Code Playgroud)

我安装的只是 ipykernel、ipython、ipywidgets、jupyterlab_widgets、ipympl

Python 版本 3.11.0,Conda 版本 22.11.0

我曾经conda install nodejs -c conda-forge --repodata-fn=repodata.json获取最新版本的nodejs

我还尝试将 ipykernel 重新安装到以前的版本(6.20.1 -> 6.19.2)

python ipython python-3.11

22
推荐指数
1
解决办法
2万
查看次数

标签 统计

ipython ×1

python ×1

python-3.11 ×1