在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