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
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.