当前位置: 首页 > news >正文

【Python】jupyter Linux服务器使用

文章目录

  • 环境
  • 使用
  • 访问

环境

pip install jupyter 

使用

在你想访问的目录下执行:

jupyter notebook --ip=0.0.0.0

jupyter 给出提示:

[I 2023-07-28 14:32:43.589 ServerApp] Package notebook took 0.0000s to import
[I 2023-07-28 14:32:43.597 ServerApp] Package jupyter_lsp took 0.0081s to import
[W 2023-07-28 14:32:43.597 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-07-28 14:32:43.601 ServerApp] Package jupyter_server_terminals took 0.0034s to import
[I 2023-07-28 14:32:43.601 ServerApp] Package jupyterlab took 0.0000s to import
[I 2023-07-28 14:32:43.639 ServerApp] Package notebook_shim took 0.0000s to import
[W 2023-07-28 14:32:43.640 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-07-28 14:32:43.640 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2023-07-28 14:32:43.643 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2023-07-28 14:32:43.647 ServerApp] jupyterlab | extension was successfully linked.
[I 2023-07-28 14:32:43.651 ServerApp] notebook | extension was successfully linked.
[I 2023-07-28 14:32:43.654 ServerApp] Writing Jupyter server cookie secret to /home/xiedong/.local/share/jupyter/runtime/jupyter_cookie_secret
[I 2023-07-28 14:32:43.827 ServerApp] notebook_shim | extension was successfully linked.
[I 2023-07-28 14:32:43.930 ServerApp] notebook_shim | extension was successfully loaded.
[I 2023-07-28 14:32:43.932 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2023-07-28 14:32:43.933 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2023-07-28 14:32:43.934 LabApp] JupyterLab extension loaded from /ssd/xiedong/miniconda3/envs/py38_diffusers_1/lib/python3.8/site-packages/jupyterlab
[I 2023-07-28 14:32:43.934 LabApp] JupyterLab application directory is /ssd/xiedong/miniconda3/envs/py38_diffusers_1/share/jupyter/lab
[I 2023-07-28 14:32:43.935 LabApp] Extension Manager is 'pypi'.
[I 2023-07-28 14:32:43.937 ServerApp] jupyterlab | extension was successfully loaded.
[I 2023-07-28 14:32:43.939 ServerApp] notebook | extension was successfully loaded.
[I 2023-07-28 14:32:43.939 ServerApp] Serving notebooks from local directory: /ssd/xiedong/workplace
[I 2023-07-28 14:32:43.939 ServerApp] Jupyter Server 2.7.0 is running at:
[I 2023-07-28 14:32:43.939 ServerApp] http://gpu20:8888/tree?token=490e738359e9e3a73247822c61620bacdfcae0038a9a721e
[I 2023-07-28 14:32:43.939 ServerApp]     http://127.0.0.1:8888/tree?token=490e738359e9e3a73247822c61620bacdfcae0038a9a721e
[I 2023-07-28 14:32:43.939 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 2023-07-28 14:32:43.948 ServerApp] No web browser found: Error('could not locate runnable browser').

记住这提示里的token:
490e738359e9e3a73247822c61620bacdfcae0038a9a721e

访问

windows电脑浏览器访问:

http://10.20.31.20:8888

默认端口8888,前面的ip需要填写你Linux服务器的IP。

http://www.lryc.cn/news/101161.html

相关文章:

  • element 级联 父传子
  • 【MTI 6.S081 Lab】Copy-on-write
  • 【GO】go语言入门实战 —— 命令行在线词典
  • 模电模电基础知识学习笔记汇总
  • 招商银行秋招攻略和考试内容详解
  • 【Linux】四、开发工具
  • 前后端分离实现博客系统
  • 面试题-TS(六):TypeScript 中的泛型是什么?
  • QT DAY4
  • 最新Ai创作源码ChatGPT商用运营源码/支持GPT4.0+支持ai绘画+支持Mind思维导图生成
  • 一个go的支持多语言的error自动生成插件
  • wireshark抓包新手使用教程(超详细)
  • 平均列顺序对列排斥能的影响
  • 微信小程序-处理ios无法播放语音的问题
  • 区块链 2.0笔记
  • 深入理解Vue响应式系统:数据绑定探索
  • web流程自动化详解
  • 什么是框架?为什么要学框架?
  • 什么是 Sass?
  • Kotlin~Memento备忘录模式
  • 单链表的多语言表达:C++、Java、Python、Go、Rust
  • 微信小程序 background-image直接设置本地图片路径,编辑器正常显示,真机运行不显示解决方法
  • SQLite Studio 连接 SQLite数据库
  • 【业务功能篇58】Springboot + Spring Security 权限管理 【中篇】
  • Docker挂载目录失败问题解决
  • css中隐藏页面中某一个元素有什么方法?
  • Unity 多语言问题C#篇
  • 深度学习和神经网络
  • 在CSDN学Golang云原生(Kubernetes Volume)
  • 第十五章 友元 异常和其他