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.

git extension not showing up when running `jupyter server extension list`

See original GitHub issue

Description

I ran pip install jupyterlab-git, and I see the frontend extension , but cannot see the server extension (see screenshots below).

labextension is present Screen Shot 2021-05-19 at 1 59 01 PM

server extension is missing Screen Shot 2021-05-19 at 2 00 37 PM

Reproduce

pip install jupyterlab-git jupyter server extension list

Expected behavior

Expect to see jupyterlab-git server extension

Context

  • Python package version:
pip freeze | grep jupyter
jupyter-client==6.1.12
jupyter-core==4.7.1
jupyter-packaging==0.10.2
jupyter-server==1.7.0
jupyter-server-mathjax==0.2.2
jupyterlab==3.0.16
jupyterlab-git==0.30.1
jupyterlab-pygments==0.1.2
jupyterlab-server==2.5.2
jupyterlab-widgets==1.0.0
  • pip show jupyterlab-git
Name: jupyterlab-git
Version: 0.30.1
Summary: A JupyterLab extension for version control using git
Home-page: https://github.com/jupyterlab/jupyterlab-git.git
Author: Jupyter Development Team
Author-email: None
License: BSD-3-Clause
Location: /Users/spak/.pyenv/versions/3.9.1/envs/jlab3_extension_dev/lib/python3.9/site-packages
Requires: nbformat, jupyter-server, pexpect, nbdime, packaging
Required-by: 
  • Extension version:
        @jupyterlab/git v0.30.1 enabled OK
  • Git version:
git version 2.31.1
  • Operating System and its version: Mac OS Catalina 10.15.7 (19H1030)
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Web Browser Output
Paste the output from your browser web console here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sarahspakcommented, May 20, 2021

Ok I think I figured it out - I deleted this directory /usr/local/Cellar/jupyterlab/3.0.14/libexec/etc/jupyter, and now things are working as expected

which jupyter
/Users/spak/.pyenv/shims/jupyter

Many thanks @krassowski , will go ahead and close this issue

1reaction
krassowskicommented, May 19, 2021

Looks suspiciously similar to an issue we are having over at https://github.com/krassowski/jupyterlab-lsp/issues/598 - also on Mac.

Could you please try running:

jupyter server extension enable --py jupyterlab-git

or

jupyter server extension enable --sys-prefix --py jupyterlab-git

And see if it shows up on the list afterwards?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter lab extensions not working · Issue #8122 - GitHub
Description I installed jupyter lab extensions, which are enabled, but do not work. They appear in the extension manager, but still then ...
Read more >
Git server extension in JupyterLab unavailable - Stack Overflow
The extension manager says that it has been installed but when I run jupyter server extension list it is not there.
Read more >
[JupyterHub on Kubernetes] LSP server extension not found + ...
When I tried running jupyter server extension list , I can see the following. However, the git extension is still not installed. Config...
Read more >
jupyterlab-git - PyPI
A JupyterLab extension for version control using git.
Read more >
Introduction to Using Git in Jupyter
You have initialized a new git repository by using the git extension. Now, it is time to do some work by adding a...
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