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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.