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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Publish report with Python scripts

Hi guys, I am creating some reports using Python and Machine Learning, in desktop i used FBPROPHET, worked perfect in desktop but im getting an error in production not recognizing the library, how can i install or reference this library once i published it?

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi  @Anonymous  ,

 

Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

When you publish pbix file which used python script to Power BI Service, you may need to install Personal Gateway for Python to get updated data. The additional steps are the following:

 

- Install the Personal Gateway - you need a Personal Gateway installed on the machine where the file is located, and where Python is installed.

- Enable scheduled refresh for the dataset – Need to enable scheduled refresh for the dataset with Python scripts

 

You can refer to the links: install and configure gateway, Add a data source , configure the schedule refresh .

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

lbendlin
Super User
Super User

Check this page and request inclusion of your library

 

https://docs.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support

 

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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