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.

Failed to load the jupyterlab-git server extension

See original GitHub issue

Description

I get the below warning every time I load jupyterlab and the git extension doesn’t load but I can see that it’s installed and there’s a section for the git extension on the advanced settings menu

image

image

After doing running the suggested pip install --upgrade jupyterlab-git

I get the following output and it looks like I have every package I need

Requirement already satisfied: jupyterlab in ./.local/lib/python3.6/site-packages (3.0.16)
User for art-p-01: deolid
Password: 
Requirement already satisfied: nbclassic~=0.2 in ./.local/lib/python3.6/site-packages (from jup
yterlab) (0.2.6)
Requirement already satisfied: jupyter-core in ./.local/lib/python3.6/site-packages (from jupyt
erlab) (4.7.1)
Requirement already satisfied: packaging in ./.local/lib/python3.6/site-packages (from jupyterl
ab) (20.8)
Requirement already satisfied: jupyterlab-server~=2.3 in ./.local/lib/python3.6/site-packages (
from jupyterlab) (2.6.0)
Requirement already satisfied: jinja2>=2.1 in /usr/local/lib/python3.6/dist-packages (from jupy
terlab) (2.10.1)
Requirement already satisfied: ipython in /usr/local/lib/python3.6/dist-packages (from jupyterl
ab) (5.1.0)
Requirement already satisfied: jupyter-server~=1.4 in ./.local/lib/python3.6/site-packages (fro
m jupyterlab) (1.8.0)
Requirement already satisfied: tornado>=6.1.0 in ./.local/lib/python3.6/site-packages (from jup
yterlab) (6.1)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.6/dist-packages (from
 jinja2>=2.1->jupyterlab) (1.1.1)
Requirement already satisfied: nbformat in /usr/local/lib/python3.6/dist-packages (from jupyter
-server~=1.4->jupyterlab) (4.4.0)
Requirement already satisfied: jupyter-client>=6.1.1 in ./.local/lib/python3.6/site-packages (f
rom jupyter-server~=1.4->jupyterlab) (6.2.0)
Requirement already satisfied: anyio<4,>=3.1.0 in ./.local/lib/python3.6/site-packages (from ju
pyter-server~=1.4->jupyterlab) (3.1.0)
Requirement already satisfied: websocket-client in ./.local/lib/python3.6/site-packages (from j
upyter-server~=1.4->jupyterlab) (1.0.1)
Requirement already satisfied: nbconvert in /usr/local/lib/python3.6/dist-packages (from jupyte
r-server~=1.4->jupyterlab) (5.5.0)
Requirement already satisfied: pyzmq>=17 in /usr/local/lib/python3.6/dist-packages (from jupyte
r-server~=1.4->jupyterlab) (18.0.2)
Requirement already satisfied: ipython-genutils in /usr/local/lib/python3.6/dist-packages (from
 jupyter-server~=1.4->jupyterlab) (0.2.0)
