5

Jupyter Lab dask-labextension not working

Installed both from:

  • A.) JupyterLab side bar/ Extension manager/ search for it / click install
  • B.) Command line rom my cd to anaconda installation guide
conda install jupyterlab nodejs
conda install -c conda-forge dask-labextension
jupyter labextension install dask-labextension
jupyter serverextension enable dask_labextension

ERROR

  • In juyerlab start up pop up error message - ERROR: "Dask Server Error Failed to list clusters: might the server extension not be installed/enabled?"
  • Than if I wait it offers me to make a build -> I click build
  • Build CompleteBuild successfully completed, reload page? click -> reload

Question

  • I have Token password locked my JupyterLab can that be the reason that this extension can not access it?

Tried Solutions

  • Deleting extension from JupyterLab side bar/ Extension manager
    • WARNING The JupyterLab development team is excited to have a robust third-party extension community. However, we do not review third-party extensions, and some extensions may introduce security risks or contain malicious code that runs on your machine.
    • Error communicating with server extension. Consult the documentation for how to ensure that it is enabled. Reason given: Error: 403 (Forbidden)
  • I have node js installed - https://stackoverflow.com/a/55450973/10270590
sogu
  • 2,738
  • 5
  • 31
  • 90
  • The code here works for me (both w/ JupyterLab 3 and older), could you please share the jupyterlab and dask versions you're using? Also, if it's an older version, do you have ipywidgets and bokeh installed correctly? – pavithraes Oct 05 '21 at 08:49
  • Related question on how to remove dask-labextension: https://stackoverflow.com/questions/76399039/ho-to-remove-uninstall-dask-labextension-from-jupyterlab/76399140#76399140 – Stefan Jun 04 '23 at 06:06

1 Answers1

3

JupyterLab 3.0 has been released since this question was posted, and it makes installing extensions much easier. If you have dask distributed installed, you can: conda/pip install dask-labextension

Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
pavithraes
  • 724
  • 5
  • 9
  • 1
    Hi, I see this is your first answer. However as this isn't an actual answer and you are instead helping to debug, this should be a commend on the question. You can post those once you earn enough reputation. – Bracken Oct 04 '21 at 17:53