Jupyter Extension is needed for connecting Jupyter lab server.
Install the Jupyter Extension:
Start a Jupyter lab server:
(zpytorch) zzh@ZZHPC:/zdata/Github/zpytorch$ jupyter lab [I 2024-09-30 07:38:54.542 ServerApp] jupyter_lsp | extension was successfully linked. [I 2024-09-30 07:38:54.546 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2024-09-30 07:38:54.550 ServerApp] jupyterlab | extension was successfully linked. [I 2024-09-30 07:38:54.780 ServerApp] notebook_shim | extension was successfully linked. [I 2024-09-30 07:38:54.796 ServerApp] notebook_shim | extension was successfully loaded. [I 2024-09-30 07:38:54.798 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2024-09-30 07:38:54.800 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2024-09-30 07:38:54.801 LabApp] JupyterLab extension loaded from /zdata/Github/zpytorch/lib/python3.12/site-packages/jupyterlab [I 2024-09-30 07:38:54.801 LabApp] JupyterLab application directory is /zdata/Github/zpytorch/share/jupyter/lab [I 2024-09-30 07:38:54.802 LabApp] Extension Manager is 'pypi'. [I 2024-09-30 07:38:54.851 ServerApp] jupyterlab | extension was successfully loaded. [I 2024-09-30 07:38:54.851 ServerApp] Serving notebooks from local directory: /zdata/Github/zpytorch [I 2024-09-30 07:38:54.851 ServerApp] Jupyter Server 2.14.2 is running at: [I 2024-09-30 07:38:54.851 ServerApp] http://localhost:8888/lab?token=ace39a03178ea3bc48042bf22ee291adfa82942ca54a03c0 [I 2024-09-30 07:38:54.851 ServerApp] http://127.0.0.1:8888/lab?token=ace39a03178ea3bc48042bf22ee291adfa82942ca54a03c0 [I 2024-09-30 07:38:54.851 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2024-09-30 07:38:54.873 ServerApp] To access the server, open this file in a browser: file:///home/zzh/.local/share/jupyter/runtime/jpserver-5944-open.html Or copy and paste one of these URLs: http://localhost:8888/lab?token=ace39a03178ea3bc48042bf22ee291adfa82942ca54a03c0 http://127.0.0.1:8888/lab?token=ace39a03178ea3bc48042bf22ee291adfa82942ca54a03c0
Open a .ipynb file and click the 'Select Kernel' link on the top-right corner:
Select this Jupyter Kernel.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
2023-09-30 Go - Function closures and web middleware
2023-09-30 Go - Logging to the System Log Service