0

I installed the most recent Anaconda distribution of Python that I downloaded here: https://repo.anaconda.com/archive/Anaconda3-2023.03-1-Linux-x86_64.sh.

I created a new environment named af that is a clone of the base environment: conda create --name af --clone base

I activated this new environment: conda activate af

The JupyterLab version in base and af is 3.5.3, and I want to update it to 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

The JupyterLab 4 announcement says I should run: conda install -c conda-forge jupyterlab. But this only gets me to 3.6.4. How do I update JupyterLab to 4?

Richard Herron
  • 9,760
  • 12
  • 69
  • 116
  • 1
    Hi, did you find an answer for this? I have the same issue. – a06e Jul 05 '23 at 12:59
  • @a06e No, I will wait for an update on the Anaconda distribution. – Richard Herron Jul 05 '23 at 19:47
  • 1
    So you're saying that Anaconda has yet to incorporate JupyterLab 4 on their "stable channel" ? So we just wait and eventually we'll get it. – a06e Jul 06 '23 at 13:23
  • @a06e Yes. I use Anaconda 2023.03, and my Jupyter Lab version is 3.5.3. https://docs.anaconda.com/free/anaconda/reference/release-notes/#release-notes – Richard Herron Jul 06 '23 at 13:28

1 Answers1

1

I could update after uninstalling the previous version with

  pip install -U jupyterlab

followed by

  pip install jupyterlab
ti_conzero
  • 26
  • 1
  • Thanks! Does this work with Anaconda? Does it matter that my current installation of JupyterLab is from conda instead of pip? – Richard Herron Aug 10 '23 at 23:53
  • This also worked for me, but I am unsure how `pip` removed the `conda`-installed `jupyterlab` package. I will comment if anything breaks. – Richard Herron Aug 15 '23 at 17:09