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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.