jupyterlab-vim icon indicating copy to clipboard operation
jupyterlab-vim copied to clipboard

Plugin incompatible with Jupyter Lab 2.0

Open zaneselvans opened this issue 5 years ago • 14 comments

Jupyter Lab 2.0 was released today! Are there any plans to update this extension? Or any way that users can help support that update? Hopefully no big substantive changes are required!

As always, thank you so much for your work on this.

zaneselvans avatar Feb 28 '20 23:02 zaneselvans

There's a summary of the relevant changes in jupyterlab here:

JupyterLab 1.x to 2.x Extension Migration Guide https://jupyterlab.readthedocs.io/en/stable/developer/extension_migration.html

haakenlid avatar Mar 04 '20 10:03 haakenlid

Here is some extra detail

(base) ~ jupyter labextension install jupyterlab_vim An error occured. ValueError: The extension "jupyterlab_vim" does not yet support the current version of JupyterLab.

Conflicting Dependencies: JupyterLab Extension Package

=2.0.2 <2.1.0 >=1.0.1 <2.0.0 @jupyterlab/application =2.0.2 <2.1.0 >=1.0.1 <2.0.0 @jupyterlab/notebook See the log file for details: /tmp/jupyterlab-debug-wwexmuhc.log

Thanks

KwatMDPhD avatar Mar 23 '20 23:03 KwatMDPhD

Before the plugin turns compatible with Jupyter Lab 2.0, creating a standalone environment with jupyterlab=1.2.7 works for me. The setup script is below:

    conda create -n Jlab_V1 python # Create a new env with python
    conda activate Jlab_V1
    # Install necessary pieces
    conda install -y -c conda-forge jupyterlab=1.2.7 nodejs yarn
    # Collect all extension pieces
    jupyter labextension install --no-build jupyterlab_vim @jupyterlab/toc jupyterlab-spreadsheet
    # Name the tabs appropriately
    jupyter lab build --name="JLab_V1 with Vim"
    # Lastly, we verify that the plugins are installed (jupyterlab-vim among them):
    jupyter labextension list

On this conda-jupyterlab page, version 1.2.7 is the latest one before V2.0.

llinfeng avatar Mar 24 '20 19:03 llinfeng

Hello...

I'm facing the same need. ☺️ I've been using vi(1) since when I was stuck in datacenters with only vt100 terminals and Sun Solaris CLI prompts. So it's nearly impossible to work without vi(1).

user$ jupyter labextension install jupyterlab_vim
An error occured.
ValueError: The extension "jupyterlab_vim" does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension      Package
>=2.0.2 <2.1.0          >=1.0.1 <2.0.0 @jupyterlab/application
>=2.0.2 <2.1.0          >=1.0.1 <2.0.0 @jupyterlab/notebook
[ ... snip ... ]

(._.)

UPDATE :

I found and successfully implemented the solution to this issue here:

https://github.com/jwkvam/jupyterlab-vim/pull/115#issuecomment-619102217

nmvega avatar Mar 25 '20 18:03 nmvega

+1

kwlzn avatar Apr 03 '20 16:04 kwlzn

+1

SalamanderXing avatar Apr 10 '20 20:04 SalamanderXing

+1 , I cant use these notebooks without vim anymore it seems. Just way too uncomfortable without it :)

johnarumemi avatar Apr 11 '20 13:04 johnarumemi

+1

danielkovacsdeak avatar Apr 15 '20 18:04 danielkovacsdeak

+1

Sh4pe avatar Apr 22 '20 07:04 Sh4pe

This version should work: https://github.com/axelfahy/jupyterlab-vim

You also don't need to manually install extensions. Try this: 1) get the latest Jupyter Lab; 2) using UI, install vim extension (see attached image). Screenshot from 2020-05-01 17-42-16

KwatMDPhD avatar May 02 '20 00:05 KwatMDPhD

@KwatME Thanks for the link!

AntoineToussaint avatar May 10 '20 14:05 AntoineToussaint

Excited for this to get merged!

bs avatar May 13 '20 01:05 bs

"The extension "jupyterlab_vim" does not yet support the current version of JupyterLab." Really?

fspaolo avatar May 17 '20 01:05 fspaolo

"The extension "jupyterlab_vim" does not yet support the current version of JupyterLab." Really?

It seems this repository hasn't been committed to since July 2019 so I'm just going to switch to https://github.com/axelfahy/jupyterlab-vim. Thanks @KwatME

jogardi avatar Jun 21 '20 18:06 jogardi