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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.