在管弦乐队2上演奏Jupyter
jupyter-o2的Python项目详细描述
jupyter-o2是一个命令行工具,它在 管弦乐队2,一个由hms resesarch计算组管理的hpc集群。
安装
首先,按照O2 wiki’s procedure 在O2上为您的帐户设置Jupyter。
接下来,安装jupyter-o2。
pip install jupyter-o2
然后,生成配置文件。
jupyter-o2 --generate-config
按照打印路径到jupyter-o2.cfg,并根据其说明进行编辑,特别是 DEFAULT_USER和INIT_JUPYTER_COMMANDS字段。
有关设置jupyter和排除jupyter-o2故障的更多信息,请参阅jupyter-o2 tips。
用法
jupyter-o2 [subcommand]
示例:jupyter-o2 notebook或jupyter-o2 lab (试试JupyterLab!)
如果jupyter安装在您的计算机上,jupyter-o2也可以作为jupyter子命令运行:
jupyter o2 lab
有关jupyter-o2命令行选项的信息,请使用jupyter-o2--help。
要求和兼容性
- python 2.7或3.6+
- 预期4.5+
- posix:jupyter-o2还没有在windows上测试过,但它可能可以与cygwin一起工作。
- Pinentry(建议)