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.

Can't get this extension working on my jupyter lab environment

See original GitHub issue

I’m using python 3.7.6 And below is my jupyter enviroment (obtained with conda list jupyter)

# Name                    Version                   Build  Channel
jupyter                   1.0.0                      py_2    conda-forge
jupyter_client            6.1.3                      py_0    conda-forge
jupyter_console           6.1.0                      py_1    conda-forge
jupyter_core              4.6.3            py37hc8dfbb8_1    conda-forge
jupyterlab                2.1.2                      py_0    conda-forge
jupyterlab_server         1.1.3                      py_0    conda-forge

I have tried jupyter lab clean and then jupyter lab build, but still can’t get it working. I have successfully used the vim extension on jupyterlab 1.X. I also noticed that there’s a system default shortcut ii for interrupting the kernel. However, disabling it won’t help either.

What’s other possible causes ? Thank you very much.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
arnelgcommented, Jan 5, 2021

I was not able to make this extension work with jupyterlab 3.0.0 and after installing the extension using pip install jupyterlab_vim. I checked that the extension was activated (“enabled OK”) using jupyter labextension list. I tried the above suggested fix, but it did not help. I then uninstalled the extension again using pip, downgraded to jupyterlab 2.2.9 and re-installed the package using jupyter labextension install @axlair/jupyterlab_vim. Now it works.

One thing I found confusing: While the extension was not working I was unsure if there was a problem with the installation or if I just didn’t know how to enter vim command mode. It would be great if the readme could have something about what it’s supposed to look like when it’s working.

3reactions
ricecookercommented, Oct 26, 2020

I was having trouble too with Jupyter 2.1.5. To check my extensions, I did the following:

$ jupyter labextension list
JupyterLab v2.1.5
Known labextensions:
   app dir: /Users/dcheng/miniconda/share/jupyter/lab
        @axlair/jupyterlab_vim v0.12.4  enabled  OK
        @jupyterlab/toc v4.0.0  enabled  OK
        jupyterlab-plotly v4.8.2  enabled  OK

Uninstalled core extensions:
    @axlair/jupyterlab_vim

In order to fix my problem I had to delete the file mentioned in #12. In my case it was rm ~/miniconda3/share/jupyter/lab/settings/*.json

After that I did a jupyter lab clean; jupyter lab build, everything worked.

Hope that helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter lab extensions not working · Issue #8122 - GitHub
I installed jupyter lab extensions, which are enabled, but do not work. They appear in the extension manager, but still then they do...
Read more >
Extensions — JupyterLab 3.6.0b0 documentation
The jupyter labextension command enables you to install or uninstall source extensions from npm, list all installed extensions, or disable any extension. See ......
Read more >
How to use and install Jupyter Lab extensions - YouTube
One thing that I forgot to mention in the video, you do need to have NodeJS installed on your system for this to...
Read more >
Issues installing Jupyter Lab Git extension: Mismatched front ...
I can't seem to get these two extension installations to match (or to ever have the extension icon show up in the side...
Read more >
@jupyterlab
JupyterLab can be extended using npm packages that use our public APIs. To find JupyterLab extensions, search for the npm keyword jupyterlab-extension or ......
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