skip to Main Content

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!

2

Answers


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

    pip install jupyterlab --upgrade
    
    Login or Signup to reply.
  2. Check if your python version is 2.x which comes with ubuntu, if so you need to switch to 3.x

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search