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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors