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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
ChrisPBIUser
Helper III
Helper III

Script Runtime Error - Python Visual using Prophet

I've created a Python visual using Prophet and other libraries in Power BI Desktop, and it works fine. However, when I published the report to Power BI Service, I received the following error:

 

[S-b6c58d24-3791-4e6d-a8d4-6a92edf34701][S-b6c58d24-3791-4e6d-a8d4-6a92edf34701]ModuleNotFoundError: No module named 'prophet'

 

Is there a solution for this error, or does it mean that Prophet is not supported in Power BI Service?

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. I'm sorry but you can't use any library for python visuals. There are a set of libraries and you need to stick to them. You can't install new modules. Check the list in here: https://learn.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

3 REPLIES 3
jinzhi_zhou
New Member

Hi, I have the same issue here. The visual work in the desktop, bu popout runtime error in PowerBI Service. I'm curious, how is the runtime configured for PowerBI serivice? If the desktop version is successful, will the service version be successful?

ibarrau
Super User
Super User

Hi. I'm sorry but you can't use any library for python visuals. There are a set of libraries and you need to stick to them. You can't install new modules. Check the list in here: https://learn.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

@ibarrau thanks for your reply which wasn't what I was looking for but it is what is it.  I'll need to rewrite the Python script using one of the ones in the list, I suppose I should have checked first

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.