Requirement already satisfied: terminado>=0.8.3 in ./.local/lib/python3.6/site-packages (from jupyter-server~=1.4->jupyterlab) (0.9.2)
Requirement already satisfied: prometheus-client in /usr/local/lib/python3.6/dist-packages (from jupyter-server~=1.4->jupyterlab) (0.7.1)
Requirement already satisfied: Send2Trash in /usr/local/lib/python3.6/dist-packages (from jupyter-server~=1.4->jupyterlab) (1.5.0)
Requirement already satisfied: argon2-cffi in ./.local/lib/python3.6/site-packages (from jupyter-server~=1.4->jupyterlab) (20.1.0)
Requirement already satisfied: traitlets>=4.2.1 in /usr/local/lib/python3.6/dist-packages (from jupyter-server~=1.4->jupyterlab) (4.3.2)
Requirement already satisfied: dataclasses in ./.local/lib/python3.6/site-packages (from anyio<4,>=3.1.0->jupyter-server~=1.4->jupyterlab) (0.8)
Requirement already satisfied: idna>=2.8 in ./.local/lib/python3.6/site-packages (from anyio<4,>=3.1.0->jupyter-server~=1.4->jupyterlab) (3.1)
Requirement already satisfied: async-generator in ./.local/lib/python3.6/site-packages (from anyio<4,>=3.1.0->jupyter-server~=1.4->jupyterlab) (1.10)
Requirement already satisfied: typing-extensions in ./.local/lib/python3.6/site-packages (from anyio<4,>=3.1.0->jupyter-server~=1.4->jupyterlab) (3.7.4.3)
Requirement already satisfied: sniffio>=1.1 in ./.local/lib/python3.6/site-packages (from anyio<4,>=3.1.0->jupyter-server~=1.4->jupyterlab) (1.2.0)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.6/dist-packages (from jupyter-client>=6.1.1->jupyter-server~=1.4->jupyterlab) (2.8.0)
Requirement already satisfied: nest-asyncio>=1.5 in ./.local/lib/python3.6/site-packages (from jupyter-client>=6.1.1->jupyter-server~=1.4->jupyterlab) (1.5.1)
Requirement already satisfied: json5 in ./.local/lib/python3.6/site-packages (from jupyterlab-server~=2.3->jupyterlab) (0.9.5)
Requirement already satisfied: jsonschema>=3.0.1 in /usr/local/lib/python3.6/dist-packages (from jupyterlab-server~=2.3->jupyterlab) (3.0.1)
Requirement already satisfied: babel in ./.local/lib/python3.6/site-packages (from jupyterlab-server~=2.3->jupyterlab) (2.9.0)
Requirement already satisfied: requests in /usr/local/lib/python3.6/dist-packages (from jupyterlab-server~=2.3->jupyterlab) (2.13.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/dist-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.3->jupyterlab) (41.0.1)
Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.6/dist-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.3->jupyterlab) (19.1.0)
Requirement already satisfied: six>=1.11.0 in /usr/local/lib/python3.6/dist-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.3->jupyterlab) (1.12.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /usr/local/lib/python3.6/dist-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.3->jupyterlab) (0.15.2)
Requirement already satisfied: notebook<7 in /usr/local/lib/python3.6/dist-packages (from nbclassic~=0.2->jupyterlab) (5.7.8)
Requirement already satisfied: ipykernel in /usr/local/lib/python3.6/dist-packages (from notebook<7->nbclassic~=0.2->jupyterlab) (5.1.1)
Requirement already satisfied: contextvars>=2.1 in ./.local/lib/python3.6/site-packages (from sniffio>=1.1->anyio<4,>=3.1.0->jupyter-server~=1.4->jupyterlab) (2.4)
Requirement already satisfied: immutables>=0.9 in ./.local/lib/python3.6/site-packages (from contextvars>=2.1->sniffio>=1.1->anyio<4,>=3.1.0->jupyter-server~=1.4->jupyterlab) (0.14)
Requirement already satisfied: ptyprocess in /usr/local/lib/python3.6/dist-packages (from terminado>=0.8.3->jupyter-server~=1.4->jupyterlab) (0.6.0)
Requirement already satisfied: decorator in /usr/local/lib/python3.6/dist-packages (from traitlets>=4.2.1->jupyter-server~=1.4->jupyterlab) (4.4.0)
Requirement already satisfied: cffi>=1.0.0 in ./.local/lib/python3.6/site-packages (from argon2-cffi->jupyter-server~=1.4->jupyterlab) (1.14.5)
Requirement already satisfied: pycparser in ./.local/lib/python3.6/site-packages (from cffi>=1.0.0->argon2-cffi->jupyter-server~=1.4->jupyterlab) (2.20)
Requirement already satisfied: pytz>=2015.7 in /usr/local/lib/python3.6/dist-packages (from babel->jupyterlab-server~=2.3->jupyterlab) (2019.1)
Requirement already satisfied: pygments in /usr/local/lib/python3.6/dist-packages (from ipython->jupyterlab) (2.4.2)
Requirement already satisfied: simplegeneric>0.8 in /usr/local/lib/python3.6/dist-packages (from ipython->jupyterlab) (0.8.1)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.3 in /usr/local/lib/python3.6/dist-packages (from ipython->jupyterlab) (1.0.15)
Requirement already satisfied: pexpect in /usr/local/lib/python3.6/dist-packages (from ipython->jupyterlab) (4.7.0)
Requirement already satisfied: pickleshare in /usr/local/lib/python3.6/dist-packages (from ipython->jupyterlab) (0.7.5)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.6/dist-packages (from prompt-toolkit<2.0.0,>=1.0.3->ipython->jupyterlab) (0.1.7)
Requirement already satisfied: mistune>=0.8.1 in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter-server~=1.4->jupyterlab) (0.8.4)
Requirement already satisfied: entrypoints>=0.2.2 in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter-server~=1.4->jupyterlab) (0.3)
Requirement already satisfied: testpath in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter-server~=1.4->jupyterlab) (0.4.2)
Requirement already satisfied: defusedxml in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter-server~=1.4->jupyterlab) (0.6.0)
Requirement already satisfied: pandocfilters>=1.4.1 in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter-server~=1.4->jupyterlab) (1.4.2)
Requirement already satisfied: bleach in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter-server~=1.4->jupyterlab) (3.1.0)
Requirement already satisfied: webencodings in /usr/local/lib/python3.6/dist-packages (from bleach->nbconvert->jupyter-server~=1.4->jupyterlab) (0.5.1)
Requirement already satisfied: pyparsing>=2.0.2 in /usr/local/lib/python3.6/dist-packages (from
 packaging->jupyterlab) (2.4.0)

this is a screenshot of the log page in jupyterlab image

and an extract from my pip3 freeze image

and another from the below command image

@krassowski

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
diogomrkscommented, Jun 9, 2021

Gotcha! thanks for the help, it’s a handy little extension. Not as good as the git vscode ext with inline code git info but I’m glad to have it!

1reaction
krassowskicommented, Jun 9, 2021

That’s good! After restarting JupyterLab, does the extension work too?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to load jupyterlab-git server extension - Stack Overflow
I am trying to install git extension in jupyterlab but I get error as below. All server extensions are enabled but it doesn't...
Read more >
Failed to load the jupyterlab-git server extension #1092 - GitHub
Please ensure you have installed the JupyterLab Git server extension by running: pip install --upgrade jupyterlab-git. To confirm that the ...
Read more >
[JupyterHub on Kubernetes] LSP server extension not found + ...
Failed to load the jupyterlab-git server extension Git server extension is unavailable. Please ensure you have installed the JupyterLab Git ...
Read more >
Setting up Git extension for JupyterLab - REDCAR - GitBook
Method 2: Install Through Anaconda Prompt (or Terminal) ... From there, just simply close and reopen Jupyter Lab! There should be a panel...
Read more >
jupyterlab-git - PyPI
A JupyterLab extension for version control using git. ... You can set a longer cache timeout; see Server Settings. This is a new...
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