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.


目录
相关文章
|
4天前
|
并行计算 算法框架/工具 iOS开发
在RTX3050上安装python3.9、anaconda、pycharm、cuda11.6、cudnn、jupyter等工具的详细步骤和方法
在RTX3050上安装python3.9、anaconda、pycharm、cuda11.6、cudnn、jupyter等工具的详细步骤和方法
74 3
|
4天前
|
Ubuntu JavaScript 开发工具
远程服务器ubuntu安装Jupyter Lab详细教程
远程服务器ubuntu安装Jupyter Lab详细教程
272 0
|
4天前
|
数据可视化 安全 数据挖掘
技术小白如何轻松安装Jupyter Notebook
技术小白如何轻松安装Jupyter Notebook
104 0
|
4天前
|
开发工具 数据安全/隐私保护 Python
在云服务器部署jupyter notebook及jupyter lab
在云服务器部署jupyter notebook及jupyter lab
|
4天前
|
缓存 Linux 数据安全/隐私保护
搭建c++ python jupyter lab 在线环境
搭建c++ python jupyter lab 在线环境
53 0
|
5月前
|
Docker Python Windows
1行命令搭建自己的python服务器,docker,安装 jupyter
1行命令搭建自己的python服务器,docker,安装 jupyter
105 0
|
6月前
|
数据可视化 PyTorch TensorFlow
Keras和Tensorflow(CPU)安装、Pytorch(CPU和GPU)安装以及jupyter使用虚拟环境
Keras和Tensorflow(CPU)安装、Pytorch(CPU和GPU)安装以及jupyter使用虚拟环境
111 0
|
7月前
|
机器学习/深度学习 JSON 程序员
机器学习 | Jupyter Notebook安装与使用
机器学习 | Jupyter Notebook安装与使用
76 0
|
7月前
|
Docker Python 容器
Jupyter notebook 安装教程(2022.9.24更新)
Jupyter notebook 安装教程(2022.9.24更新)
141 0
|
8月前
|
消息中间件
Anaconda安装之后Spyder打不开解决办法--目前有用 jupyter notebook 无法正常运行2023.1.7
Anaconda安装之后Spyder打不开解决办法--目前有用 jupyter notebook 无法正常运行2023.1.7
129 0