jupyter notebook/lab安装全指南

简介: jupyter notebook/lab安装全指南

Installation


JupyterLab can be installed using conda, mamba, pip, pipenv or docker.


1.conda


If you use conda, you can install it with:

conda install -c conda-forge jupyterlab


2.mamba


If you use mamba, you can install it with:

mamba install -c conda-forge jupyterlab


3.pip


If you use pip, you can install it with:

pip install jupyterlab

If you are using a macOS version that comes with Python 2, run pip3 instead of pip.

If installing using pip install --user, you must add the user-level bin directory to your PATH environment variable in order to launch jupyter lab. If you are using a Unix derivative (FreeBSD, GNU/Linux, macOS), you can do this by running export PATH="$HOME/.local/bin:$PATH".


4.pipenv


If you use pipenv, you can install it as:

pipenv install jupyterlab
pipenv shell

or from a git checkout:

pipenv install git+git://github.com/jupyterlab/jupyterlab.git#egg\=jupyterlab
pipenv shell

When using pipenv, in order to launch jupyter lab, you must activate the project’s virtualenv. For example, in the directory where pipenv’s Pipfile and Pipfile.lock live (i.e., where you ran the above commands):

jupyter lab

Alternatively, you can run jupyter lab inside the virtualenv with

pipenv run jupyter lab


5.Docker


If you have Docker installed, you can install and use JupyterLab by selecting one of the many ready-to-run Docker images maintained by the Jupyter Team. Follow the instructions in the Quick Start Guide to deploy the chosen Docker image.

Ensure your docker command includes the -e JUPYTER_ENABLE_LAB=yes flag to ensure JupyterLab is enabled in your container.


目录
相关文章
|
2月前
|
JavaScript iOS开发 MacOS
Jupyter模块Plotly及labextension插件的安装
Jupyter模块Plotly及labextension插件的安装
100 1
Jupyter Notebook & Lab快捷键大全
Jupyter Notebook & Lab快捷键大全
|
4月前
|
数据可视化 JavaScript 定位技术
这款地图可视化神器终于支持新版jupyter lab了!
这款地图可视化神器终于支持新版jupyter lab了!
|
4月前
|
数据可视化 数据挖掘 定位技术
好用到飞起的12个jupyter lab插件
好用到飞起的12个jupyter lab插件
|
4月前
|
JavaScript Python
不吹不黑,jupyter lab 3.0客观使用体验
不吹不黑,jupyter lab 3.0客观使用体验
|
4月前
|
JavaScript 前端开发 C++
jupyter lab最强代码提示插件来了
jupyter lab最强代码提示插件来了
|
7月前
|
Ubuntu JavaScript 开发工具
远程服务器ubuntu安装Jupyter Lab详细教程
远程服务器ubuntu安装Jupyter Lab详细教程
1087 0
|
6月前
|
开发工具 git
Jupyter Lab操作文档
**Jupyter Lab 概览:**集成编辑器、终端和自定义组件的环境。可定制主题、显示行号、切换语言。使用时,了解界面布局,通过`Ctrl+Enter`运行代码,`Shift+Enter`前进,`Alt+Enter`新建行。利用Markdown写作,通过Terminal执行命令,用快捷键提升效率,如`a/b`增删单元格,`m/y`切换模式。文件上传下载可使用OBS或终端工具。
Jupyter Lab操作文档
|
6月前
|
数据可视化 开发工具 数据安全/隐私保护
python小知识-jupyter lab
Jupyter Lab 是一个基于网页的交互式开发环境,它支持 Jupyter Notebook、文本编辑器、终端、数据可视化以及其他自定义组件。它提供了一个灵活的用户界面,允许用户创建和共享包含实时代码、方程、可视化以及解释性文本的文档。【6月更文挑战第2天】
122 0
|
7月前
|
开发工具 数据安全/隐私保护 Python
在云服务器部署jupyter notebook及jupyter lab
在云服务器部署jupyter notebook及jupyter lab