Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PBI_ponderer
Frequent Visitor

Python Visualisations in PBI Service Not Working

Hello all,

 

I am having issues running python visualisations in PBI Service - everything runs on PBI Desktop but on Service it is giving me a "Script Runtime Error" (please see the screenshot attached). I suspect that it is because PBI Service does not support this python package as it is not included in the list in the documentation: https://docs.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support. However, I am confused about this statement in the documentation "The Power BI service supports packages published in PyPI", the package "Shap" that I am using for the visuals is published in PyPI so why doesn't it work? I feel that this is conflcicting information: on the one hand there are only 8 packages supported in PBI Service yet it also supports every package in PyPI?

 

Would really appreciate any clarity on this issue.

 

Script runtime error.PNG

2 REPLIES 2
Anonymous
Not applicable

Did you get a solution for this? As i am also facing the same problem.

lbendlin
Super User
Super User

If you have a Pro license you can raise a ticket with Microsoft to inquire about currently  supported packages (and their version - very important!). The documentation on that part is rather thin.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.