Can't seem to add the Panel Preview button to my JupyterLab

Hi Holoviz discourse,

I am trying to get the Preview with Panel button on my JupyterLab installation but can not seem to do so. I followed these instructions, updated my jupyterlab and panel versions, but I can’t seem to get it to work. I can see this was added to a jupyter_notebook_config.json file in my .jupyter/

{
  "NotebookApp": {
    "nbserver_extensions": {
      "panel.io.jupyter_server_extension": true
    }
  }
}

I shut down the Jupyterlab server and restarted and no change. I have seen other issues and posts about issues with the button but none about it not showing up. Has anyone else had trouble with this or seen this?

initial versions:
jupyterlab==3.0.16
panel==0.12.4
python==3.9.5

updated versions:
jupyterlab==3.1.7
panel==0.12.7
python==3.9.5

1 Like

Could you try installing everything in a new virtual environment without versions pinned? Hope it helps.

It did work with a fresh environment, strange. Thank you!

1 Like