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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
LavinaVRovine
Frequent Visitor

Python datasource refresh via service

Hi,

 

The ability to schedule a refresh of python script as a data source should be available as stated here: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/35207536-python-on-scheduled-refr...

But I've been unable to do so. When I try to refresh python script as a data source, I get this error:

"Extension{"extensionDataSourceKind":"Python", "extenstionDataSourcePath":"Python"} / "Cannot be added to gateway".

Has anybody encountered this kind of problem? Is the feature available and I've messed something up or is it still not finished?

 

Thanks for any help

 

Pavel Klammert

2 REPLIES 2
leahschneider
Helper III
Helper III

Do you use a personal mode gateway?  I got this error because we only have enterprise gateways and you need personal mode.

v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @LavinaVRovine ,

Could you have checked that all your packages are supported in Power BI? And make sure the version of the Python is versions 2.7.15 and 3.7.1. 

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

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

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.