question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation instructions have you installing mismatched versions

See original GitHub issue

Description

pip install --upgrade jupyterlab jupyterlab-git installs backend version 0.23.3

jupyter labextension install @jupyterlab/git installs frontend version 0.30.0b1

When you install the two extensions this way and then open JupyterLab you get a message telling you that the two versions are not the same and to run pip install --upgrade jupyterlab-git to fix it:

Screen Shot 2021-01-24 at 8 49 22 PM

But the pip install --upgrade jupyterlab-git command also installs the 0.23.3 version. So this isn’t a viable solution. The only way for me to get matching versions was to run pip install jupyterlab-git==0.30.0b1 (and I’m assuming we regular users don’t want to be running beta versions, right? I couldn’t figure out how to install the 0.23.3 frontend version, so I’m stuck using both beta versions for now).

Reproduce

After running pip install --upgrade jupyterlab jupyterlab-git you can then run pip list to check the version of the backend version (and in this case see that it is version 0.23.3).

After running jupyter labextension install @jupyterlab/git you can then run jupyter labextension list to check the frontend version (and in this case see that it is version 0.30.0b1).

Expected behavior

When I ran those initial commands to install the extensions I expected both versions to match and to not have to troubleshoot why my versions weren’t matching.

Context

Not sure additional context is needed, but happy to provide if so!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:12
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
fcollonvalcommented, Jan 25, 2021

Ok the error is due to the jupyterlab version. No release has been done for JupyterLab 3 (see #779).

So you should either install the beta version for JLab 3 or stick with JLab2 for now.

To install the beta version, you need to execute:

pip install --pre jupyterlab-git==0.30.0b1

And nothing else, JLab3 introduces a way to load directly the extension in the frontend.

2reactions
fcollonvalcommented, Jan 26, 2021

For now, using pip (there should not be any trouble with conda), you can either install the stable version on JupyterLab 2 (requires nodejs):

pip install jupyterlab~=2.2.9 jupyterlab-git
jupyter lab build

To check the version:

jupyter serverextension list
jupyter labextension list

Or try the beta version on JupyterLab 3:

pip install jupyterlab~=3.0
pip install --pre jupyterlab-git==0.30.0b1

To check the version:

jupyter server extension list
jupyter labextension list

There is a space between server and extension for JupyterLab 3 as the server changed.

If you mixed up version, best is to remove the environment you created. If this is not possible, run jupyter lab clean --all, remove the packages and install them again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error 'Mismatching Versions' when you ... - Salesforce Help
This is an expected behavior and occurs when installing an app or package from a new release in an org that hasn't also...
Read more >
Mismatching versions-error when trying to install unlocked ...
From what I know this error comes up, when one tries to install higher api-version sources into a lower api-version org. How is...
Read more >
Install and use different versions of Office on the same PC
If you want to install and run more than one version of Microsoft 365 on the same PC, here are some tips to...
Read more >
How to reinstall macOS - Apple Support
Other macOS installation options. When you install macOS from Recovery, you get the current version of the most recently installed macOS, with ...
Read more >
Can I have different versions of Nik Collection installed at the ...
Many customers experience problems caused by trying to install Nik Collection alongside an existing installation or manually moving files to a different ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found