在远程服务器上运行jupyter

jupyter-remote的Python项目详细描述


Jupyter-Remote 是在远程服务器上自动运行jupyter的命令行工具。 它来自Jupyter-O2

jupyter remote旨在简化远程jupyter在一系列远程配置中的使用, 从简单的服务器到需要将请求转发到计算节点的slurm集群。

安装

在远程服务器上设置jupyter。

接下来,安装jupyter remote。

pip install jupyter-remote

然后,生成配置文件。

jupyter-remote --generate-config

按照打印的路径jupyter-remote.cfg并进行编辑以满足您的需要。

有关设置jupyter和排除jupyter远程故障的更多信息,请参阅jupyter-remote tips

用法

jupyter-remote [profile] [subcommand]

两个参数都是可选的。

如果jupyter安装在您的计算机上,则jupyter remote可以作为jupyter子命令运行:

jupyter remote o2 lab

一定要试试JupyterLab

有关jupyter远程命令行选项的更多信息,请使用jupyter-remote--help

配置文件

复制jupyter-remote.cfg并将其命名为jupyter-remote-[profilename].cfg。 见example_cfgs/jupyter-remote-o2.cfg

注意:profile和子命令选项都是可选的。 如果只提供一个,jupyter remote将首先查找具有该名称的配置文件, 如果没有找到,它将对给定的子命令使用默认配置文件。

要求和兼容性

  • python 2.7或3.6
  • pexpect.pxsh
  • posix:jupyter remote已经在macos和linux上进行了测试,而在windows上它将 需要cygwin和cygwin的python版本。
  • Pinentry(建议)

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
不推荐使用java AmazonKinesisClient构造函数   java Quartz作业是否在同一个JVM中以自己的线程运行?   在Java中接收安卓推送通知以进行测试   java是对集合进行排序的最佳方法?   安卓 java。lang.NoSuchMethodError org。阿帕奇。http。客户乌提尔斯。我是杜提尔。encPath   java为什么while循环不以额外的“or”条件结束?   Python能否识别Java中使用BCrypt的哈希密码?   在Cygwin中使用附加Java库的windows   java无法从SQLite检索数据   java使用Swingworker给出不正确的结果   使用多线程服务器向特定客户端发送java消息   java在映射未知的Morphia中查询对象