在Ubuntu20.04中卸载火狐浏览器,改成Chromium浏览器出现这种问题,解决办法如下:
1、创建配置文件:
jupyter-notebook --generate-config
2、编辑刚才创建的配置文件jupyter_notebook_config.py,找到c.NotebookApp.use_redirect_file,设置为False。
vi .jupyter/jupyter_notebook_config.py
c.NotebookApp.use_redirect_file = False

3、一般情况下上面两步就可以解决问题,如果还不行就重装JupyterLab。
jupyter lab clean --all
pip3 install jupyterlab --force-reinstall

该博客讲述了在Ubuntu20.04系统中如何卸载火狐浏览器并替换为Chromium。遇到JupyterLab配置问题时,通过修改配置文件jupyter_notebook_config.py,将c.NotebookApp.use_redirect_file设置为False来解决。如果问题依然存在,博主建议执行JupyterLab的清洁和强制重装命令进行修复。
1万+

被折叠的 条评论
为什么被折叠?



