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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

2 REPLIES 2
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors