Panel failed in Jupyter Lab

Panel preview failed in Jupyter lab extension:

Any idea how this can be solved?

2 Likes

Hi @Rene

Welcome to the community.

Could you verify if a hello world example works?

import panel as pn

pn.extension()

pn.panel("Hello World").servable()

Hi Marc,
I can confirm that the hello world example works.

I guess the reason that my panel preview failed due to the script is bugged?

What’s the name of your notebook? Does it have special characters? That’s really the only thing I can think of that might cause this error.

thank you.
recently i am switching to VS code, much better now.