Derrick Rossi
Derrick Rossi

Reputation: 51

Jupyter error "ModuleNotFoundError: No module named 'jupyterlab'"

After updating to Ubuntu LTS 22.04 the usual code "jupyter lab" is no more working.

Here what I get instead:

Traceback (most recent call last):   
    File "/home/lorenzo/.local/bin/jupyter-lab", line 5, in <module>
      from jupyterlab.labapp import main 
ModuleNotFoundError: No module named 'jupyterlab'

I tried to dig into related old questions but I didn't manage to solve the problem. Thanks!

Upvotes: 5

Views: 13240

Answers (2)

learning_yao
learning_yao

Reputation: 1

Check if your python version is 2.x which comes with ubuntu, if so you need to switch to 3.x

Upvotes: 0

tangi
tangi

Reputation: 129

The issue should be solved by updating jupyterlab, in your case by

pip install jupyterlab --upgrade

Upvotes: 12

Related Questions