Jupyter安装
温馨提示
- 安装前请检查任务中是否可以
访问互联网
- 安装前请检查任务中是否存在
python
与pip
命令
# 安装
# 安装Jupyter Lab
pip install jupyterlab -i https://mirrors.aliyun.com/pypi/simple
# 安装Jupytet Lab中文语言包
pip install jupyterlab-language-pack-zh-CN -i https://mirrors.aliyun.com/pypi/simple
# 配置Jupyter Lab默认语言为中文
mkdir -p /root/.jupyter/lab/user-settings/@jupyterlab/translation-extension
echo "{\"locale\": \"zh_CN\"}"> /root/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
# 启动
# 使用Supervisorctl启动Jupyter服务
supervisorctl start jupyterlab
1
2
2