Fresh install of jupyterlab from conda-forge is version

That looks like it’s trying to pull a lot of stuff from defaults (on anaconda.com), which is the (ahem) default behavior of Miniconda. Those packages are often out-of-date, and you it may other dependencies that are forcing something it into a local minimum. Also, for many use cases, using packages from there violates the Anaconda, Inc terms of service.

Further, doing interactive conda install is kinda peril-fraught.

I’d recommend starting with an my-jupyterlab-environment.yml that encapsulates your whole solve.

name: my-jupyterlab
channels:
  - conda-forge
  - nodefaults
dependencies:
  - jupyterlab ==4.*
  - python ==3.11.*

And then:

conda env update --file my-jupyterlab-environment.yml
conda activate my-jupyterlab
conda list

If that’s not working, one can try a clean slate Mambaforge (a spin of GitHub - conda-forge/miniforge: A conda-forge distribution.), which will already use anaconda.org/conda-forge as it’s default channel.

2 Likes