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 confirmation).
[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文件夹查看是否生成成功,
image-20211113211042232
右键记事本打开jupyter_notebook_config
在最后一行添加一句
c.NotebookApp.use_redirect_file = False
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)