2023年3月1日水曜日

Jupyterlab Extension Manager

Extension manager is enable from jupyterlab

 Recently I updated the jupyter lab on my personal computer after a long time since the last execution. 


(base) tk$ conda update conda



Now my version of jupyter lab is 3.5.2. Before that the version was very older one and not a few stuff have been changed on the current version. Especially I found that the Extension manager available in the left of the window. 



Wow! 
I clicked the Enable button and many options available were shown.


It's quite easy to find the extensions from the list and inspect them. Click the blue links and I can open their Github pages. 

Kite is saying farewell


For example I searched Kite autocomplete extension using search box,



I clicked the 'Install' button and the message below was shown,



hmm, OK. 


(base) tk$ pip install jupyter-kite

Collecting jupyterlab-kite

  Downloading jupyterlab-kite-2.0.2.tar.gz (266 kB)




and I got an error message...


Oh, I see...


base) tk$ conda install -c conda-forge nodejs

Collecting package metadata (current_repodata.json): done

Solving environment: done


## Package Plan ##


  environment location: /path/to/my/home/miniconda3


  added / updated specs:

    - nodejs



The following packages will be downloaded:


    package                    |            build

    ---------------------------|-----------------

    libuv-1.44.2               |       hac89ed1_0         441 KB  conda-forge

    nodejs-18.13.0             |       hd0c9b3c_0        10.3 MB  conda-forge

    ------------------------------------------------------------

                                           Total:        10.8 MB


The following NEW packages will be INSTALLED:


  libuv              conda-forge/osx-64::libuv-1.44.2-hac89ed1_0 

  nodejs             conda-forge/osx-64::nodejs-18.13.0-hd0c9b3c_0 




and I retry the installation.


I restart jupyterlab, and I got the message,


The icon of Kite was shown, but I could not use Kite. I clicked the Fix This button,  and found the message below...!

Kite is saying farewell

From 2014 to 2021, Kite was a startup using AI to help developers write code. We have stopped working on Kite, and are no longer supporting the Kite software.

Thank you to everyone who used our product, and thank you to our team members and investors who made this journey possible.



Hmm... is this the reason I could not use Kite on jupyterlab??

I could not fix this problem, but I finished trying to install this extension...


(base) tk$ pip uninstall jupyterlab-kite

Found existing installation: jupyterlab-kite 2.0.2

Uninstalling jupyterlab-kite-2.0.2:



jupyterlab-cell-flash

I tried different jupyterlab extension. 




Looks nice! This extension works well :-)


Jupyterlab documentation: