Issues: ValueError: "@jupyterlab/statusbar" is not a valid extension:

Hi everyone,
I got a ’ "ValueError: “@jupyterlab/statusbar” is not a valid extension: ’ error when i send a ‘pip3 install jupyter jupyterlab’ cmd to my jetson nano board following the instruction on page:
https://github.com/NVIDIA-AI-IOT/jetbot/wiki/Create-SD-Card-Image-From-Scratch
Could anybody help me to address this issue? tks!

following with the full-log:

root@guobg-desktop:~# pip3 install jupyter jupyterlab
Requirement already satisfied: jupyter in /usr/local/lib/python3.6/dist-packages (1.0.0)
Requirement already satisfied: jupyterlab in /usr/local/lib/python3.6/dist-packages (1.0.4)
Requirement already satisfied: notebook in /usr/local/lib/python3.6/dist-packages (from jupyter) (6.0.0)
Requirement already satisfied: qtconsole in /usr/local/lib/python3.6/dist-packages (from jupyter) (4.5.2)
Requirement already satisfied: ipywidgets in /usr/local/lib/python3.6/dist-packages (from jupyter) (7.5.1)
Requirement already satisfied: ipykernel in /usr/local/lib/python3.6/dist-packages (from jupyter) (5.1.1)
Requirement already satisfied: nbconvert in /usr/local/lib/python3.6/dist-packages (from jupyter) (5.5.0)
Requirement already satisfied: jupyter-console in /usr/local/lib/python3.6/dist-packages (from jupyter) (6.0.0)
Requirement already satisfied: jupyterlab-server~=1.0.0 in /usr/local/lib/python3.6/dist-packages (from jupyterlab) (1.0.0)
Requirement already satisfied: tornado!=6.0.0,!=6.0.1,!=6.0.2 in /usr/local/lib/python3.6/dist-packages (from jupyterlab) (6.0.3)
Requirement already satisfied: prometheus-client in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (0.7.1)
Requirement already satisfied: pyzmq>=17 in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (18.0.2)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (2.10.1)
Requirement already satisfied: jupyter-core>=4.4.0 in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (4.5.0)
Requirement already satisfied: traitlets>=4.2.1 in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (5.0.0.dev0)
Requirement already satisfied: ipython-genutils in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (0.2.0)
Requirement already satisfied: nbformat in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (4.4.0)
Requirement already satisfied: Send2Trash in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (1.5.0)
Requirement already satisfied: jupyter-client>=5.3.1 in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (5.3.1)
Requirement already satisfied: terminado>=0.8.1 in /usr/local/lib/python3.6/dist-packages (from notebook->jupyter) (0.8.2)
Requirement already satisfied: pygments in /usr/local/lib/python3.6/dist-packages (from qtconsole->jupyter) (2.4.2)
Requirement already satisfied: ipython>=4.0.0; python_version >= “3.3” in /usr/local/lib/python3.6/dist-packages (from ipywidgets->jupyter) (7.7.0)
Requirement already satisfied: widgetsnbextension~=3.5.0 in /usr/local/lib/python3.6/dist-packages (from ipywidgets->jupyter) (3.5.1)
Requirement already satisfied: bleach in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter) (3.1.0)
Requirement already satisfied: defusedxml in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter) (0.6.0)
Requirement already satisfied: mistune>=0.8.1 in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter) (0.8.4)
Requirement already satisfied: testpath in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter) (0.4.2)
Requirement already satisfied: pandocfilters>=1.4.1 in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter) (1.4.2)
Requirement already satisfied: entrypoints>=0.2.2 in /usr/local/lib/python3.6/dist-packages (from nbconvert->jupyter) (0.3)
Requirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in /usr/local/lib/python3.6/dist-packages (from jupyter-console->jupyter) (2.0.9)
Requirement already satisfied: jsonschema>=3.0.1 in /usr/local/lib/python3.6/dist-packages (from jupyterlab-server~=1.0.0->jupyterlab) (3.0.2)
Requirement already satisfied: json5 in /usr/local/lib/python3.6/dist-packages (from jupyterlab-server~=1.0.0->jupyterlab) (0.8.5)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3/dist-packages (from jinja2->notebook->jupyter) (1.0)
Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from traitlets>=4.2.1->notebook->jupyter) (1.12.0)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.6/dist-packages (from jupyter-client>=5.3.1->notebook->jupyter) (2.8.0)
Requirement already satisfied: ptyprocess; os_name != “nt” in /usr/local/lib/python3.6/dist-packages (from terminado>=0.8.1->notebook->jupyter) (0.6.0)
Requirement already satisfied: jedi>=0.10 in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= “3.3”->ipywidgets->jupyter) (0.14.1)
Requirement already satisfied: backcall in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= “3.3”->ipywidgets->jupyter) (0.1.0)
Requirement already satisfied: decorator in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= “3.3”->ipywidgets->jupyter) (4.4.0)
Requirement already satisfied: pexpect; sys_platform != “win32” in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= “3.3”->ipywidgets->jupyter) (4.7.0)
Requirement already satisfied: pickleshare in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= “3.3”->ipywidgets->jupyter) (0.7.5)
Requirement already satisfied: setuptools>=18.5 in /usr/lib/python3/dist-packages (from ipython>=4.0.0; python_version >= “3.3”->ipywidgets->jupyter) (39.0.1)
Requirement already satisfied: webencodings in /usr/lib/python3/dist-packages (from bleach->nbconvert->jupyter) (0.5)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.6/dist-packages (from prompt-toolkit<2.1.0,>=2.0.0->jupyter-console->jupyter) (0.1.7)
Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.6/dist-packages (from jsonschema>=3.0.1->jupyterlab-server~=1.0.0->jupyterlab) (19.1.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /usr/local/lib/python3.6/dist-packages (from jsonschema>=3.0.1->jupyterlab-server~=1.0.0->jupyterlab) (0.15.4)
Requirement already satisfied: parso>=0.5.0 in /usr/local/lib/python3.6/dist-packages (from jedi>=0.10->ipython>=4.0.0; python_version >= “3.3”->ipywidgets->jupyter) (0.5.1)
root@guobg-desktop:~# jupyter labextension install @jupyter-widgets/jupyterlab-manager
Building jupyterlab assets
root@guobg-desktop:~# jupyter labextension install @jupyterlab/statusbar
An error occured.
ValueError: “@jupyterlab/statusbar” is not a valid extension:
No jupyterlab key
See the log file for details: /tmp/jupyterlab-debug-95qjbtak.log

Hi guobg78,

May I know which version of JetPack are you using ?
If you are using latest Jetpack 4.2.1, can you have a look at install.sh script from following repository ?

https://github.com/NVIDIA-AI-IOT/jetcard/tree/jetpack_4.2.1

Here is the section which you can have a look.

# install jupyter lab
echo $password | sudo -S apt install -y nodejs npm
echo $password | sudo -S pip3 install -U jupyter jupyterlab
echo $password | sudo -S jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter lab --generate-config

# set jupyter password
python3 -c "from notebook.auth.security import set_password; set_password('$password', '$HOME/.jupyter/jupyter_notebook_config.json')"

This is still a problem with the latest Jetpack 4.3 image. The Jetbot SD card setup instructions say to run

jupyter labextension install @jupyterlab/statusbar

and this generates the “No ‘jupyterlab’ key” error. It also says to run the lines above and they do work.

I ran into the same issue yesterday while trying to set up JetBot on top of Jetpack 4.3, and found this thread while researching the problem. It looks like statusbar is included with any recent version of jupyterlab, and the jupyterlab/statusbar extension is no longer necessary. I believe the instructions on this page:

https://github.com/NVIDIA-AI-IOT/jetbot/wiki/Create-SD-Card-Image-From-Scratch

Should no longer have this step:

sudo jupyter labextension install @jupyterlab/statusbar