如何使用 Anaconda 发行版更新到 jupyterlab 4?

问题描述 投票:0回答:1

我安装了在此处下载的最新的 Anaconda Python 发行版:https://repo.anaconda.com/archive/Anaconda3-2023.03-1-Linux-x86_64.sh

我创建了一个名为

af
的新环境,它是
base
环境的克隆:
conda create --name af --clone base

我激活了这个新环境:

conda activate af

base
af
中的JupyterLab版本是3.5.3,我想更新到4。

(af) richard@ms7c90:~$ jupyter --version
Selected Jupyter core packages...
IPython          : 8.10.0
ipykernel        : 6.19.2
ipywidgets       : 7.6.5
jupyter_client   : 7.3.4
jupyter_core     : 5.2.0
jupyter_server   : 1.23.4
jupyterlab       : 3.5.3
nbclient         : 0.5.13
nbconvert        : 6.5.4
nbformat         : 5.7.0
notebook         : 6.5.2
qtconsole        : 5.4.0
traitlets        : 5.7.1

JupyterLab 4 公告说我应该运行:

conda install -c conda-forge jupyterlab
。 但这只能让我到达 3.6.4。 如何将 JupyterLab 更新到 4?

anaconda jupyter-lab
1个回答
0
投票

我可以在卸载以前的版本后进行更新

  pip install -U jupyterlab

随后

  pip install jupyterlab
© www.soinside.com 2019 - 2024. All rights reserved.