Forum Discussion
Anonymous
2 years agoNot applicable
Error with embeding a report into jupyter notebook
Hello everyone! My code in jupyter notebook looks like this: from powerbiclient import Report, models from powerbiclient.authentication import DeviceCodeLoginAuthentication auth = DeviceCode...
Anonymous
2 years agoNot applicable
Hello lbendlin Yes I followed the instructions from https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/powerbi-jupyter
-pip install powerbiclient
- from powerbiclient.authentication import DeviceCodeLoginAuthentication # Initiate device authentication device_auth = DeviceCodeLoginAuthentication()
-group_id="Workspace ID"
report_id="Report ID"
-report = Report(group_id=group_id, report_id=report_id, auth=device_auth)
report
And got an error which I mentioned
lbendlin
Super User
2 years agoI tried on VS Code and am getting a different error
Error rendering output item using 'jupyter-ipywidget-renderer'
- Cannot read properties of undefined (reading 'ipywidgetsKernel')
I know this worked at some point. Will need to investigate where the permissions break down.