Forum Discussion

S-Wald's avatar
S-Wald
Regular Visitor
5 years ago

PowerBI-Jupyter widget does not render in Jupyter Lab (only Jupyter Notebook)

Greetings--

I've had success running the powerbiclient embedding in a Jupyter notebook lauched via the old-fashioned "jupyter notebook" server but cannot get this same notebook to run when launched from Jupyter Lab. I have followed to the letter the special instructions for installing powerbiclient in Jupyter Lab found on the code repository here: https://github.com/microsoft/powerbi-jupyter 

I have executed these instructions in both existing conda environments and brand new ones. Furthermore, I've tried to add a more explicit widget installation command specifying the powerbi widget: 

 

jupyter labextension install @jupyter-widgets/jupyterlab-manager powerbi-jupyter-client

 

as well as this variation, both of which successfully execute from an Anaconda command prompt (in Windows 10):

 

jupyter labextension install powerbi-jupyter-client

 

After these commands, the extension shows as installed and enabled in Jupyter Lab:

 But whenever I finally run the cell to render the report, it returns the error: "Error displaying widget: model not found", which is a common error in Jupyter Lab for widgets that are not installed (not just for the powerbiclient widget).

What am I doing wrong? Thanks!

S-Wald

2 Replies