更新jupyter后打开jupyter不自动打开浏览器

更新jupyter后打开jupyter不自动打开浏览器,第1张

更新jupyter后打开jupyter不自动打开浏览器 更新jupyter后打开jupyter不自动打开浏览器

[W 2021-11-13 21:08:06.811 LabApp] ‘notebook_dir’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-11-13 21:08:06.811 LabApp] ‘notebook_dir’ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[I 2021-11-13 21:08:06.819 LabApp] JupyterLab extension loaded from D:################
[I 2021-11-13 21:08:06.820 LabApp] JupyterLab application directory is ######
[I 21:08:06.825 NotebookApp] Serving notebooks from local directory: ##############
[I 21:08:06.826 NotebookApp] Jupyter Notebook 6.4.5 is running at:
[I 21:08:06.826 NotebookApp] http://localhost:8888/?token=a711c04a13b19a0c4cd422775c57ed360c8a5b434e3c3ee3
[I 21:08:06.826 NotebookApp] or http://127.0.0.1:8888/?token=a711c04a13b19a0c4cd422775c57ed360c8a5b434e3c3ee3
[I 21:08:06.826 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip /confirm/iation).
[C 21:08:06.932 NotebookApp]

To access the notebook, open this file in a browser:
file:#############.html
Or copy and paste one of these URLs:
##############

生成jupyter_notebook_config.py文件

流程:打开调出命令提示符cmd → 输入“jupyter notebook --generate-config”(注意没有引号)生成文件,打开C盘下jupyter文件夹查看是否生成成功,

右键记事本打开jupyter_notebook_config

在最后一行添加一句

c.NotebookApp.use_redirect_file = False

便正常跳转了
参考链接:
https://stackoverflow.com/questions/55756151/how-to-set-jupyter-notebook-to-open-on-browser-automatically
参考链接:https://blog.csdn.net/weixin_42814873/article/details/82842925

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5480703.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-12
下一篇 2022-12-12

发表评论

登录后才能评论

评论列表(0条)

保存