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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.