1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > jupyter lab安装 配置教程

jupyter lab安装 配置教程

时间:2023-11-25 22:49:55

相关推荐

jupyter lab安装 配置教程

一、下载、安装

本人从docker中新拉取的miniconda镜像,从0开始安装。

source activate XXXXXXXpip install jupyterlab

二、配置.

jupyter lab --generate-config

生成默认配置文件config,我的在/root/.jupyter/jupyter_lab_config.py下,打开,添加:

c.ServerApp.ip = '*'c.ServerApp.port = 8888 # 默认端口8000c.ServerApp.open_browser = Falsec.ServerApp.root_dir = '/data' # 可自己设c.ServerApp.iopub_data_rate_limit = 10000000000000000000c.ServerApp.iopub_msg_rate_limit = 10000000000# 稍后添加密码,不需要密码可以不设c.ServerApp.password_required = Truec.ServerApp.password = 'xxxxxxx' # 需要生成密码

生成的密钥同jupyter notebook,此处略,可看:

docker容器安装jupyter notebook(安装、配置、修改全过程)

设置中文:

pip install jupyterlab-language-pack-zh-CN

更换主题:

输入theme,或者推荐几个

三、jupyter lab启动

jupyter lab --allow-root

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。